Re: propertyfile task issues

2011-12-03 Thread Jonathan Rosenberg
> > > > From: Stefan Bodewig > To: user@ant.apache.org > Sent: Wednesday, November 30, 2011 1:24 PM > Subject: Re: propertyfile task issues > > On 2011-11-30, Eric Fetzer wrote: > > > I'm having some issue with the pr

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
t: Wed Nov 30 14:02:41 EST 2011 To: Ant Users Subject: propertyfile task issues 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 \:

Re: propertyfile task issues

2011-11-30 Thread Eric Fetzer
Sent: Wednesday, November 30, 2011 1:24 PM Subject: Re: propertyfile task issues 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 ev

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
Users Sent: Wednesday, November 30, 2011 12:02 PM Subject: propertyfile task issues 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 \:/.

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 so

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