External Ant directory?

<oXygen/> general issues.
ditamot
Posts: 4

External Ant directory?

Sat Mar 28, 2009 3:44 am

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: 5820

Re: External Ant directory?

Mon Mar 30, 2009 10:25 am

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: 5820

Re: External Ant directory?

Tue Apr 21, 2009 12:21 pm

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

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest