RE: Putting Classpath Into My Own Ant Task

2004-06-09 Thread Dominique Devienne
> From: Dave Westerman [mailto:[EMAIL PROTECTED] > > I am writing my own Ant task as a wrapper to a utility which I have > written. I have 3rd-party jar files which my utility needs in order to > run. The Ant manual suggests that you always allow a user of your task to > specify the classpath. I'm

ANT: Putting Classpath Into My Own Ant Task

2004-06-09 Thread Dave Westerman
I am writing my own Ant task as a wrapper to a utility which I have written. I have 3rd-party jar files which my utility needs in order to run. The Ant manual suggests that you always allow a user of your task to specify the classpath. I'm assuming I should use the builtin embedded element. But

RE: CVS locking for branch - Urgent help

2004-06-09 Thread Srikrishna . Partha
Thanks for your quick response. Can you explain on how to use those files . ? I am not a CVS administrator. Can you provide an example with ant ? Eager to receive your reply. -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 6:25 AM To: 'Ant

Re: Nested Variables in ANT?

2004-06-09 Thread Ivan Ivanov
It can (almost): ${location} If you invoke this it will echo location-dev. In you invoke this with ant -Denvir=qa, it will echo location-qa. This is a litle bit tricky. A better decision is to encapsulate your environment specific properties in properies files, say qa.properties and dev.prop

Re: Nested Variables in ANT?

2004-06-09 Thread Erik Hatcher
On Jun 9, 2004, at 10:25 AM, Mattos, John wrote: I have a variable called ${envir} and I'd like to do something like Can I do anything like this? It doesn't seem to like the nested ${} 's A cleaner solution is to have a qa.properties file and a dev.properties file. To

RE: Nested Variables in ANT?

2004-06-09 Thread Jan . Materne
http://ant.apache.org/projects.html#antcontrib > -Original Message- > From: Mattos, John [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 09, 2004 4:32 PM > To: Ant Users List > Subject: RE: Nested Variables in ANT? > > > What are the external libraries needed and where might I find th

RE: Nested Variables in ANT?

2004-06-09 Thread Mattos, John
What are the external libraries needed and where might I find them? Thanks for the help! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 10:31 AM To: [EMAIL PROTECTED] Subject: RE: Nested Variables in ANT? See FAQ http://ant.apache.org

RE: Nested Variables in ANT?

2004-06-09 Thread Jan . Materne
See FAQ http://ant.apache.org/faq.html#propertyvalue-as-name-for-property Jan > -Original Message- > From: Mattos, John [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 09, 2004 4:26 PM > To: ANT User List ([EMAIL PROTECTED]) > Subject: Nested Variables in ANT? > > > Hi All > > > >

Nested Variables in ANT?

2004-06-09 Thread Mattos, John
Hi All I'd like to use properties in a target that vary depending on a parameter sent in... for example instead of Can I do anything like this? It doesn't seem to like the nested ${} 's John