You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Vinny <xa...@gmail.com> on 2006/05/08 22:01:49 UTC

Re: Property Task's timestamp

Thanks for the suggestion. Unfortunately that only produces this at
the top of the
file :
#
#Mon May 08 15:57:42 EDT 2006

ant 1.6.2 OSX jdk 1.5
Are timestamps part of the Properties spec or something?



On 4/28/06, Jan.Materne@rzf.fin-nrw.de <Ja...@rzf.fin-nrw.de> wrote:
> Maybe with an empty comment <propertyfile comment="" .../>
>
> Jan
>
> >-----Ursprüngliche Nachricht-----
> >Von: Vinny [mailto:xaymaca@gmail.com]
> >Gesendet: Dienstag, 25. April 2006 18:07
> >An: user@ant.apache.org
> >Betreff: Property Task's timestamp
> >
> >Is there anyway Ant to not put timestamps on the top of a
> >created/modified property file via the Property Task?
> >Thank You
> >
> >--
> >Ghetto Java: http://www.ghettojava.com
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
> >additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


--
Ghetto Java: http://www.ghettojava.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Property Task's timestamp

Posted by Jeffrey E Care <ca...@us.ibm.com>.
Not part of the "spec" per-se, but IIRC yes: writing out a properties file 
using the APIs in java.util.Properties will put a timestamp in the 
serialized output.

____________________________________________________________________________________________ 

Jeffrey E. (Jeff) Care 
carej@us.ibm.com 
IBM WebSphere Application Server Development 
WAS Pyxis Lead Release Engineer 




Vinny <xa...@gmail.com> wrote on 05/08/2006 04:01:49 PM:

> Thanks for the suggestion. Unfortunately that only produces this at
> the top of the
> file :
> #
> #Mon May 08 15:57:42 EDT 2006
> 
> ant 1.6.2 OSX jdk 1.5
> Are timestamps part of the Properties spec or something?
> 
> 
> 
> On 4/28/06, Jan.Materne@rzf.fin-nrw.de <Ja...@rzf.fin-nrw.de> 
wrote:
> > Maybe with an empty comment <propertyfile comment="" .../>
> >
> > Jan
> >
> > >-----Ursprüngliche Nachricht-----
> > >Von: Vinny [mailto:xaymaca@gmail.com]
> > >Gesendet: Dienstag, 25. April 2006 18:07
> > >An: user@ant.apache.org
> > >Betreff: Property Task's timestamp
> > >
> > >Is there anyway Ant to not put timestamps on the top of a
> > >created/modified property file via the Property Task?
> > >Thank You
> > >
> > >--
> > >Ghetto Java: http://www.ghettojava.com
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
> > >additional commands, e-mail: user-help@ant.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
> 
> 
> --
> Ghetto Java: http://www.ghettojava.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>