External Ant directory?

Oxygen general issues.
ditamot
Posts: 4
Joined: Wed Sep 17, 2008 1:24 am

External Ant directory?

Post by ditamot »

I'm using an external Ant script and want to start it from a DITA transformation scenario in oXygen. I also need to add some libraries to Ant (e.g. ant-contrib). Because I'm trying to share this scenario in a project file among several users via Subversion, I'd like to share an Ant directory with the extra libraries in place.

But how to I get oXygen to use this external Ant directory when it runs my transformation scenario rather than the one in the oXygen installation directory? In the transformation scenario, I'm trying to set a JVM argument "-Dant.home=/path/to/my/ant" on the Advanced tab, but it appears that oXygen ignores it.

Is there a way to set up a transformation scenario to use an external Ant home directory?
Radu
Posts: 9041
Joined: Fri Jul 09, 2004 5:18 pm

Re: External Ant directory?

Post by Radu »

Hi,

Unfortunately the ANT_HOME is hardcoded to OXYGEN_INSTALL_DIR/tools/ant and at least for now you cannot change it to your own ANT installation.
We'll try to add this possibility in a future version.

In the meantime you can use our ANT installation and configure the transformation scenario to use additional libraries. You can do this in the "Advanced" tab by pressing the "Libraries" button.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9041
Joined: Fri Jul 09, 2004 5:18 pm

Re: External Ant directory?

Post by Radu »

Hi,

Just wanted to let you know that in Oxygen 10.3 (couple of months) you will be able to change the ANT Home directory in the same way in which you can change the Java Home in the "Advanced" tab.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply