ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: can't use tstamp
Date Thu, 17 Feb 2005 16:03:30 GMT
Please, no personal emails...

Older versions of Ant pre-1.6 (or is that 1.5?) don't accept arbitrary
tasks at the top level. Put your <tstamp> inside a target, like an
"init" one most other targets depend on. --DD

> -----Original Message-----
> From: blackwater dev [mailto:blackwaterdev@gmail.com]
> Sent: Thursday, February 17, 2005 10:00 AM
> To: Dominique Devienne
> Subject: Re: can't use tstamp
> 
> <project name="myproject" default="co" basedir=".">
> 
> 
> <tstamp>
>  <format property="TODAY" pattern="MMddyy" locale="us"/>
>  </tstamp>
> 
> 
> <target name="checkout" description="Checkout">
> <cvs cvsRoot="/cvs"
>           package="pollywog"
>        dest="/home/pollywog"
>   />
> 
> </target>
> 
> 
> </project>
> 
> Thanks!
> 
> 
> On Thu, 17 Feb 2005 09:53:07 -0600, Dominique Devienne
> <DDevienne@lgc.com> wrote:
> > Probably just a typo around it. Checked your XML. If you don't see
it,
> > post your build, and or a slimed down version that reproduces the
pb.
> > --DD
> >
> > What version of Ant?
> >
> > > -----Original Message-----
> > > From: blackwater dev [mailto:blackwaterdev@gmail.com]
> > > Sent: Thursday, February 17, 2005 9:45 AM
> > > To: Ant Users List
> > > Subject: can't use tstamp
> > >
> > > Was the tstamp task added recently?  I am using an older version
of
> > > cvs and get an error of:
> > >
> > > Unexpected element "tstamp"
> > >
> > > Thanks!
> > >
> > >
---------------------------------------------------------------------
> > > 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


Mime
View raw message