Re: Silent execution of targets

2001-12-04 Thread Erik Hatcher
You can use the -quiet command-line option, or alternatively write your own BuildLogger to filter things your own way (using the -logger command-line option) Erik - Original Message - From: David Blevins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 03, 2001 11:18

Re: Reset an existing property

2001-12-04 Thread Erik Hatcher
No. Properties are immutable! Erik - Original Message - From: Holger Danske [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 1:31 AM Subject: Reset an existing property Hello Ant-User. One, I hope, simple question. Is it possible to reset an existing

Re: Reset an existing property

2001-12-04 Thread Erik Hatcher
No need to fear it. Property immutability is one of the features that makes Ant flexible and powerful, believe it or not. I'm sure if you posed your scenario to the list that someone could help you resolve it within the confines of Ant's property rules. Erik - Original Message -

RE: Substring or Substitution in ANT

2001-12-04 Thread Hannes van der Merwe
Does the property : PackageName contains the result of the pathconvert ? -Original Message- From: Li, Jerry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 3:23 AM To: 'Ant Users List' Subject: RE: Substring or Substitution in ANT Believe or not, I am using pathconvert to

RE: Substring or Substitution in ANT

2001-12-04 Thread Li, Jerry
Yeap, you've got it. Jerry -Original Message- From: Hannes van der Merwe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 5:43 AM To: 'Ant Users List' Subject: RE: Substring or Substitution in ANT Does the property : PackageName contains the result of the pathconvert ?

XML question related to build.xml development

2001-12-04 Thread Ron Coutts
Sorry for the slightly off topic question, but I thought many Ant users may find the answer helpful when setting up build.xml files. How does one 'escape' a quote character into XML. For example: property name=foo value=X / If now instead of X, I want to put X in there, (i.e. with the double

RE: Reset an existing property

2001-12-04 Thread Kurien Mathew
One, I hope, simple question. Is it possible to reset an existing property, something like property name=dir.src value=./src/ property name=dirty.src value=d:\CVS\/ property name=dir.src value=${dirty.src}/ Here is an alternative : property name=dir.src value=./src/

RE: XML question related to build.xml development

2001-12-04 Thread Carsten Lingemann
try using quot; where you want your quotes to be: property value=quot;Xquot; / you should also be able to use the single quite double quote trick: property value='X' / I hope that is what you are looking for. Carsten -Original Message- From: Ron Coutts [mailto:[EMAIL PROTECTED]]

Re: XML question related to build.xml development

2001-12-04 Thread Kyle R . Burton
Sorry for the slightly off topic question, but I thought many Ant users may find the answer helpful when setting up build.xml files. How does one 'escape' a quote character into XML. For example: property name=foo value=X / If now instead of X, I want to put X in there, (i.e. with the

Re: XML question related to build.xml development

2001-12-04 Thread Conor MacNeill
Ron Coutts wrote: Sorry for the slightly off topic question, but I thought many Ant users may find the answer helpful when setting up build.xml files. How does one 'escape' a quote character into XML. For example: property name=foo value=X / If now instead of X, I want to put X in there,

Re: newbie - if-then-else task?

2001-12-04 Thread Russ Fink
I tried the other way, using depends and targets. It is REALLY long, not succinct, and IMHO can lead to severe maintenance problems in the long run - therefore, I advocate leaving the available tag just the way it is. To do what I wanted using depends and targets, it roughly works like this

RE: Reset an existing property

2001-12-04 Thread Russ Fink
I thought this reassignment of properties was going away, or otherwise found to be undesirable? This is related to my newbie-if-then-else thread. Am I seeing where this is becoming more of a needed feature? From: Kurien Mathew [EMAIL PROTECTED] One, I hope, simple question. Is it

Re: newbie - if-then-else task?

2001-12-04 Thread Diane Holt
--- Russ Fink [EMAIL PROTECTED] wrote: I tried the other way, using depends and targets. It is REALLY long, not succinct, Well, the way you did it is a bit more roundabout than you really need. For example (this one assumes the file is required): target name=copyFile depends=noFile

Re: newbie - if-then-else task?

2001-12-04 Thread Steve Loughran
- Original Message - From: Russ Fink [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 7:19 PM Subject: Re: newbie - if-then-else task? I tried the other way, using depends and targets. It is REALLY long, not succinct, and IMHO can lead to severe maintenance

Re: Reset an existing property

2001-12-04 Thread Erik Hatcher
This is now deprecated behavior though. Properties *should* be immutable and things have tightened up quite a bit with it in the nightly builds recently, although this particular hole is still open yet a deprecation warning will be output when overriding a property using available Erik

Re: Ant 1.4.1 / JDK 1.4 beta3: '

2001-12-04 Thread Sebastien Boving
Some more on this 'Modern compiler is not available / Cannot use classic compiler' problem: I've been trying Ant 1.4, and JDK 1.3.1_01, local installations iso having these reside on a SMB server: always the same problem. I do set JAVA_HOME properly, and setting CLASSPATH to tools.jar doesn't

RE: Ant 1.4.1 / JDK 1.4 beta3: '

2001-12-04 Thread Paul Gregoire
I thought i read somewhere that -classic was no longer supported with 1.4; i noticed these items over at SUN.. The javac byte-code compiler has a new -source option that enables support for compiling source code containing assertions. Also, default compilation is for -target 1.2. Previously,

unexpected element?

2001-12-04 Thread Scott Jeppesen
Hello, I was just trying to install Velocity(which uses ant for the build) but when I run ANT I get this output Buildfile: build.xml BUILD FAILED Build.xml:73: Unexpected element path Total time: 0 seconds Any help you can give me will be appreciated. Thank you, SJ -- To

Re: Ant 1.4.1 / JDK 1.4 beta3: '

2001-12-04 Thread Sebastien Boving
Paul Gregoire wrote: I thought i read "somewhere" that -classic was no longer supported with 1.4; i noticed these items over at SUN.. Yes, but why doesn't the default 'modern' compiler work? I simply cannot get any compilation to work. Not even with JDK 1.3.1! I'm now running everything locally

RE: Ant 1.4.1 / JDK 1.4 beta3: '

2001-12-04 Thread Paul Gregoire
I dont see anything obviously wrong with your env one minor change you might want to consider is to place the %PATH% at the end of your PATH env variable. Also i construct my javac tasks like so.. path id=lib.path pathelement path=${env.CLASSPATH} / pathelement path=${env.LOCALCLASSPATH}

Ant beginner needs help

2001-12-04 Thread julien-martin
Hello, Ant is relatively new to me and I am simply trying to build a Taglib subset (dbtags) using Ant and the build.xml provided with the source code. In order to do that I open a DOS window, I changedir to the dbtags directory where build.xml is located and I run ant typing ant. I ALWAYS get

RE: Ant beginner needs help

2001-12-04 Thread William Ferguson
Julien, you need to place the jar into %ANT_HOME%\lib William Ferguson Technical Lead - Workflow Functionality Versata, Inc. Business Logic Development and Management Ph +61 03 9428 0788 Fax+61 03 9428 0786 Email [EMAIL PROTECTED] www.versata.com -Original Message- From:

Re: Ant 1.4.1 / JDK 1.4 beta3: '

2001-12-04 Thread Sebastien Boving
Paul Gregoire wrote: I dont see anything obviously wrong with your env one minor change you might want to consider is to place the %PATH% at the end of your PATH env There was a mistake in that PATH. But that's not the problem, corrected it (to

Re: unexpected element?

2001-12-04 Thread Stefan Bodewig
On Tue, 4 Dec 2001, Scott Jeppesen [EMAIL PROTECTED] wrote: Hello, I was just trying to install Velocity(which uses ant for the build) but when I run ANT I get this output You are running a very old version of Ant (1.1 or older), you may not even be aware of this as many projects ship

Re: Ant beginner needs help

2001-12-04 Thread Stefan Bodewig
On Wed, 5 Dec 2001, [EMAIL PROTECTED] wrote: a jar file containing the jdbc2_0-stdext classes is required to compile the dbtags taglib. please define the property jdbc2_0-stdext.jar in your build.properties file and ensure that the file exists. This message comes from the taglib's build

RE: Substring or Substitution in ANT

2001-12-04 Thread Hannes van der Merwe
Thanks, Jerry !!! -Original Message- From: Li, Jerry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 7:18 PM To: 'Ant Users List' Subject: RE: Substring or Substitution in ANT Yeap, you've got it. Jerry -Original Message- From: Hannes van der Merwe [mailto:[EMAIL