forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest/src/targets project.xtarget
Date Wed, 22 May 2002 21:56:52 GMT
nicolaken    02/05/22 14:56:51

  Modified:    src/targets project.xtarget
  Log:
  Added "getcvsmodule" target to get a cvs module. It is a very basic version that downloads
the jakarta-poi module.
  
  Revision  Changes    Path
  1.13      +21 -4     xml-forrest/src/targets/project.xtarget
  
  Index: project.xtarget
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/targets/project.xtarget,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- project.xtarget	22 May 2002 20:27:15 -0000	1.12
  +++ project.xtarget	22 May 2002 21:56:51 -0000	1.13
  @@ -173,10 +173,26 @@
       </copy>
     </target>
   
  +  <target name="getcvsmodule" depends="init">
  +   
  +    <property name="getcvsmodule.work.dir" value="${build.dir}/work/forrest/cvs/jakarta-poi"
/> 
  +   
  +    <delete dir="${getcvsmodule.work.dir}"/>
  +    <mkdir dir="${getcvsmodule.work.dir}"/>
  +     
  +    <cvspass cvsroot=":pserver:anoncvs@jakarta.apache.org:/home/cvspublic"
  +            password="anoncvs"
  +     />
  +       
  +    <cvs cvsRoot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic"
  +         package="jakarta-poi"
  +         dest="${getcvsmodule.work.dir}"
  +    />                             
  +  </target>     
  +
     <target name="deploysite" depends="init">
       <antcall target="deploy">
         <param name="deploy.username"     value="nicolaken"/>
  -      <param name="deploy.work.dir"     value="${build.dir}/work/forrest"/>
         <param name="deploy.package-name" value="xml-forrest"/>
         <param name="deploy.data.dir"     value="${build.dir}/docs"/>
         <param name="deploy.hostname"     value="krysalis.sourceforge.net"/>
  @@ -184,17 +200,18 @@
       </antcall>                                
     </target>                                  
     
  -  <target name="deploy" unless="deploy.username, deploy.work.dir, deploy.package-name
  +  <target name="deploy" unless="deploy.username, deploy.package-name
                                       deploy.data.dir, deploy.hostname, deploy.remotedir">
     <!--
       deploy.username
  -    deploy.work.dir
       deploy.package-name
       deploy.data.dir
       deploy.hostname
       deploy.remotedir
      -->
  -   
  +
  +    <param name="deploy.work.dir"  value="${build.dir}/work/forrest/deploy/${deploy.package-name}"/>
  +         
       <delete dir="${deploy.work.dir}"/>
       <mkdir dir="${deploy.work.dir}"/>
   
  
  
  

Mime
View raw message