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 Wed, 13 Sep 2006 22:26:33 GMT

Diego,

Have you downloaded the latest custom rhino jar from DOJO?
The only think I can think of is that you are using an old version that
doesn't have the right compressScript method signature used by the custom
ant task.

JM


Diego Chagastelles wrote:
> 
> JM, the last problem I solved. Now, I don´t know what to do with this
> problem:
> 
> BUILD FAILED
> java.lang.NoSuchMethodError: org.mozilla.javascript.Context.compressScript
> (Lorg/mozilla/javascript/Script;I)Ljava/lang/String;
> 
> Do you know what it might be?
> 
> 
> On 9/11/06, Diego Chagastelles <dchagastelles@gmail.com> wrote:
>>
>> 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 < dchagastelles@gmail.com> wrote:
>> >
>> > Thank you! Thats what I was looking for!
>> >
>> >
>> > On 9/7/06, JM < j@jespermadsen.com> 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: user-unsubscribe@ant.apache.org
>> > > For additional commands, e-mail: user-help@ant.apache.org
>> > >
>> > >
>> >
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Ant-Dojo-Compression-tf2216629.html#a6296070
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