Using ant transformations from DITA-OT Oxygen Framework outs
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 15
- Joined: Tue Mar 15, 2011 12:56 pm
Using ant transformations from DITA-OT Oxygen Framework outs
I'm trying to use the ant transformations of the built-in DITA-OT framework, which work fine inside Oxygen, outside the editor, using CLI.
Like.
I previously used a manually installed dita-ot environment, and this used to work well, once you set all necessary env variables, PATH and CLASSPATH.
The question is: what do you have to do to use the Oxygen DITA-OT framework out of Oxygen ? What environment variables do you have to set ? Where should they point to ? etc.
Thanks,
NB: The purpose is: some of the transformation must be handled on an svn repo server, which would build the latest dita doc every night, etc., so I really need to get this going;
Like
Code: Select all
ant -f mybuildfile.xml mytarget
I previously used a manually installed dita-ot environment, and this used to work well, once you set all necessary env variables, PATH and CLASSPATH.
The question is: what do you have to do to use the Oxygen DITA-OT framework out of Oxygen ? What environment variables do you have to set ? Where should they point to ? etc.
Thanks,
NB: The purpose is: some of the transformation must be handled on an svn repo server, which would build the latest dita doc every night, etc., so I really need to get this going;
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Using ant transformations from DITA-OT Oxygen Framework outs
Hi,
Each DITA Open Toolkit installation has startup scripts like:
startcmd.bat and startcmd.sh
which set the necessary class path and environmental variables and then launch ANT.
Even the DITA OT which comes bundled with Oxygen (in the OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT) has these scripts present and you can start looking inside them.
Regards,
Radu
Each DITA Open Toolkit installation has startup scripts like:
startcmd.bat and startcmd.sh
which set the necessary class path and environmental variables and then launch ANT.
Even the DITA OT which comes bundled with Oxygen (in the OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT) has these scripts present and you can start looking inside them.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 15
- Joined: Tue Mar 15, 2011 12:56 pm
Re: Using ant transformations from DITA-OT Oxygen Framework outs
Alright,
I have some leads then, but still doesn't work.
I'm still getting java classpath errors...
While looking at the shipped build.xml file in the /DITA-OT dir, it seems it contains a bunch of Oxygen hacks...
Is this the place to look ?
I have some leads then, but still doesn't work.
I'm still getting java classpath errors...
While looking at the shipped build.xml file in the /DITA-OT dir, it seems it contains a bunch of Oxygen hacks...
Is this the place to look ?
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Using ant transformations from DITA-OT Oxygen Framework outs
Hi,
Yes, the DITA Open Toolkit bundled with Oxygen contains some patches and improvements. It also does not contain some libraries which usually come with an external DITA Open Toolkit (as it uses the libraries directly from Oxygen).
If you want an unmodified version you can download it directly from the DITA Open Toolkit web site:
http://sourceforge.net/projects/dita-ot ... 20Release/
You can get a full easy-install version.
Regards,
Radu
Yes, the DITA Open Toolkit bundled with Oxygen contains some patches and improvements. It also does not contain some libraries which usually come with an external DITA Open Toolkit (as it uses the libraries directly from Oxygen).
If you want an unmodified version you can download it directly from the DITA Open Toolkit web site:
http://sourceforge.net/projects/dita-ot ... 20Release/
You can get a full easy-install version.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service