Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 93200 invoked from network); 25 May 2004 10:27:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 May 2004 10:27:43 -0000 Received: (qmail 78578 invoked by uid 500); 25 May 2004 10:28:17 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 78449 invoked by uid 500); 25 May 2004 10:28:15 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 78435 invoked by uid 98); 25 May 2004 10:28:15 -0000 Received: from peter.reilly@corvil.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(213.94.219.177):. Processed in 0.704258 secs); 25 May 2004 10:28:15 -0000 X-Qmail-Scanner-Mail-From: peter.reilly@corvil.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(213.94.219.177):. Processed in 0.704258 secs) Received: from unknown (HELO corvil.com) (213.94.219.177) by hermes.apache.org with SMTP; 25 May 2004 10:28:14 -0000 Received: from [172.18.1.171] (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id i4PARCEt086054 for ; Tue, 25 May 2004 11:27:13 +0100 (IST) (envelope-from peter.reilly@corvil.com) Message-ID: <40B31F7C.9070602@corvil.com> Date: Tue, 25 May 2004 11:27:08 +0100 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.6 (X11/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: UpperCase or similar task References: <4421DECD1639A149826D84B0F3EE8F1F0825ED8E@fmg-op.opal.i-flex.com> In-Reply-To: <4421DECD1639A149826D84B0F3EE8F1F0825ED8E@fmg-op.opal.i-flex.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You must not set the ANT_CLASSPATH or the CLASSPATH before using ant. The ant bat or sh script will set these correctly base on ANT_HOME. Peter vinod.nayak@iflexsolutions.com wrote: >I have bsf.jar in $ANT_HOME/lib > >-----Original Message----- >From: Ivan Ivanov [mailto:rambiusparkisanius@yahoo.com] >Sent: Tuesday, May 25, 2004 3:50 PM >To: Ant Users List >Subject: RE: UpperCase or similar task > > >Hi, > >Do you have BSF[1] in $ANT_HOME/lib (or in >$HOME/.ant/lib)? According to [2] bsf.jar is needed by >scripts tasks. > >HTH Ivan > >[1]http://jakarta.apache.org/bsf/ >[2]http://ant.apache.org/manual/install.html#librarydependencies > >--- vinod.nayak@iflexsolutions.com wrote: > > >>Hi Jan, >> >>Could you please help me in this.. >> >>> >> >> >classname="org.apache.tools.ant.taskdefs.optional.script.ScriptDef" > > >>/> >> >>>language="javascript"> >> >> >> >> >> >project.setProperty("bean-name",attributes.get("bean-set")); > > >> >> >> >> >param="ebean-set"> >> >> >> >> >> >> >> >>after calling the 'EntityBeans' target i am getting >>this error. >> >>EntityBeans: >> [echo] Rco >> >>BUILD FAILED >>java.lang.NoSuchMethodError >> >>This is my ant classpath. >> >> >> >ANT_CLASSPATH=$ANT_HOME/lib/ant.jar:$ANT_HOME/lib/ant-launcher.jar:$ANT_HOME/lib/xercesImpl.jar:$ANT_HOME/lib/xml-apis.jar:$ANT_HOME/lib/js.jar:$ANT_HOME/lib/bsf.jar:$ANT_HOME/lib/ant-contrib.jar:$ANT_HOME/lib/ant-apache-bsf.jar:$JAVA_HOME/lib/tools.jar > > >>Thanks in advance, >>Vinod. >> >>-----Original Message----- >>From: Jan.Materne@rzf.fin-nrw.de >>[mailto:Jan.Materne@rzf.fin-nrw.de] >>Sent: Tuesday, May 25, 2004 2:40 PM >>To: user@ant.apache.org >>Subject: RE: UpperCase or similar task >> >> >>There is no task. >> >>But you can use the java.lang.String.toUpperCase() >>method: >> >> >> >> >> >>project.setNewProperty(attributes.get("property"), >>attributes.get("value").toUpperCase()); >> >> >> >> one = ${one} >> >> >> one = ${one} >> >> >> two = ${two} >> >>[echo] one = ONE >>[echo] one = ONE <----- properties are immutable >>(therefore use of >>set_New_Property() ) >>[echo] two = TWO >> >> >>Jan >> >> >> >>>-----Original Message----- >>>From: skalsky@oksystem.cz >>> >>> >>[mailto:skalsky@oksystem.cz] >> >> >>>Sent: Tuesday, May 25, 2004 10:53 AM >>>To: user@ant.apache.org >>>Subject: UpperCase or similar task >>> >>> >>>Hello there, >>> I have a problem with strings in ANT. Is there >>> >>> >>any task >> >> >>>to make upperCase (or lowerCase) of string in ANT >>> >>> >>? I can't >> >> >>>find anything in the apache.org :( >>> >>> Thanx 4 your help. >>> Milan >>> >>> >>> >>> >>> >--------------------------------------------------------------------- > > >>>To unsubscribe, e-mail: >>> >>> >>user-unsubscribe@ant.apache.org >> >> >>>For additional commands, e-mail: >>> >>> >>user-help@ant.apache.org >> >> >> >> >--------------------------------------------------------------------- > > >>To unsubscribe, e-mail: >>user-unsubscribe@ant.apache.org >>For additional commands, e-mail: >>user-help@ant.apache.org >> >> >> > > > > > >__________________________________ >Do you Yahoo!? >Friends. Fun. Try the all-new Yahoo! Messenger. >http://messenger.yahoo.com/ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org