ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Ant Dojo Compression
Date Tue, 05 Sep 2006 03:48:59 GMT
On Mon, 4 Sep 2006, Diego Chagastelles <>

> Hi, I´m an Ant beginner and I am trying to insert a javascript
> compression (using Dojo compression Tool "custom_rhino.jar") in my
> Ant Build File. I tried to execute the jar and generate the output
> file (the compressed javascript) using the "outputproperty"
> property.

outputproperty captures what custom_rhino.jar writes to System.out -
is this where your compressed JavaScript goes?

>    <property name="saida" location="${basedir}"></property>
> <target name="teste" depends="depends" description="HemoSysWeb">
>         <java jar="WebContent/WEB-INF/lib/custom_rhino.jar"
>             input="WebContent/pessoa.js" output="error.js"
>             outputproperty="${saida}" fork="true">

The attribute expects the name of a property while ${saida} is its
value.  Does it work if you use outputproperty="saida"?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message