You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Walter Moore <wb...@fedex.com> on 2004/01/15 20:46:21 UTC
case sensitive cvs update
Hi.
I'm using cvs to update a cvstag variable in a piece of code, using the
line String cvsTag = "$Name:$";
To make cvs update the tag within the file requires me to delete the
file and then do a cvs update on the file.
I can do this manually.
Now I'm trying to automate this using ant version
I can delete the file and do the update,but the file that is created is
Client.java, instead of the
necessary CLIENT.java. This is what I'm doing:
<property name="myProj.client.tag" value="com/fedex/myProj/CLIENT.java" />
<delete file="${src}/${myProj.client.tag}" />
<cvs command="update ${expressclear.server.tag}" />
I ONLY want to update this specific file - not the entire project.
The above works fine if the file begins with a capital and the rest are
lowercase.
My problem is that this file's class inside it is all caps, and so the
file needs to be all casesensitive.
How can I do this?
thanks,
Walter Moore
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: case sensitive cvs update
Posted by Walter Moore <wb...@fedex.com>.
nevermind - upgrading to ant 1.6.0 fixed this.
Walter Moore wrote:
> Hi.
>
> I'm using cvs to update a cvstag variable in a piece of code, using
> the line String cvsTag = "$Name:$";
> To make cvs update the tag within the file requires me to delete the
> file and then do a cvs update on the file.
> I can do this manually.
>
> Now I'm trying to automate this using ant version
> I can delete the file and do the update,but the file that is created
> is Client.java, instead of the
> necessary CLIENT.java. This is what I'm doing:
> <property name="myProj.client.tag"
> value="com/fedex/myProj/CLIENT.java" />
> <delete file="${src}/${myProj.client.tag}" />
> <cvs command="update ${expressclear.server.tag}" />
>
> I ONLY want to update this specific file - not the entire project.
> The above works fine if the file begins with a capital and the rest
> are lowercase.
>
> My problem is that this file's class inside it is all caps, and so the
> file needs to be all casesensitive.
>
> How can I do this?
>
> thanks,
> Walter Moore
>
>
> ---------------------------------------------------------------------
> 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