[oXygen-user] Is it possible, when doing a DITA OT transform, to specify ant parameters?

Steven Anderson
Wed Jul 1 11:02:53 CDT 2009

Brilliant, and works like a charm.  I think this is more of a "undocumented feature" than a hack :-)


-----Original Message-----
From: Radu Coravu [mailto:] 
Sent: Wednesday, July 01, 2009 5:14 AM
To: Steven Anderson
Subject: Re: [oXygen-user] Is it possible, when doing a DITA OT transform, to specify ant parameters?

Hi Steve,

When editing the scenario the "Parameters" tab can indeed be used to 
add/edit parameters of type "-Dname=value" and send them to the ANT 
command line.
Indeed we need an additional text field in the "Advanced" tab in which 
various other parameters can be passed.

In the meantime I can give you a workaround.
In the "Custom build file" textfield set the following:
${frameworksDir}\dita\DITA-OT\build.xml" -logger 
org.apache.tools.ant.XmlLogger -logfile buildlog.xml"
The value will be entirely surrounded in double quotes so that is why 
the quotes must be matched in the value.
This "hack" should accomplish what you need.


Radu Coravu 
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Steven Anderson wrote:
> I like to use ant's XmlLogger as a logger for my ant builds. I think 
> that's the last piece keeping me from really utilizing the DITA OT 
> transforms from within oXygen, now that I can specify my own ant home. 
> I still don't see any way to specify ant parameters as part of the 
> scenario, though, only JVM args. What I'd like to see is a text box, 
> just like the one for JVM args, for ant params, so I could add 
> "-logger org.apache.tools.ant.XmlLogger -logfile buildlog.xml" to my 
> ant command.
> Is there a way to do that already and I'm missing it?
> Steve
> ps - I don't post often, but I use oXygen every day. It is, really, 
> one of the best tools I have ever used. The rate that you add new 
> features and functionality is astounding, and, often, it seems like 
> you are reading my mind. When I run into a problem and I think, "I 
> wish oXygen could do this ...." it often already does, or the feature 
> gets added in the next point release. If y'all have a blog where I can 
> donate to a "Buy the developers a beer" tip jar, send it on to me, I 
> owe you.
> ------------------------------------------------------------------------
> _______________________________________________
> oXygen-user mailing list
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user

More information about the oXygen-user mailing list