zipgroupfileset is quite cool

2002-05-02 Thread Scott Ellsworth
Hi, all. I am using 1.5beta1, and am quite happy with it thus far. The biggest win for me was the zipgroupfileset - it has made my life much easier, as I already have the include information in a form that works pretty well. This let me get rid of all sorts of tedious targets, properties, a

RE: How do I specify multiple Windows directories in one statement?

2002-05-02 Thread Diane Holt
--- Daniel Barclay <[EMAIL PROTECTED]> wrote: > Won't that fail if basedir is set to something like "C:\xyz"?\ "Fail" in what sense? Where? > When you refer to "paths" above, do you mean pathnames or > search paths? I mean any attribute that expects a path -- eg., 'classpath', 'filepath', 'pat

Re: [newbie] How to display values pointed to by refid

2002-05-02 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: > This is a newbie question. In a build.xml (tomcat), pathelement and > fileset are used to create a path with id of "compile.classpath" and > used in many places. How do I display the values generated? compile.classpath = ${whatever} Diane = ([EMAIL PROTE

RE: signing jar only if it has been updated

2002-05-02 Thread Michael_Luu
thanks for the response. this assumes there are two files. the original jar and the signed jar. i guess it wouldn't be possible with two seperate files. i was hoping that there was a feature that i may have missed to accomplish this with signjar. :) michael -Original Message- From: D

[newbie] How to display values pointed to by refid

2002-05-02 Thread mls
This is a newbie question. In a build.xml (tomcat), pathelement and fileset are used to create a path with id of "compile.classpath" and used in many places. How do I display the values generated? This on an NT system. No luck in using echo or exec [to run an external bat file] in the build.xm

RE: signing jar only if it has been updated

2002-05-02 Thread Dominique Devienne
Right after you perform signjar, touch a file that acts as the timestamp for the last time you performed signjar. Then have your signjar target depend on a check-jar-up2date-4signjar target that uses between the jar and the timestamp file, setting a property if it need (or not) updating, and have

signing jar only if it has been updated

2002-05-02 Thread Michael_Luu
would anyone out there know how to accomplish this? it seems that the signjar task signs a jar file regardless if it has changed. this takes quite a long time if the jar file is large. thanks, mike -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: How do I specify multiple Windows directories in one statement?

2002-05-02 Thread Daniel Barclay
> From: Diane Holt [mailto:[EMAIL PROTECTED]] > As long as you're referencing the property in attributes that > deal with > paths, you shouldn't need to worry about semicolon vs. colon > or backslash > vs. foreslash. (And if you follow Dominique's suggestion to > build up the > value based

RE: post target ?

2002-05-02 Thread GOMEZ Henri
Crossed mails ;) Found it on my train - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-Original Message- >From: GOMEZ Henri

RE: How do I specify multiple Windows directories in one statement?

2002-05-02 Thread Diane Holt
--- Eddie Bernard <[EMAIL PROTECTED]> wrote: > how about a semicolon (;) instead of a colon (:) As long as you're referencing the property in attributes that deal with paths, you shouldn't need to worry about semicolon vs. colon or backslash vs. foreslash. (And if you follow Dominique's suggestio

RE: post target ?

2002-05-02 Thread GOMEZ Henri
Ok, I used antcall ... ... Regards - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-Or

junit task isnt finished by the time it hands over to the next task

2002-05-02 Thread Hunt, Bryan
Hello All, I am having an unusual problem with the junit, junitreport and mimemail tasks. I believe that it may expose a threading problem. DESCRIPTION: I have two ant targets named test and mailreport. test performs a Junit batch test and then a junitreport on the generated xml files. mailrep

Re: calling another build script with the XML logger

2002-05-02 Thread Diane Holt
--- Russ Freeman <[EMAIL PROTECTED]> wrote: > I'm presently having to use a .cmd script to kick-off build scripts with > the XML logger (using the command-line). Is there a way to do this from > another ant script? Set the (new to 1.5) ANT_ARGS env var. Diane = ([EMAIL PROTECTED]) __

RE: building with 3rd party libraries

2002-05-02 Thread Joe Celentano
Steve Loughran wrote: > > First, when creating a war or jar file, do you include all 3rd party > > libraries necessary for your application to run/compile or not? > > yes for a WAR, no for a jar > Our app is is ultimately packaged in an EAR. I've been including all dependent 3rd party libs in th

RE: post target ?

2002-05-02 Thread Dominique Devienne
Well, you could do: or The - in front of target name -do-targertx makes it difficult (impossible ?) to call -do-targertx from the command line. The public targertx (a meta-target really) always performs targety after a successful targetx. Is that what you wanted? -

Re: OT: building with 3rd party libraries

2002-05-02 Thread Scott Ellsworth
On Thursday, May 2, 2002, at 07:43 AM, John Gregg wrote: > First, when creating a war or jar file, do you include all 3rd party > libraries necessary for your application to run/compile or not? We keep those needed to compile under source control in a libs directory. Were we keeping the sour

RE: post target ?

2002-05-02 Thread GOMEZ Henri
Ok, but no way from inside build.xml ? - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-Original Message- >From: Dominique Devien

RE: post target ?

2002-05-02 Thread GOMEZ Henri
Yes, I could but what I'd like is to execute a clean target after a package target. And people could want to make a clean WITHOUT having first to make package ! - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_

RE: post target ?

2002-05-02 Thread Dominique Devienne
Or do "ant -f build.xml targetx targety" ;-) --DD -Original Message- From: Aaron Hoyt [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 11:08 AM To: Ant Users List Subject: RE: post target ? I believe that what you want is to make targety depend on targetx. Aaron Hoyt ph: 816.2

Re: "if" task - ant-contrib needs nightlies :-)

2002-05-02 Thread Scott Ellsworth
On Thursday, May 2, 2002, at 12:09 AM, Stefan Bodewig wrote: > On Tue, 30 Apr 2002, Scott Ellsworth <[EMAIL PROTECTED]> wrote: > >> I suspect that the resistance to ant-contrib would be lowered if >> there were a downloadable zip or gz file with the jar and the >> properties neatly boxed up. >

RE: post target ?

2002-05-02 Thread Aaron Hoyt
I believe that what you want is to make targety depend on targetx. Aaron Hoyt ph: 816.218.2951 VML 250 Richards Rd Suite 255 Kansas City, MO 64116 > -Original Message- > From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 02, 2002 10:52 AM > To: Ant Users List > Subjec

post target ?

2002-05-02 Thread GOMEZ Henri
A very basic question : Did there is a way to define post targets ? ie: when targetx is complete, exec targety ? - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39

Re: How do I specify multiple Windows directories in one statement?

2002-05-02 Thread Steve Loughran
- Original Message - From: "Daniel Barclay" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 8:17 AM Subject: RE: How do I specify multiple Windows directories in one statement? > > > > > From: Daniel Barclay > > > > > That just for properties f

Re: building with 3rd party libraries

2002-05-02 Thread Steve Loughran
- Original Message - From: "John Gregg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 7:43 AM Subject: OT: building with 3rd party libraries > Hi all. > > I have a couple of off-topic questions that I'm sure you face all the time. > > First, when creating a wa

RE: How do I specify multiple Windows directories in one statement?

2002-05-02 Thread Dominique Devienne
SCRATCH all that. ANT deal with backslash like a champ, doesn't use it as an escape character, and path/location of are equivalent in the example below. Not like experimentation before talking ;-) --DD P:\org_apache\antx>ant -f backslash.xml Buildfile: backslash.xml test: [echo] This is a

Re: Adding jars to classpath without resorting to CLASSPATH env var

2002-05-02 Thread Stefan Bodewig
On Thu, 2 May 2002, Russ Freeman <[EMAIL PROTECTED]> wrote: > ..does that mean I can specify anyway? I thought I had > tried that without success. > > Not sure I understand... I litteraly mean . before you use the task the first time. The classname above is for 1.5, BTW. Stefan -- To

RE: How do I specify multiple Windows directories in one statement?

2002-05-02 Thread Daniel Barclay
> From: Daniel Barclay > > > That just for properties file, right? (Does Ant tract backslashes > specially anywhere else?) ACK! "That just" -> "That's just" "tract" -> "treat" Daniel -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Adding jars to classpath without resorting to CLASSPATH env var

2002-05-02 Thread Russ Freeman
..does that mean I can specify anyway? I thought I had tried that without success. Not sure I understand... -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: 02 May 2002 16:01 To: [EMAIL PROTECTED] Subject: Re: Adding jars to classpath without resorting to CLASSP

Re: Adding jars to classpath without resorting to CLASSPATH env var

2002-05-02 Thread Stefan Bodewig
On Thu, 2 May 2002, Russ Freeman <[EMAIL PROTECTED]> wrote: > Is there a way to add jars to the classpath before calling a task > such as the mail task that doesnt support the element? it explicitly using a nested - with the drawback that the task definition itself must not be on your CLASSPA

RE: How do I specify multiple Windows directories in one statement?

2002-05-02 Thread Daniel Barclay
> From: Dominique Devienne [mailto:[EMAIL PROTECTED]] > Then it must be the ANT one ;-) --DD That just for properties file, right? (Does Ant tract backslashes specially anywhere else?) > -Original Message- > From: Daniel Barclay [mailto:[EMAIL PROTECTED]] > ... > > > > From: D

RE: building with 3rd party libraries

2002-05-02 Thread Russ Freeman
Depends who you ask :) Here's what I do:- 1) when creating a war or jar file, do you include all 3rd party libraries necessary for your application to run/compile or not? No, I either ship/install 3rd-party libs with mine (where the license allows it) or just specifiy the dependency when shippi

