Template for new projects

Post here questions and problems related to oXygen frameworks/document types.
Patrik
Posts: 280
Joined: Thu Nov 28, 2013 9:32 am
Location: Hamburg/Germany
Contact:

Template for new projects

Post by Patrik »

Hi,

in my DITA custom framework I have defined templates for different map and topic types. Now I'mwondering if there is already any mechanismn that allows me to define a template for creating a new project. This should include:
- an initial folder structure
- some initial files (e.g. bookmap.ditamap, notices.dita and keys.ditamap)
- possibly (but much less important) transformation scenarios on project level

Thanks and regards,
Patrik
Radu
Posts: 9258
Joined: Fri Jul 09, 2004 5:18 pm

Re: Template for new projects

Post by Radu »

Hi Patrik,

We had some plans to allow for new project templates but somehow we never got around to doing this. I will try to enhance the issue's priority.
Until then you can probably have a certain project folder in the frameworks folder and instruct people to manually copy it somewhere else and open the XPR from it in Oxygen.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Patrik
Posts: 280
Joined: Thu Nov 28, 2013 9:32 am
Location: Hamburg/Germany
Contact:

Re: Template for new projects

Post by Patrik »

Thanks, Radu.

A pure copying of a folder would require the author to also rename some files. In fact, it would be very simple to implement an XSLT script that creates an initial structure based on some minimal user inputs (like a project title and destination folder). I guess with a plugin I could privide a button for this, right? (So far I have only experience with document type extensions).

Thanks and regards,
Patrik
Radu
Posts: 9258
Joined: Fri Jul 09, 2004 5:18 pm

Re: Template for new projects

Post by Radu »

Hi Patrik,

Yes, right, a workspace access plugin extension can add a toolbar button. When the button is pressed you can do anything you want.
Our API is Java based, the SDK can be found here:

https://www.oxygenxml.com/oxygen_sdk.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
sorin_carbunaru
Posts: 408
Joined: Mon May 09, 2016 9:37 am

Re: Template for new projects

Post by sorin_carbunaru »

Hello,

Just wanted to update this thread and let you know that the recently released Oxygen 23 supports project templates. More info at https://www.oxygenxml.com/doc/versions/ ... ect-2.html.

All the best wishes,
Sorin Carbunaru
Oxygen XML Editor
Post Reply