The zip task and zipfileset type

2006-05-26 Thread Morten Wittrock
Hi everybody I'd love some input on the best practice way to accomplish the following. In the root of my project directory, I have three directories and a file, that I'd like to bundle in a ZIP archive: scripts/ docs/ lib/ README.html I'd like to create a ZIP archive with the following content:

Directory name for common ant scripts

2006-05-26 Thread jmaxwell
Is there a consensus on which directory in a project to store common ant scripts? I have seen the following in the wild: etc, conf, ant-build, tools, common, bin. The rest of my directory layout is straight from TheElementsOfAntStyle page on the wiki and Ant In Anger. Cheers, Jeff -- Vie

RE: Question about the Depends property

2006-05-26 Thread Burgess, Benjamin
So either you call Ant TestA TestReport Or you re-structure your build file to how you want it. Ben -Original Message- From: 1800 tbsfunny [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 4:04 PM To: Ant Users List; Ninju Bohra Subject: Re: Question about the Depends property I hav

RE: [SPAM] - Question about the Depends property - Email has different SMTP TO: and MIME TO: fields in the email addresses

2006-05-26 Thread Jeff A. Drost
Try the task -Original Message- From: 1800 tbsfunny [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 3:55 PM To: user@ant.apache.org Subject: [SPAM] - Question about the Depends property - Email has different SMTP TO: and MIME TO: fields in the email addresses In a given target I ca

Re: Question about the Depends property

2006-05-26 Thread 1800 tbsfunny
I have their targets TestA TestB TestAll depends=TestA, TestB TestReport depends=TestAll Now, but default if I run ant... TestReport is called and all the tests are run fine. Suppose I want to run just TestA..I do prompt> ant TestA But the TestReport doesnt get called after this. Thanks.

Re: Question about the Depends property

2006-05-26 Thread Ninju Bohra
You can run multiple targets in sequence from the command line by space delimiting the target names. Try: prompt> ant B A Enjoy, Ninju - Original Message From: 1800 tbsfunny <[EMAIL PROTECTED]> To: user@ant.apache.org Sent: Friday, May 26, 2006 2:54:44 PM Subject: Question ab

Question about the Depends property

2006-05-26 Thread 1800 tbsfunny
In a given target I can call depends to point to which target should be run before this. Eg. Now if I call prompt> ant B How do I make A run after this? Thanks.

Re: No package found

2006-05-26 Thread Martin Gainty
its the vendor's responsibility to either inundate the implementor with debug information or throttle the logs back for production run Just my 2 farthings, M- P.S How come your timestamp says 12:23 instead of 17:23??? * This ema

Re: No package found

2006-05-26 Thread Steve Loughran
Martin Gainty wrote: Good Evening from across the pond- As far as changing text strings I can see this as useful for language conversion and going with locale specific Resource implementation but I cant see the benefit of that feature *unless you can put in something like a 'turbo switch' whic

RE: jar properties

2006-05-26 Thread Labhard, Michael E
This also works. Thanks. -- Michael -Original Message- From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 8:21 AM To: Ant Users List Subject: RE: jar properties Try:

RE: jar properties

2006-05-26 Thread Labhard, Michael E
This works. Thank you. -- Michael -Original Message- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 8:22 AM To: Ant Users List Subject: Re: jar properties Hello Michael, I think that what you want is :

Re: No package found

2006-05-26 Thread Martin Gainty
Good Evening from across the pond- As far as changing text strings I can see this as useful for language conversion and going with locale specific Resource implementation but I cant see the benefit of that feature *unless you can put in something like a 'turbo switch' which will ignore package

Re: jar properties

2006-05-26 Thread Antoine Levy-Lambert
Hello Michael, I think that what you want is : this is assuming that sweethome.properties is generated in the basedirectory of your Ant project (the same directory as the build file unless you have put something

RE: jar properties

2006-05-26 Thread Burgess, Benjamin
Try: Ben -Original Message- From: Labhard, Michael E [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 11:15 AM To: user@ant.apache.org Subject: jar properties Unable

jar properties

2006-05-26 Thread Labhard, Michael E
Unable to add a properties file to a jar file. Ant task: Result: ... [jar] adding entry com/intel/research/sweethome/webserver/map/IOVarDisplay.class

Re: No package found

2006-05-26 Thread Steve Loughran
Martin Gainty wrote: Heres my take If I am coding a once - y thing and it WORKS and I say wait a minute this is a waste of time since I am doing the SAME operation for all entities in a container namely all file(s) in the folder then I extract out the file specific stuff namely filename.extensio

Re: Problem with script task and properties

2006-05-26 Thread Steve Loughran
trad-ex wrote: Hi Scot, Hi folks, Sorry for my late response & poor English. I try to organize the discussion on this thread. As originally questions by other person, how can he pass values from a script into a target in spite of the immutablity of properties in Ant ? A part of his script is

Re: Problem with script task and properties

2006-05-26 Thread trad-ex
Hi Scot, Thanks a lot for your reply. What you mentioned as "ant xml task" means tasks without using ScriptTask, is it right ? In fact, my project (not ant project!) uses the customized Ant, and in it, the Task inherited from ScriptTask has a great importance.. So, I try to describe the Ant sc

Re: Problem with script task and properties

2006-05-26 Thread Scot P. Floess
I've never used the task...so I really don't have an answer for you...

I do have a question...is there a reason you are using script versus ant xml tasks? I'm guessing its just to see how things work?



Re: Problem with script task and properties

2006-05-26 Thread trad-ex
Hi Scot, Hi folks, Sorry for my late response & poor English. I try to organize the discussion on this thread. As originally questions by other person, how can he pass values from a script into a target in spite of the immutablity of properties in Ant ? A part of his script is below: