ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: Export command
Date Tue, 09 Dec 2003 07:44:56 GMT

See my post a week ago :

and consult the ant manual regarding the cvs task.

Maybe you've missed to login once via cmd _before_ and
the .cvspass - file is missing ?!


-----Original Message-----
From: Diogo Montanaro Pedroso []
Sent: Monday, December 08, 2003 5:42 PM
Subject: Export command

I'm trying to do a script to export a module using ant....

<project name="name" default="checkout" basedir=".">
   simple example build file

  <property environment="env" />

  <property name="cvs.dir" location="c:\teste" />
  <property name="cvs.server" value="${env.CVSROOT_SERVER}" />
  <property name="cvs.package" value="name_of_module" />

 <target name="init">

 <target name="checkout" description="checkout of module describe in cvs.package property">
  <!-- <delete dir="${cvs.dir}\${cvs.package}" /> -->
  <!-- <cvs cvsRoot="${cvs.server}" package="${cvs.package}" dest="${cvs.dir}" />
  <cvs dest="${cvs.dir}\${cvs.package}" command="update" />

  <mkdir dir="${cvs.dir}\${cvs.package}\export" />
  <cvs dest="${cvs.dir}\${cvs.package}\export" command="export" />

When I execute this script, the message that appear folow:

[cvs] cvs [export aborted]: must specify at least one module or directory

How can I export a module in CVS? I don't know if the right command to do this... 
What I doing wrong?

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

View raw message