ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Holger Faltinsky/Denic" <>
Subject <cvs command=".." tag="..." ... bug??
Date Thu, 14 Feb 2002 16:18:05 GMT
Hi everyone,

I am just trying to check a taged version out of my cvs.

So far: (using ant 1.4.1!)
<cvs cvsRoot="${cvs.root}"/>
<cvs dest="${source.dir}" command="co" package="${source}" /> fine

<cvs cvsRoot="${cvs.root}"/>
<cvs dest="${source.dir}" command="co" tag="release1_1" package="${source}"
...result in this:
cvs server: Updating de/denic/blocks/abrechnung
cvs server: cannot find module `-r' - ignored
cvs server: cannot find module `release1_1' - ignored
cvs [checkout aborted]: cannot expand modules

Any idea??? I only would like to get:
cvs co -r release1_1 ${source}

The class contains:
    public void setTag(String p) {
        // Check if not real tag => set it to null
        if (p != null && p.trim().length() > 0) {
seems right. My Tag is not null so that the "-r" param is added.
But the way the comandline is build together should be something wrong.
-> exe.setCommandline(toExecute.getCommandline());
-> exe.execute();
Could this be a bug?
I couldN#t find all needed jar's to compile, sorry.

I also tried it without command, because "checkout" is default.
-> private String command = "checkout";
Did not work either!

Many thanks in advance.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message