Page 1 of 1

External Ant directory?

Posted: Sat Mar 28, 2009 3:44 am
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?

Re: External Ant directory?

Posted: Mon Mar 30, 2009 10:25 am
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

Re: External Ant directory?

Posted: Tue Apr 21, 2009 12:21 pm
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