SV: Ant design question(s) - #1

2002-03-18 Thread Christian Holmqvist, IT, Posten
Hi! > Best to explain by example. I have a root directory, > underneath which are > two subdirs, one for java and one for native code. I have 3 separate > build.xml files, one in each directory. The way I have > written it now, the > root-level build.xml sets some environment variables that the

Re: How to find available targets in a build file

2002-03-18 Thread Steve Loughran
- Original Message - From: "Shah, Lokesh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 5:07 PM Subject: How to find available targets in a build file >Is there any way I can check if a target is available in a build file? not yet >I am trying to call a targ

?? When is a "merge" Mapper Useful ??

2002-03-18 Thread Tony LaPaso
I've been reading about the "mapper" elements. I don't see, however, why I would ever need a "merge" mapper. Can anyone offer a good case for a "merge" mapper? Thx. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Return code from Ant

2002-03-18 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: > *Sorry* to bring this up again, but I am not sure that that will stop my > makefile running? Won't it just echo "bad bongos" and carry on to the > next step? > > (please note, again, my knowledge of makefiles is very minimal!) Well, this is pretty off-topic at thi

How to find available targets in a build file

2002-03-18 Thread Shah, Lokesh
Hi, Is there any way I can check if a target is available in a build file? I am trying to call a target in one build file from another build file. I want to make the call only if it is defined in the second build file otherwise print a warning and move on. Regards, Lokesh

Re: Return code from Ant

2002-03-18 Thread dhay
Hi Diane, *Sorry* to bring this up again, but I am not sure that that will stop my makefile running? Won't it just echo "bad bongos" and carry on to the next step? (please note, again, my knowledge of makefiles is very minimal!) Cheers, David Diane Holt <[EMAIL PROTECTED]> on 03/15/200

RE: gnoob question: if

2002-03-18 Thread Diane Holt
--- Michael Laccetti <[EMAIL PROTECTED]> wrote: > It's a bit more in depth than that. I actually was looking for > something embedded within a target block. I pass in a parameter, and > based on it's value, I want to copy certain files only. Anything fit > the bill? The and tags also allow f

RE: Ant design question(s) - #2

2002-03-18 Thread Ylan Segal
john, > I want to have a "help" target that will list out all the possible targets > in the build.xml. Have your tried running: ant -projecthelp This will do what you want, and requires no effort on your part. If you add a description attribute to your targets they will be printed. Ylan Segal.

Re: Ant design question(s) - #2

2002-03-18 Thread David . Bailey
1) Put your properties in a file called 'antproject.properties' (or something), and then have all of your build files reference it using in each build file. Be careful, though, because if you write it like I just did, ANT will look for a file called "antproject.proper

Re: Ant design question(s) - #2

2002-03-18 Thread stephan beal
On Monday 18 March 2002 19:11 pm, John Guthrie wrote: > I want to have a "help" target that will list out all the possible targets > in the build.xml. There are three ways I think I could implement it, from > easiest-and-ugliest getting more elegant (my opinion) but also requiring > more work. Aga

Re: Ant design question(s) - #1

2002-03-18 Thread stephan beal
On Monday 18 March 2002 19:11 pm, you wrote: > I am converting some old makefile-based builds to ant and I have a couple > of design questions... here's the first you and i have had the same task, so i'm sure we've made some of the same "mistakes"... > Best to explain by example. I have a root

RE: Ant design question(s) - #2

2002-03-18 Thread Hensley, Richard
What about ant -projecthelp? This prints the main targets (those with descriptions) and subtargets. -Original Message- From: Guthrie, John [ mailto:[EMAIL PROTECTED] ] Sent: Monday, March 18, 2002 10:11 AM To: Ant Users List (E-mail) Subject: Ant design q

Ant design question(s) - #1

2002-03-18 Thread Guthrie, John
I am converting some old makefile-based builds to ant and I have a couple of design questions... here's the first Best to explain by example. I have a root directory, underneath which are two subdirs, one for java and one for native code. I have 3 separate build.xml files, one in each directory.

Ant design question(s) - #2

2002-03-18 Thread Guthrie, John
I am converting some old makefile-based builds to ant and I have a couple of design questions... here's the second I want to have a "help" target that will list out all the possible targets in the build.xml. There are three ways I think I could implement it, from easiest-and-ugliest getting more

RE: How can we run perl script from ant?

2002-03-18 Thread Andre Susantin
Diane, I downloaded bsf-bin-2_2.zip already, and got the bsf.jar, but not adding path to /bsf-2_2/lib/win32. Thank you it works now. ;) -andre -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 6:06 PM To: Ant Users List Subject: RE: How can we ru

RE: gnoob question: if

2002-03-18 Thread Michael Laccetti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's a bit more in depth than that. I actually was looking for something embedded within a target block. I pass in a parameter, and based on it's value, I want to copy certain files only. Anything fit the bill? - -Original Message- From:

RE: core dump

2002-03-18 Thread Jane.Shen
I build wiht ant on SunOS 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-80 Thanks, Jane -Original Message- From: ext danch [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 12:17 PM To: Ant Users List Subject: Re: core dump Most likely an issue with the JVM. What platform are you

Zip task does not store file size

2002-03-18 Thread Christoph Behnke
Using the ant zip task if have some compatibility problems compared with using winzip or an other zip tool. The zip task does not store the uncompressed file size in the generated zip file. This is not mandatory in zip file format but other tools like winzip are storing the uncompressed file size

new Task: CVS subclass to update to specific versions...

2002-03-18 Thread stephan beal
hey, fellas, Some of you may have noticed my rant about updating CVS'd files to specific versions using ant. i've created a subclass of the standard Cvs task which behaves identically, plus adds the following features: Three new properties: revisionList="1.3 path/to/file,1.5 path/to/file2" re