You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by do...@apache.org on 2002/03/06 20:01:48 UTC

cvs commit: jakarta-turbine-torque build.xml

dobbs       02/03/06 11:01:48

  Modified:    .        build.xml
  Log:
  Adding docs to the distribution (we've got 'em and might as well
  include them).  The docs will be gracefully skipped if jakarta-site2
  is not present.
  
  Also clarified the checking for jakarta-site2 and the error message
  when it's not present.
  
  Revision  Changes    Path
  1.37      +11 -15    jakarta-turbine-torque/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/build.xml,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- build.xml	1 Mar 2002 14:16:01 -0000	1.36
  +++ build.xml	6 Mar 2002 19:01:48 -0000	1.37
  @@ -448,24 +448,20 @@
     <!-- ================================================================== -->
   
     <target
  -    name="check_for_jdom">
  +    name="check.jakarta-site2">
   
       <available
  -      property="jdom.present"
  -      classname="org.jdom.JDOMException">
  -      <classpath>
  -         <fileset dir="${jakarta.site2}/lib">
  -           <include name="*.jar"/>
  -         </fileset>
  -      </classpath>
  -    </available>
  +      property="jakarta-site2.present"
  +      file="${jakarta.site2}"
  +    />
     </target>
   
  -  <target depends="check_for_jdom" name="docs-prepare-error"
  -          unless="jdom.present">
  +  <target depends="check.jakarta-site2" name="docs-prepare-error"
  +          unless="jakarta-site2.present">
       <echo>
  -      The Jakarta-Site2 module is not present! Please check
  -      to make sure that you have checked it out from CVS.
  +      Generation of the Torque documentation was skipped because the
  +      Jakarta-Site2 module is not present! Please check to make sure
  +      that you have checked it out from CVS.
   
         &lt;http://jakarta.apache.org/site/jakarta-site2.html&gt;
       </echo>
  @@ -475,7 +471,7 @@
       name="docs"
       depends="docs-prepare-error"
       description="==> generates the HTML documentation"
  -    if="jdom.present">
  +    if="jakarta-site2.present">
   
       <taskdef name="anakia"
          classname="org.apache.velocity.anakia.AnakiaTask">
  @@ -558,7 +554,7 @@
   
     <target
       name="dist"
  -    depends="jar,check.village,javadocs"
  +    depends="jar,check.village,javadocs,docs"
       description="==> Creates torque.zip distribution">
   
       <property name="torque.dir" value="${build.dir}/torque/torque"/>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>