JM, I tried to configure the task, but with these configuration my IDE doesn´t find the class.
<taskdef name="compress-js" classname=" com.webpanes.tools.ant.taskdefs.CompressJS" classpathref ="myclasspath"/> Message: "Reference not found" the classpathref property is not required. Should I keep it? On 9/9/06, Diego Chagastelles <[EMAIL PROTECTED]> wrote:
Thank you! Thats what I was looking for! On 9/7/06, JM <[EMAIL PROTECTED]> wrote: > > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >