> I am able to checkout the projects directly in ant script using cvs
> commands but i need an sample for the following requirement. Please
> help.
> 
> Need to run build.xml ant script with project name as argument. Ihe
> script should take the build.psf and needs to checkout the required
> projects to the local workspace.

Take your working build script and replace your cvs project name by
${cvs.project.name}. Then start your Ant buildfile with
-Dcvs.project.name=anExistingCvsProject 

As this is a required parameter you could also check its presence:
  <project>
    <fail message="Please specify cvs.project.name"
unless="cvs.project.name"/>
    ...


Jan


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to