RE: if/else in ANT ???

2003-09-30 Thread Shailesh Sharma
correct me if iam wrong..suppose i have some properties like this: -- -- -- -- now when i run prompt>ant a cc and prompt>ant b cc would it work ??? Vikas Phonsa <[EMAIL PROTECTED]> wrote: This tar

RE: Manual verbiage: calling vs dependency

2003-09-30 Thread Jan . Materne
Main reason for "depends" is: ant is not a scripting language. Never designed for that. A buildfile should describe the build process and its "dependencies". Another "side-effect" is that a dependend target is only executed once. --> common is executed once (when "ant main") when "ant o

RE: Directory names (looping thru property file )

2003-09-30 Thread Jan . Materne
I had written an explanation in the FAQ on jGuru: http://www.jguru.com/faq/view.jsp?EID=1099123 "Evaluating properties based on other properties" You need the code described there, so I recommend reading that. I don´t know the "Ashkelon". Jan > Thanks again. I'm working on ur suggestions.

if/else in ANT ???

2003-09-30 Thread Shailesh Sharma
Hi, could somebody tell me how to write an if/else in ANT. This is what i need to do: Iam setting 3 properties like this: and then in one of my targets ..i need to do something like this: if(check which ONE property among the above 3 is NOT null) { // do something like

Re: Adding vizant tag to ant tag set?

2003-09-30 Thread Jacob Kjome
At 05:07 PM 9/30/2003 -0700, you wrote: If you have made work in your build.xml files, and have any tips for me, please send me clues. Sure, how about this... 1. Download: http://umn.dl.sourceforge.net/sourceforge/vizant/vizant.jar 2. Either put vizant.jar in ANT_HOME/lib or create a property c

Adding vizant tag to ant tag set?

2003-09-30 Thread Dan Earfull
__ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.comHi, I'm working with Ant1.5 (according to $ANT_HOME/welcome.html). I'm trying to extend the tag set of ant. I've never done it before. The tag I want to add is

RE: if/else in ANT ???

2003-09-30 Thread Vikas Phonsa
This target would execute only if newProp has been set. Using the attribute "unless" would do the opposite i.e target would execute if the property has not been set. Doesn't matter if the property has an empty string or space or whatever. If you see the ant manual you'll get more details on thi

RE: Passing file list to a java program

2003-09-30 Thread Jan . Materne
? will only insert the " between two entries, not at the beginning and not at the end. Jan > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 30, 2003 11:51 AM > To: [EMAIL PROTECTED] > Subject: RE: Passing file list to a java program

RE: Passing file list to a java program

2003-09-30 Thread Thomas SMETS
if I change the to I get : [java] 0 : C:\Program [java] 1 : Files\IBM\Application [java] 2 : Developer\workspace\UseCase1\part [java] 3 : A\UC1_CreateDSLAM_24-9-03-7pm.ilr [java] 4 : C:\Program [java] 5 : Files\IBM\Application [java] 6 : Develo

RE: Passing file list to a java program

2003-09-30 Thread Jan . Materne
? Jan > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 30, 2003 11:37 AM > To: [EMAIL PROTECTED] > Subject: RE: Passing file list to a java program > > > > Was Netscape mail faster I would have respond sooner too :-)) > YES I tried

RE: Passing file list to a java program

2003-09-30 Thread Thomas SMETS
Was Netscape mail faster I would have respond sooner too :-)) YES I tried & retried (after you asked)... returns me : [echo] Test [java] 0 : C:\Program Files\IBM\Application Developer\workspace\UseCase1\part A\UC1_CreateDSLAM_24-9-03-7pm.ilr C

RE: Passing file list to a java program

2003-09-30 Thread Jan . Materne
Have you tried ? Jan > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 30, 2003 11:27 AM > To: [EMAIL PROTECTED] > Subject: Passing file list to a java program > > > Hi, > In our automated build we need to run a script from a third >

Passing file list to a java program

2003-09-30 Thread Thomas SMETS
Hi, In our automated build we need to run a script from a third party which works in the form : java -cp ${classpath} file_to_process_1 \ file_to_process_2 \ file_to_process_3 \ file_to_process_4 \ file_t

AW: complete stacktrace

2003-09-30 Thread Antoine Lévy-Lambert
Run your ant build in verbose mode and see if you now get your stack trace : ant -verbose ... try also to set fork="true" for your task to see if it helps. Cheers, Antoine -Ursprüngliche Nachricht- Von: Heike Franosch [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 30. September 2003 09:

AW: "Bad file descriptor" in image task

2003-09-30 Thread Antoine Levy-Lambert
My experience has been that JAI needs motif native libraries on Solaris with JDK 1.4. I do not know how this transposes to your environment. You might want to run ant -verbose or ant -debug to get a more informative stack trace of the problem which you encounter. Cheers, Antoine -Ursprungli