AW: conditional logic and user input

2009-07-02 Thread Jan.Materne
You could also make the logic easier: ... ... Jan >-Ursprüngliche Nachricht- >Von: Rick Genter [mailto:rgen...@silverlink.com] >Gesendet: Donnerstag, 2. Juli 2009 17:09 >An: Ant Users List >Cc: Rick Genter >Betreff: RE: conditional logic and user input > >> From: dave_davis [m

RE: uptodate when it isn't

2009-07-02 Thread Ina, Antoine
Hello All, I am a new ant user and I need help solving the following problem: I have 3 microsoft visual studio solution files A.sln, B.sln I'd like to be able to say in ant that - solution A--->depends on solution B - solution A--->depends on solution C - build B only if B changed. - do not build

Re: uptodate when it isn't

2009-07-02 Thread Dominique Devienne
On Thu, Jul 2, 2009 at 12:21 PM, Andy Stevens wrote: > I've got a bit of a puzzle with an uptodate task, and I'm hoping I've > just missed something obvious... To cut to the chase, do yourself a favor and use Ant-Contrib's . If you want to keep using , run in verbose mode (-v) and you should see

uptodate when it isn't

2009-07-02 Thread Andy Stevens
Hi, I've got a bit of a puzzle with an uptodate task, and I'm hoping I've just missed something obvious... Part of my build script "compiles" various database objects by copying them with token replacement, to substitute the environment-specific database name at various points. I didn't want to

RE: conditional logic and user input

2009-07-02 Thread Rick Genter
> From: dave_davis [mailto:nickco...@hotmail.com] > Sent: Wednesday, July 01, 2009 5:01 PM > To: user@ant.apache.org > Subject: conditional logic and user input > > > Hi, > > I want to be able to control my build depending on user input. I've > tried > the following code but the ifyes and ifno

how to use ant to create a package (unix/solaris)

2009-07-02 Thread Patnaik, Anjela
Hello all, I've a java application that is built using ant. Now, this app also includes config files, text files, shell scripts, etc. and I am looking to package all these files somehow and use pkgmk to generate a solaris package. I'd then install the package on a separate solaris machine using

Re: Accessing "components" of fileset refid?

2009-07-02 Thread David Weintraub
You can always take a reference to filelists and turn them into a property: This will put the names of all files in the fileset into that property. Is that what you're looking for? On Wed, Jul 1, 2009 at 4:45 PM, Cyril Sagan wrote: > *SUMMARY:  Is there any Ant interface to the "components" of

Re: run script after ant finished

2009-07-02 Thread Dominique Devienne
On Wed, Jun 24, 2009 at 11:17 AM, Shawn Castrianni wrote: > Correct, I need something after the ANT VM has exited. Weiji's solution of running Ant twice from the outside script is the easiest, provided it can be used, which may not be the case when it's an IDE that runs the Ant script for example.

AW: loading ant macros from external files

2009-07-02 Thread Sascha Ernst
Hello, I use an everything works fine. Thanks to all of you ... ///sascha/// -Ursprüngliche Nachricht- Von: Sascha Ernst [mailto:sascha.er...@living-e.com] Gesendet: Mittwoch, 1. Juli 2009 11:12 An: Ant Users List Betreff: AW: loading ant macros from external files Hello, thanks for

Accessing "components" of fileset refid?

2009-07-02 Thread Cyril Sagan
*SUMMARY: Is there any Ant interface to the "components" of a fileset reference?* Consider this Ant snippet: The "my_files" reference should encompass all the state of the fileset to which it refers. As such, I should be able to get properties of the fil

Re: Making the delete task behave like /bin/rm -rf vis-a-vis symlinks to directories

2009-07-02 Thread Francis GALIEGUE
On Tue, Jun 30, 2009 at 23:19, Andy Stevens wrote: > On 26/06/2009, jscripter wrote: >> >>  The main problem with this is that I don't want to keep track of which >>  symlinks to delete. >>  The tree I am deleting may have lots of symlinks. >> >>  I realize that Java doesn't know about symlinks an