HI,
I am executing the tstamp before executing the cvs tag , but the mistake I
made was to set the property before doing teh tstamp thing which is not
normal I feel.
However, If I do put the property after the tstamp stuff, it gives me an
error which is something like ...
"[cvs] cvs [tag aborted]: no such host c". I figured out that this is
happening even outside ANT , because I have to traverse one directory lower
into client module which I want to Tag.If I do the traversal it just works
out fine.
Now I am trying to figure a way to do just that in Ant.
Is there any other way other than using exec and then a change directory ?
Regards,
Viraj Purang
-----Original Message-----
From: Larry V. Streepy, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 3:49 PM
To: [EMAIL PROTECTED]
Subject: Re: appending of strings
This generally happens when the property doesn't have a value. My guess
is that you are not running the <tstamp/> task prior to your cvs task.
Try to ensure that tstamp gets executed as part of a "prepare" target
that is listed in the "depends" clause of all my other tasks.
Viraj Purang wrote:
>
> Hi,
> Tried that already ...got this one ...
> [cvs] cvs [tag aborted]: tag `lb_${DSTAMP}' must not contain the
characters
> `$,.:;@'
>
> I used
> <property name="lab" value="lb_${DSTAMP}"/>
> and <cvs command="tag ${lab}"/>
>
> IT just seems to literally count it in ...
> and if I give just the date ...CVS cribs about it ..because it is all
> numerical.
>
> REgardsm,
> Viraj Purang
> -----Original Message-----
> From: Larry V. Streepy, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 3:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: appending of strings
>
> How about <property name="something" value="label_${DSTAMP}"/>
>
> Viraj Purang wrote:
> >
> > HI,
> > Ho do we append two strings in Ant , I need to use the formatted
value
> > of DSTAMP and attch it to something like label_
> > so as to give me a result which is something like this
> > label_yyyy-MM-dd.Better still is it a part of some standard
documentation.
> > Regards,
> > Viraj Purang
>
> --
> Larry V. Streepy, Jr.
> Chief Technical Officer and VP of Engineering
>
> Health Language, Inc. -- "We speak the language of healthcare"
>
> 970/626-5028 (office) mailto:[EMAIL PROTECTED]
> 970/626-4425 (fax) http://www.healthlanguage.com
--
Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering
Health Language, Inc. -- "We speak the language of healthcare"
970/626-5028 (office) mailto:[EMAIL PROTECTED]
970/626-4425 (fax) http://www.healthlanguage.com