Re: ant.java.version set incorrectly

2010-11-11 Thread Stefan Bodewig
On 2010-11-10, Eric Smith wrote: > The problem I'm running into is that Xerces-J uses ant.java.version to > set which source level to build. Without patching its build.xml, I end > up with this: > compile: > [copy] Copying 23 files to > /var/tmp/paludis/build/dev-java-Xerces-J-2.10.0/work/xerces

RE: Search for properties file in parent directories

2010-11-11 Thread Ludwig, Michael
Merci Antoine et Dominique! > But may I inquire why you need that? Of course. :-) I don't really need this, I was just wondering whether it was possible. I could have maintained different configurations in different subdirectories, overriding configurations in directories higher up the tree. A us

Re: Search for properties file in parent directories

2010-11-11 Thread Dominique Devienne
On Thu, Nov 11, 2010 at 4:33 AM, Ludwig, Michael wrote: > On the command line, I can instruct ant to go searching for a build > file by climbing up the directory tree: [...] > From within a script, I can instruct ant to load properties from a > file using . > > Is there a way to instruct Ant to go

Re: Search for properties file in parent directories

2010-11-11 Thread Antoine Levy-Lambert
Hello Michael, I do not know of any way of doing this in a generic fashion. If you have few levels of directories and the number of directories is known, you can write this : this will not bail out if one of the property files does not exists and it will read the files in the order of

Installing Ant's own PropertyHelper

2010-11-11 Thread wolfgang haefelinger
Hello, $ ant -f testme.xml Buildfile: testme.xml BUILD FAILED testme.xml:4: Could not create type defaulthelper as the class class org.apache.tools.ant.PropertyHelper has no compatible constructor Rather unexpected! Especially when developing and "ant unit testing" new proper

Installing PropertyHelper

2010-11-11 Thread wolfgang haefelinger
Hello, I'm trying to install my own property helper class package org.example; public class MyPropertyHelper extends org.apache.tools.ant.PropertyHelper {} as shown in [1] along with a property def before and some calls after the "switch" Turns out that all properties are .. gone!

RE: Apply argument wrapping with msiexec

2010-11-11 Thread Bailey, Darragh
> -Original Message- > From: Niklas Matthies [mailto:ml_ant-u...@nmhq.net] > Sent: 10 November 2010 21:11 > To: user@ant.apache.org > Subject: Re: Apply argument wrapping with msiexec > > This is interesting. It's caused by Java's Runtime.exec(), which > doesn't handle embedded double qu

RE: Apply argument wrapping with msiexec

2010-11-11 Thread Bailey, Darragh
> -Original Message- > From: Martin Gainty [mailto:mgai...@hotmail.com] > Sent: 10 November 2010 21:52 > To: Ant Users List > Subject: RE: Apply argument wrapping with msiexec > > > coming late into the game.. > > I ALWAYS use C:/DOCUME~1 instead of C:/Documents and Settings > and th

Search for properties file in parent directories

2010-11-11 Thread Ludwig, Michael
On the command line, I can instruct ant to go searching for a build file by climbing up the directory tree: ant -h ... -find(s)earch for buildfile towards the root of -s the filesystem and use it From within a script, I can instruct ant to load properties from a fi