forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/forrestbot/ant templates.build.xml
Date Wed, 27 Nov 2002 08:31:33 GMT
jefft       2002/11/27 00:31:33

  Modified:    src/resources/forrestbot/ant templates.build.xml
  Log:
  Replace cvs.get-src.dir with cvs.get-src.{content,project}-dir, so that we can
  build docs in a subdirectory of a project.
  content-dir is the directory to check out (usu. src/documentation)
  project-dir is the base directory from which to build docs (usu .).
  For an example of non-root project-dir, see forrest-template-cvs.xml
  
  Revision  Changes    Path
  1.11      +11 -4     xml-forrest/src/resources/forrestbot/ant/templates.build.xml
  
  Index: templates.build.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/forrestbot/ant/templates.build.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- templates.build.xml	26 Nov 2002 11:24:28 -0000	1.10
  +++ templates.build.xml	27 Nov 2002 08:31:33 -0000	1.11
  @@ -120,6 +120,7 @@
         # Target: prepare
         # Calling ${forrest.home}/forrest.build.xml#bare-context
         # In dir ${basedir}
  +      # Skin="${prepare.skin}"
         ############################
       </echo>
       <ant dir="${basedir}" antfile="${forrest.home}/forrest.build.xml" target="bare-context">
  @@ -134,7 +135,8 @@
       <echo message="get-src workstage of type CVS for project ${project.name}"/>
       <echo message="cvs login: usr= ${get-src.cvs.user} / pwd= ${get-src.cvs.passwd}"/>
       <echo message="cvs update from host: ${get-src.cvs.host} with root: ${get-src.cvs.root}"/>
  -    <echo message="cvs update  for module: ${get-src.cvs.module} to dir: ${get-src.cvs.dir}"/>
  +    <echo message="cvs update  for module: ${get-src.cvs.module} to dir:
  +      ${get-src.cvs.content-dir}"/>
     </target>
   
     <target name="template.get-src.cvs" depends="shared.set-props, echo.get-src.cvs">
  @@ -144,7 +146,7 @@
       <mkdir dir="${project.cvsmodule.dir}" />
       <!-- get from cvs only the directory that is holding the xdoc content -->
       <cvs cvsRoot=":pserver:${get-src.cvs.user}@${get-src.cvs.host}:${get-src.cvs.root}"
  -         package="${get-src.cvs.module}/${get-src.cvs.dir}"
  +         package="${get-src.cvs.module}/${get-src.cvs.content-dir}"
            dest="${project.cvsmodule.dir}"
            quiet="true"
            />
  @@ -161,12 +163,17 @@
         ############################
         # Target: get-src.cvs
         # Calling ${forrest.home}/forrest.build.xml#project-context-bot
  -      # In dir="${project.cvsmodule.dir}/${get-src.cvs.module}/${get-src.cvs.dir}"
  +      # In dir="${project.cvsmodule.dir}/${get-src.cvs.module}/${get-src.cvs.project-dir}"
  +      # Content dir="${project.cvsmodule.dir}/${get-src.cvs.module}/${get-src.cvs.content-dir}"
  +      # Skin="${prepare.skin}"
         ############################
       </echo>
  +    <!--
  +    dir="${project.cvsmodule.dir}/${get-src.cvs.module}/${get-src.cvs.dir}"-->
       <ant
  -      dir="${project.cvsmodule.dir}/${get-src.cvs.module}/${get-src.cvs.dir}"
  +      dir="${project.cvsmodule.dir}/${get-src.cvs.module}/${get-src.cvs.project-dir}"
         antfile="${forrest.home}/forrest.build.xml" target="project-context-bot">
  +      <property name="project.skin" value="${prepare.skin}"/>
         <property name="forrest.echo" value="true"/>
       </ant>
   
  
  
  

Mime
View raw message