jakarta-site-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@locus.apache.org
Subject cvs commit: jakarta-site2 build.sh build.xml
Date Mon, 27 Nov 2000 03:19:38 GMT
jon         00/11/26 19:19:37

  Modified:    .        build.sh build.xml
  Log:
  added dependency checking
  no longer report the classpath
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-site2/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-site2/build.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.sh	2000/11/25 22:59:04	1.2
  +++ build.sh	2000/11/27 03:19:36	1.3
  @@ -22,7 +22,7 @@
   
   BUILDFILE=build.xml
   
  -echo $CLASSPATH
  +#echo $CLASSPATH
   
   java $ANT_OPTS -classpath "$CLASSPATH" org.apache.tools.ant.Main \
                   -Dant.home=$ANT_HOME \
  
  
  
  1.3       +11 -3     jakarta-site2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-site2/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml	2000/11/25 22:59:04	1.2
  +++ build.xml	2000/11/27 03:19:36	1.3
  @@ -5,12 +5,20 @@
       <property name="docs.src" value="./xdocs"/>
       <property name="docs.dest" value="./docs"/>
   
  -    <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/>
  +    <target name="prepare">    
  +        <available classname="org.apache.velocity.anakia.AnakiaTask" 
  +            property="AnakiaTask.present"/>
  +    </target>
   
  -    <target name="prepare">
  +    <target depends="prepare" name="prepare-error" unless="AnakiaTask.present">
  +        <echo>
  +            AnakiaTask is not present! Please check to make sure that 
  +            velocity.jar is in your classpath.
  +        </echo>
       </target>
   
  -    <target name="docs" depends="prepare">
  +    <target name="docs" depends="prepare-error" if="AnakiaTask.present">
  +        <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/>
           <anakia basedir="${docs.src}" destdir="${docs.dest}/"
                extension=".html" style="./site.vsl"
                projectFile="stylesheets/project.xml"
  
  
  

Mime
View raw message