Re: propertyfile task issues

2011-11-30 Thread Stefan Bodewig
On 2011-11-30, Stefan Bodewig wrote: > It is quite possible you'd get the same sort of escaping if you load the > file with Properties#load and write it back with Properties#store > outside of Ant as well.

Re: propertyfile task issues

2011-11-30 Thread Stefan Bodewig
On 2011-11-30, Eric Fetzer wrote: > I'm lost Stefan. It's a java properties file, but doesn't have the : > escaped when I check it out. Once I run "propertyfile" on it, it > decides to change it because it knows better than my developers? I wouldn't state it that way, but yes. 8-) Running prope

Re: propertyfile task issues

2011-11-30 Thread Jonathan Rosenberg
Isn't ':' used as an alternative to '=' in properties files? Is that the problem? -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ _ From: Eric Fetzer Sent: Wed Nov 30 14:02:41 EST 2011 To:

Re: propertyfile task issues

2011-11-30 Thread Eric Fetzer
I'm lost Stefan.  It's a java properties file, but doesn't have the : escaped when I check it out.  Once I run "propertyfile" on it, it decides to change it because it knows better than my developers?  This is for Flash Flex, so maybe the properties files are different?  I'm not sure but this do

Re: propertyfile task issues

2011-11-30 Thread Stefan Bodewig
On 2011-11-30, Eric Fetzer wrote: > I'm having some issue with the propertyfile task. I'm simply trying to > substitute a value for one property. For some reason, the propertyfile > task is modifying everything with a :/ to be a \:/. Colons must be escaped with a backslash in Java property files.

Re: propertyfile task issues

2011-11-30 Thread Scot P. Floess
Eric, Mind attaching a snippet of code? I don't see anything... On Wed, 30 Nov 2011, Eric Fetzer wrote: Sorry, you may want this as well:   cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga)   From: Eric Fetzer To: Ant Users

Re: propertyfile task issues

2011-11-30 Thread Eric Fetzer
Sorry, you may want this as well:   > cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga)   From: Eric Fetzer To: Ant Users Sent: Wednesday, November 30, 2011 12:02 PM Subject: propertyfile task issues All, I'm having some issue wi

propertyfile task issues

2011-11-30 Thread Eric Fetzer
All,   I'm having some issue with the propertyfile task.  I'm simply trying to substitute a value for one property.  For some reason, the propertyfile task is modifying everything with a :/ to be a \:/.  I've attached a simple repro.  Any help would be appreciated!   > ant -version Apache Ant ve