OT: building with 3rd party libraries

2002-05-02 Thread John Gregg
Hi all. I have a couple of off-topic questions that I'm sure you face all the time. First, when creating a war or jar file, do you include all 3rd party libraries necessary for your application to run/compile or not? The libraries needed to run and those needed to compile aren't always the same

RE: How do I specify multiple Windows directories in one statement?

2002-05-02 Thread Dominique Devienne
Then it must be the ANT one ;-) --DD -Original Message- From: Daniel Barclay [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 9:36 AM To: Ant Users List Subject: RE: How do I specify multiple Windows directories in one statement? > From: Dominique Devienne [mailto:[EMAIL PROTEC

RE: How do I specify multiple Windows directories in one statement?

2002-05-02 Thread Daniel Barclay
> From: Dominique Devienne [mailto:[EMAIL PROTECTED]] > ... back slash is the XML escape character... Where did you get that idea? Daniel -- To unsubscribe, e-mail: For additional commands, e-mail:

calling another build script with the XML logger

2002-05-02 Thread Russ Freeman
OK, peeps, I've been storing these questions up for a while... :) I'm presently having to use a .cmd script to kick-off build scripts with the XML logger (using the command-line). Is there a way to do this from another ant script? Thanks --- Outgoing mail is certified Virus Free. Checked

Adding jars to classpath without resorting to CLASSPATH env var

2002-05-02 Thread Russ Freeman
Is there a way to add jars to the classpath before calling a task such as the mail task that doesnt support the element? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002

RE: How do I specify multiple Windows directories in one statement?

2002-05-02 Thread Dominique Devienne
Just do it the right ANT way, by using relative directories, , and convert it to a property (at least IMHO): 1) Assuming your build file is in C:\project\ The location attribute of is relative to basedir of when the specified path in not absolute. 2) If your

Re: javadoc not working 1.5beta1

2002-05-02 Thread Stefan Bodewig
On Thu, 2 May 2002, Russ Freeman <[EMAIL PROTECTED]> wrote: > It seems that since installing jdk 1.4 javadoc no longer works:- Could you give us the output of ant -verbose please? Thanks Stefan -- To unsubscribe, e-mail: For additional commands, e-mail:

javadoc not working 1.5beta1

2002-05-02 Thread Russ Freeman
WinXP Pro jdk 1.4 ant 1.5beta1 It seems that since installing jdk 1.4 javadoc no longer works:- at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.(Win32Process.java:63) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime

Re: Ant 1.5 Docu typo

2002-05-02 Thread Magesh Umasankar
Good catch! I have fixed it now. Thanks! Cheers, Magesh ** * Experience: The name men give to their mistakes. * ** - Original Message - From: "Juergen Damke" <[EMAIL PROTECTED]> To

Ant 1.5 Docu typo

2002-05-02 Thread Juergen Damke
In the loadfile section see: Load a file, don't fail if it is missing (a message is printed, though) <= 't' at the end Mit freundlichen Grüßen / With best regards Jürgen Damke __

Re: Duplicate class problem : Conor MacNeill

2002-05-02 Thread Stefano Mancarella
- Original Message - From: "Irfan Niaz" <[EMAIL PROTECTED]> Subject: Duplicate class problem : Conor MacNeill Just a few hints > Message > compileMol: > [javac] Compiling 93 source files to C:\MOL\build\WEB-INF\classes > [javac] C:\MOL\src_v1.1\java\com\koo\mol\user\UserSetti

Possible threading problem junitreport junit windows anyone else ...

2002-05-02 Thread Hunt, Bryan
Hello All, I am having an unusual problem with the junit, junitreport and mimemail tasks. I believe that it may expose a threading problem. DESCRIPTION: I have two ant targets named test and mailreport. test performs a Junit batch test and then a junitreport on the generated xml files. mailrep

Re: "if" task

2002-05-02 Thread Douglas WF Acheson
It just so happens that I have both an if and a foreach task :-) I have primarilly used them on development projects in the past and have not provided much support for the tasks. If you want the code please let me know and I will give them to you. Douglas WF Acheson --- Steve Loughran <[EMAIL