AW: property passed via ant to build file not being set

2010-07-12 Thread Knuplesch, Juergen
Hello Eric, looks really strange! What is the value of label in the wrong case? Do both tests use the same versions of your buildfiles? (I echo the CVS version of my buildfiles) Maybe label is set by cc to the value ${label}, so {label} is not an indicator that label is not set, but the value

property passed via ant to build file not being set

2010-07-12 Thread Eric Fetzer
OK, I am totally stumped!  I have some behavior that works correctly when I call from the command line, but differently when cruise control calls it.  I don't understand.  Here's the skinny: 1)  cc calls my build.xml file 2)  my build file calls another build file 3)  the other build file calls

Re: Strange "toString"-behaviour on string resources

2010-07-12 Thread Hille
Thanks a lot for taking the time to answer. I filed the bug report https://issues.apache.org/bugzilla/show_bug.cgi?id=49588 being a bit unsure about whether to post Your additional info. Please feel free to add any missing useful pieces. Hille Stefan Bodewig schrieb: [...] No, you've real

Re: Reusing property values in a properties file

2010-07-12 Thread Nathan Dunn
We had the same problem in our organization, so I created a specific ant task wrapping commons config: http://ant.apache.org/external.html http://code.google.com/p/commonsconfiganttask/ I'm still updating docs, but it you should be able to do something to do exactly what you suggested: > USE

Re: would like to post an external 3rd-party task

2010-07-12 Thread Nathan Dunn
Thanks for the quick feedback. I will put it on my todo-list. Hopefully will have it updated sometime within this week. Nathan On Jul 10, 2010, at 5:45 PM, Martin Gainty wrote: > > I would typedef one of the classes to illustrate one of the main capabilities > e.g. ExportPropertiesTask >

Re: Strange "toString"-behaviour on string resources

2010-07-12 Thread Stefan Bodewig
On 2010-07-10, Hille wrote: > Running the following build file against ant 1.7.1 > > > > > > > > > A: ${toString:A} = a;b > union: ${toString:union} = a;b > A: ${toString:A} = a;b > > > > h

Re: fileset problem

2010-07-12 Thread Nick Leaton
Thanks. Obvious in the end. Nick On Mon, Jul 12, 2010 at 4:09 PM, Stefan Bodewig wrote: > On 2010-07-12, Nick Leaton wrote: > >> However, I want to exclude the .hg directory (mercurial) apart from >> the .hg/hgrc file which contains the configuration for the repository. > >> I can't get the file

Re: fileset problem

2010-07-12 Thread Stefan Bodewig
On 2010-07-12, Nick Leaton wrote: > However, I want to exclude the .hg directory (mercurial) apart from > the .hg/hgrc file which contains the configuration for the repository. > I can't get the fileset working properly. This is my attempt. You don't say what your attempt results in 8-) >

fileset problem

2010-07-12 Thread Nick Leaton
I'm trying to create a zip file to archive source. However, I want to exclude the .hg directory (mercurial) apart from the .hg/hgrc file which contains the configuration for the repository. I can't get the fileset working properly. This is my attempt.