ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diogo Montanaro Pedroso" <>
Subject Export command
Date Mon, 08 Dec 2003 16:41:48 GMT
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?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message