Incremental Build Impementation...

2008-03-05 Thread dheeraj tandon
Hi , I am working on implementing incremental build to reduce build time like compiling only new and changed java souce code, copy only new and change jar files/config files etc but I am facing following issue - If some of the jars,config and other files deleted from source location due to whatev

Leap Year Bug in Ant 1.7.0 FTP task?

2008-03-05 Thread Francis Brennan
Has anyone else run across a bug in the FTP task in Ant 1.7.0 related to Feb 29th timestamps?. I've used the FTP task as part of an automated system to retrieve builds from a server and has been functioning reliably for many months without change. Beginning on Feb 29th at 12:00 AM, all FTP "recv

Re: Import task defined in other build file?

2008-03-05 Thread Andrew n marshall
Doh... Had the answer in the first word of my subject line. Thanks Peter. But the idea of importing the entire file seems very messy. I was hoping there would be a way I could import the effect of the new task definition without all the targets and properties that define it. Because of th

Re: Repeating a task for a list of directories

2008-03-05 Thread Vijay Aravamudhan
hi, if all you are doing is calling a different ant file within each subdirectory - you can look at subant (http://ant.apache.org/manual/CoreTasks/subant.html) If your main build file has a target which you want to repeat for each subdirectory, use ant-contrib's for or foreach tasks (http://

Repeating a task for a list of directories

2008-03-05 Thread Rob Wilson
Hi, I have not done too much with Ant, but I would like to find all sub-directories below a given directory and then for each directory repeat a task in the context of that directory, so for example topdir subdir1 subdir2 I would like to get ant to repeat a task for subdir1 and subdir2 and

RE: Error message when using different settings

2008-03-05 Thread Jim Adams
Are you suggesting that the use of the dual resolver should be minimized if you want the more efficient searching? > -Original Message- > From: Xavier Hanin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 10:29 AM > To: [EMAIL PROTECTED] > Subject: Re: Error message when using

Re: New errors messages in log since update to Ivy-beta2

2008-03-05 Thread Xavier Hanin
On Wed, Mar 5, 2008 at 3:51 PM, Hans Dockter <[EMAIL PROTECTED]> wrote: > > > > > It seems you don't use the same ivy.jar in both cases. Is > > ivy-2.0.0.beta2_20080103202250.jar a home made build, or a copy from > > ivy-2.0.0-beta2.jar? > > > > You are right. I forgot to update. Now the situation

Re: How to determine if a fileset is empty?

2008-03-05 Thread Krzysztof Kucybala
Thanks a lot, both of You :) Cheers, Chris Dominique Devienne wrote: On Wed, Mar 5, 2008 at 8:11 AM, John Shott <[EMAIL PROTECTED]> wrote: If you are using ant 1.7.0, I believe that it is the resourcecount task Yep. For older Ant, to a string, and then use the nested . --DD -

Re: How to determine if a fileset is empty?

2008-03-05 Thread Dominique Devienne
On Wed, Mar 5, 2008 at 8:11 AM, John Shott <[EMAIL PROTECTED]> wrote: > If you are using ant 1.7.0, I believe that it is the resourcecount task Yep. For older Ant, to a string, and then use the nested . --DD - To unsubscribe,

Re: Import task defined in other build file?

2008-03-05 Thread Peter Reilly
Use and not Peter On Wed, Mar 5, 2008 at 1:46 PM, Andrew n marshall <[EMAIL PROTECTED]> wrote: > > Is it possible to define a task in one ant build file, but use it in > another? For example, I want to have a single build file that contains > the properties and tasks to download a copy of s

Re: How to determine if a fileset is empty?

2008-03-05 Thread John Shott
Chris: If you are using ant 1.7.0, I believe that it is the resourcecount task or condition that will do the job for you. I was only recently made aware of this new feature myself, but suspect that many will find it to be of great use. Good luck, John

How to determine if a fileset is empty?

2008-03-05 Thread Krzysztof Kucybala
Hi, I have a question. I think I've seen the answer somewhere some time ago, but I can't find it again :( How can I determine, if a fileset contains any files or is empty? I would like to perform or not perform some tasks based on such a premise. Please help. Thanks, Chris -- --

Import task defined in other build file?

2008-03-05 Thread Andrew n marshall
Is it possible to define a task in one ant build file, but use it in another? For example, I want to have a single build file that contains the properties and tasks to download a copy of svnant and define its tasks. Then I want to call that ant file's define_svn_task target from another fil