ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JM...@jespermadsen.com>
Subject Re: Ant Dojo Compression
Date Thu, 07 Sep 2006 20:41:41 GMT

Can I suggest you use the excellent javascript compressor ant task from LCA
Soft ( http://www.lcasoft.com/compress-js.html
http://www.lcasoft.com/compress-js.html ) which is based DOJO Rhino.

JM


Diego Chagastelles wrote:
> 
> 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. Unfortunatelly to me, it
> doesn´t work.
> 
> 
>    <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">
>>         </java>
>>     </target>
>>
> 
> 
> After that, I read that I supose to make a new Ant Task to do this job.
> What
> do you think? Could you help me with that?
> 
> Thanks,
> Diego Chagastelles
> 
> 

-- 
View this message in context: http://www.nabble.com/Ant-Dojo-Compression-tf2216629.html#a6197998
Sent from the Ant - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message