Re: Enforcing "depends" order for 3rd-party targets?

2008-08-22 Thread Steve Loughran
Alexey Solofnenko wrote: I had to update a lot my build scripts in order for them to run in parallel mode with my own parallel executor. The usual problem was a missing dependency. Out of normal order execution breaks in random places and without careful review of all targets, it is difficult t

Re: variables or a counter ?

2008-08-22 Thread Steve Loughran
Ivar Bratberg wrote: Hi, I have the following problem I try to solve in ant. I should check a www server for a certain result each minute. I should keep on checking until a desired result is given ( the file downloaded should exceed a certain limit ) In addition it should have a kind of timeout

target conditional and dependency issue

2008-08-22 Thread Eric Wood
I have a target that I only want to execute if a property is set, but it executes the dependencies regardless. The code looks like this: What I have used as a work around is: This works, but it doesn't seem very ANT like. Do folks have a better, way to perfo

Re: Problem with

2008-08-22 Thread Peter Reilly
You may need to set the character encoding on the loadproperties. See: http://ant.apache.org/manual/CoreTypes/filterchain.html#classconstants peter On Sun, Aug 10, 2008 at 3:10 PM, Jim Showalter <[EMAIL PROTECTED]> wrote: > I am having problems getting this to work as described. I am using Ant >

RE: Problem with

2008-08-22 Thread Jim Showalter
That did it! Many thanks! Jim -Original Message- From: Peter Reilly [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2008 11:07 AM To: Ant Users List Subject: Re: Problem with You may need to set the character encoding on the loadproperties. See: http://ant.apache.org/manual/CoreTyp

Re: Enforcing "depends" order for 3rd-party targets?

2008-08-22 Thread David Weintraub
I just thought of this: The "inheritall" allows the called target to inherit all properties set. This is suppose to be the default. The "inheritrefs" allows for all references to be inherited too. This is false by default. -- David Weintraub [EMAIL PROTECTED] On Mon, Aug 18, 2008 a

Re: Enforcing "depends" order for 3rd-party targets?

2008-08-22 Thread cowwoc
Yeah, I guess this would work so long as "externals" does not need to return any properties (I think in my case it doesn't). Thanks, Gili David Weintraub wrote: > > I just thought of this: > > > > > > > inheritall="true" > inheritrefs="true"/> > > > The "inheritall

Re: target conditional and dependency issue

2008-08-22 Thread David Weintraub
On Fri, Aug 22, 2008 at 11:03 AM, Eric Wood <[EMAIL PROTECTED]> wrote: > I have a target that I only want to execute if a property is set, but it > executes the dependencies regardless. Yes, the dependencies to get hit before the test is done. There's a reason for that: