ant-user mailing list archives

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

See my post a week ago :

http://marc.theaimsgroup.com/?l=ant-user&m=107052931011992&w=2

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 ?!


Regards,
        Gilbert



-----Original Message-----
From: Diogo Montanaro Pedroso [mailto:diogompbr@yahoo.com.br]
Sent: Monday, December 08, 2003 5:42 PM
To: user@ant.apache.org
Subject: Export command


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


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

  <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">
  <tstamp/>
 </target>

 <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" />
 </target>
</project>

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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message