You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Qi...@Metavante.com on 2003/08/26 18:49:32 UTC

Maven with ant stcheckout task

I am having this error when using ant stcheckout task in maven.

BUILD FAILED
File...... file:/export/home/devadm/build/maven/
Element... stcheckout
Line...... 22
Column.... 11
com/starbase/starteam/StarTeamFinder
Total time:  6 seconds

in maven.xml
    <goal name="build.all">
...
            <stcheckout
                servername="StarTeamServer"
                serverport="49201"
                projectname="Library"
                viewname="Library"
                username="user1"
                password="password"
                rootlocalfolder="src"
                forced="true"
                deleteuncontrolled="false"
                recursive="false"
        />
...
    </goal>
It looks like maven did not pass the correct URL to stcheckout.
The same task excuted correctly using ant, and I did copy starteam.jar 
into maven/lib. Anyone has used maven with starteam task before? Thanks.

Re: Maven with ant stcheckout task

Posted by di...@multitask.com.au.
Looks like the stcheckout task is not defined correctly and maven can't 
find StarTeamFinder
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Qiang.Gao@Metavante.com wrote on 27/08/2003 02:49:32 AM:

> I am having this error when using ant stcheckout task in maven.
> 
> BUILD FAILED
> File...... file:/export/home/devadm/build/maven/
> Element... stcheckout
> Line...... 22
> Column.... 11
> com/starbase/starteam/StarTeamFinder
> Total time:  6 seconds
> 
> in maven.xml
>     <goal name="build.all">
> ...
>             <stcheckout
>                 servername="StarTeamServer"
>                 serverport="49201"
>                 projectname="Library"
>                 viewname="Library"
>                 username="user1"
>                 password="password"
>                 rootlocalfolder="src"
>                 forced="true"
>                 deleteuncontrolled="false"
>                 recursive="false"
>         />
> ...
>     </goal>
> It looks like maven did not pass the correct URL to stcheckout.
> The same task excuted correctly using ant, and I did copy starteam.jar 
> into maven/lib. Anyone has used maven with starteam task before? Thanks.