taskdef defined in project or target

2012-05-16 Thread Perrier, Nathan
If I defined a for a custom task at the project-level (outside of a macro or target), does that consume a significant amount of memory? Would defining in a target and have the targets that use it depend on it (thus, the taskdef init would only run when the target runs) be a better optimizati

RE: Build directly on machine vs. SSH to machine and start build

2012-05-07 Thread Perrier, Nathan
Add -v in your call (or -debug): ant [-v|-d] -f build.xml -Original Message- From: Eric Fetzer [mailto:elstonk...@yahoo.com] Sent: Monday, May 07, 2012 2:12 PM To: Ant Users Subject: Build directly on machine vs. SSH to machine and start build This is very strange to me.  Here a

RE: Newbie question

2012-04-20 Thread Perrier, Nathan
1. Use @{dest} instead of ${dest} -Original Message- From: Carlos Araya [mailto:carlos.ar...@gmail.com] Sent: Friday, April 20, 2012 4:01 PM To: user@ant.apache.org Subject: Newbie question I have a macrodef called init that defines an attribute called dest

Wildcard patterns

2012-02-29 Thread Perrier, Nathan
Equivalent?: "**/*" and "**/*.*"

ant environment properties loaded automatically?

2012-02-06 Thread Perrier, Nathan
I noticed if I set the environment variable "ant.someprop=somevalue", and run a build file in the shell, "someprop" gets set to "somevalue" without the need of the task. Is this undocumented behavior?

vs.

2012-01-13 Thread Perrier, Nathan
I haven't run a test yet, but would it be faster, for a large fileset, to run vs. running over a samba network share for windows to linux?

RE: Question for a new Apache Ant release

2012-01-12 Thread Perrier, Nathan
Who typically proposes the release plan? Anyone on this list? Is there a documented process for what the release plan needs to include? -Original Message- From: Stefan Bodewig [mailto:bode...@apache.org] Sent: Thursday, January 12, 2012 10:11 AM To: user@ant.apache.org Subject: Re: Ques

Extension Points?

2011-12-16 Thread Perrier, Nathan
http://ant.apache.org/manual/targets.html Anyone have an example of where they found extension points useful? I have to maintain a fairly large Ant framework, but I'm not quite of a good use-case for them. Thanks, -Nathan

RE: Property not loaded

2011-12-15 Thread Perrier, Nathan
You can't do that! Double interpolation doesn't work. Fortunately, you can use a macro to accomplish it: -Original Message- From: Vinodh Kumar [mailto:vinoh...@gmail.com] Sent: Thursday, December 15, 2011 12:23 PM To: user@ant.apache

RE: Next Ant Release?

2011-11-09 Thread Perrier, Nathan
, On 2011-11-08, Perrier, Nathan wrote: > Stefan, I guess that's me. > Any plans for Ant 1.8.3/1.9.0/2.0 coming up? None that I was aware of. Usually when anybody feels there is a fix or new feature important enough to have a new release or the number of fixes is growing being enough

Next Ant Release?

2011-11-07 Thread Perrier, Nathan
Stefan, Any plans for Ant 1.8.3/1.9.0/2.0 coming up? I apologize if this has been asked numerous times already. Thanks, -Nathan

RE: Windows Network Path

2011-11-03 Thread Perrier, Nathan
break the build. -Original Message- From: Michael Ludwig [mailto:mil...@gmx.de] Sent: Thursday, November 03, 2011 3:05 PM To: Ant Users List Subject: Re: Windows Network Path Perrier, Nathan schrieb am 03.11.2011 um 14:55 (-0400): > Is there a way to specify a windows network share

Windows Network Path

2011-11-03 Thread Perrier, Nathan
Is there a way to specify a windows network share via the property task? This actually will evaluated to an absolute path relative to the basedir: [echoproperties] shared_path=N\:\\ant\\build\\shared_path I can use value="\\sharedir", but intuitively I thought to use the "location" attribute..

RE: Equivalent:

2011-07-08 Thread Perrier, Nathan
Agreed, I try to use antcall as little as possible. It also tends to eat up memory if you have a ton of antcall tasks in a large build framework. Macrodefs are a nice substitute, but they really need an "if/else" attribute. I find that I often have targets that are just wrappers for macrodef or

RE: Equivalent:

2011-07-08 Thread Perrier, Nathan
No, because antcall creates a new project underneath the hood, whereas runtarget (antcontrib task) does not. -Original Message- From: Steve Amerige [mailto:steve.amer...@sas.com] Sent: Friday, July 08, 2011 10:21 AM To: Ant Users List Subject: Equivalent: Enjoy, Steve Amerige SAS Inst

Ant Log File Syntax Highlighting

2010-12-14 Thread Perrier, Nathan
I spend a lot of time digging through Ant logs in text editors, as I'm sure we all do. I'm wondering if there exists a syntax highlighting definition file that would, for instance, add style to the targets or tasks. I think it would make them much easier to read. Does anyone know if somet

Conditional import?

2010-09-15 Thread Perrier, Nathan
Hi All, Is there a way to do a conditionally import in ant? For example: Or if not using , can this be done with XML Entities? Thanks much, -Nathan

RE: Atomic/Synchronized Task

2010-06-24 Thread Perrier, Nathan
ge- From: Matt Benson [mailto:gudnabr...@gmail.com] Sent: Thursday, June 24, 2010 4:24 PM To: Ant Users List Subject: Re: Atomic/Synchronized Task On Jun 24, 2010, at 4:04 PM, Perrier, Nathan wrote: > Hello all, > > > > I was curious if there exists a means to atomically execute

Atomic/Synchronized Task

2010-06-24 Thread Perrier, Nathan
Hello all, I was curious if there exists a means to atomically execute tasks when running targets in parallel. I.E., I would like to do something like the following: ...