Re: Need cross platform way of assigning users name to a property

2010-06-24 Thread Dean Schulze
  Thanks for the responses.   The ${user.name} was the answer to my problem.  I didn't know that all the Java System.getProperties() were available in Ant.   --- On Tue, 6/22/10, Michael Ludwig wrote: From: Michael Ludwig Subject: Re: Need cross platform way of assigning users name to a prop

Need cross platform way of assigning users name to a property

2010-06-22 Thread Dean Schulze
My build.xml starts with the following lines:     This imports a build.local.xml file that holds machine-specific properties for each developer.   The problem is that this does not work on UNIX because the username is in env.USER in unix.  I need a cross-platform way to assign a user.name prop

Re: AW: AW: Use the same in multiple tasks

2010-01-29 Thread Dean Schulze
Date: Wednesday, January 27, 2010, 10:54 PM Have you tried id+refid? . Jan >-Ursprüngliche Nachricht- >Von: Dean Schulze [mailto:dean_w_schu...@yahoo.com] >Gesendet: Mittwoch, 27. Januar 2010 17:11 >An: Ant Users List >Betreff: Re: AW: Use the same in multipl

Re: Use the same in multiple tasks

2010-01-27 Thread Dean Schulze
On Tue, 26 Jan 2010, Dean Schulze wrote: > Instead of repeating and tags I want to > declare a once and use it in multiple tasks. >   > The problem is that contains an implicit fileset and does not > allow the tag inside of it. >   > Is ther

Re: AW: Use the same in multiple tasks

2010-01-27 Thread Dean Schulze
lements, respectively." And in the examples: is the same as the previous example, with the addition of a second source path, defined by the property src2. This can also be represented using nested elements as follows:                         Jan >-----Ursprüngliche Nachricht-

Use the same in multiple tasks

2010-01-26 Thread Dean Schulze
Instead of repeating and tags I want to declare a once and use it in multiple tasks.   The problem is that contains an implicit fileset and does not allow the tag inside of it.   Is there a way to include an external fileset in ? __ Do You

RE: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Dean Schulze
rgets were called from, using the java program to control when, handle errors, etc. Derek -Original Message----- From: Dean Schulze [mailto:dean_w_schu...@yahoo.com] Sent: Thursday, June 11, 2009 11:28 AM To: user@ant.apache.org Subject: Replacing build.xml with Build.java - Doing Ant builds dir

Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Dean Schulze
The Ant documentation has a section titled "Using Ant Tasks Outside of Ant" which gives a teaser for how to use the Ant libraries from Java code.  In theory it seems simple enough to replace build.xml with Build.java. The Ant documentation hints at some undocumented dependencies that I'll have to