Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 38111 invoked from network); 14 Sep 2006 13:16:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Sep 2006 13:16:44 -0000 Received: (qmail 4109 invoked by uid 500); 14 Sep 2006 13:16:39 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 4075 invoked by uid 500); 14 Sep 2006 13:16:38 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 4064 invoked by uid 99); 14 Sep 2006 13:16:38 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2006 06:16:38 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=dchagastelles@gmail.com; spf=pass Authentication-Results: idunn.apache.osuosl.org header.from=dchagastelles@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,HTML_40_50,HTML_MESSAGE,RCVD_BY_IP Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 66.249.82.231 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from ([66.249.82.231:62465] helo=wx-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 75/80-05454-A9559054 for ; Thu, 14 Sep 2006 06:15:17 -0700 Received: by wx-out-0506.google.com with SMTP id s8so2662463wxc for ; Thu, 14 Sep 2006 06:14:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sRRIT2eGtqenuWnw/LqDeBrqGfBfcQW2vx+xmiNvVJxJDXuUf0Uz2Jew/TiPnDPXe3NXX+OFYUKbb0MZ7s2vM5S//42TfaXH4PfV7DM0uNd/QbYkYJ/XyJElde4K/ruKY1ubiF7Dvh5tLq7Iz//uMWjlzWJPmbOSk2yCdupoVyQ= Received: by 10.70.30.5 with SMTP id d5mr12512339wxd; Thu, 14 Sep 2006 06:13:59 -0700 (PDT) Received: by 10.70.131.5 with HTTP; Thu, 14 Sep 2006 06:13:59 -0700 (PDT) Message-ID: <923a37710609140613i22b4249bu397d5ac371231b45@mail.gmail.com> Date: Thu, 14 Sep 2006 10:13:59 -0300 From: "Diego Chagastelles" To: "Ant Users List" Subject: Re: Ant Dojo Compression In-Reply-To: <6296070.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_85196_1518864.1158239639266" References: <923a37710609041111l9b4837m78320349d965034b@mail.gmail.com> <6197998.post@talk.nabble.com> <923a37710609090935m547db358tc431542ba88fe25c@mail.gmail.com> <923a37710609110958t4c5dec60oa8f7f08c0dd4977c@mail.gmail.com> <923a37710609111404k31f3652buf5cbc901a1ba3510@mail.gmail.com> <6296070.post@talk.nabble.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_85196_1518864.1158239639266 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I found the problem. I renamed the 'custom_rhino.jar' to 'js.jar' and everything worked fine. Thank you for the help. On 9/13/06, JM wrote: > > > 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=B4t 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 wrote: > >> > >> JM, I tried to configure the task, but with these configuration my IDE > >> doesn=B4t find the class. > >> > >> >> com.webpanes.tools.ant.taskdefs.CompressJS" > >> classpathref =3D"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=B4m 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=B4t work. > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > >> >> > > >> input=3D"WebContent/pessoa.js" output=3D" error.js" > >> > > >> outputproperty=3D"${saida}" fork=3D"true"> > >> > > >> > >> > > >> > >> > > >> > >> > > > > >> > > > > >> > > > 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 > > ------=_Part_85196_1518864.1158239639266--