You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by lu...@apache.org on 2001/08/29 07:03:53 UTC

cvs commit: jakarta-alexandria build.xml

lucas       01/08/28 22:03:53

  Modified:    .        build.xml
  Log:
  - Created an anakia-prepare target so that a 'normal' build doesn't need the jakarta2 directory checked out.
  
  - Fixed build-classpath and made it build.classpath.  I have no idea how people are building Alexandria without these two changes.
  
  Revision  Changes    Path
  1.18      +5 -2      jakarta-alexandria/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/build.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- build.xml	2001/07/07 23:28:44	1.17
  +++ build.xml	2001/08/29 05:03:53	1.18
  @@ -22,7 +22,7 @@
       </path>
   
       <!-- classpath for compiling Alexandria -->
  -    <path id="build-classpath">
  +    <path id="build.classpath">
           <fileset dir="lib" includes="*.jar"/>
       </path>
   
  @@ -42,6 +42,9 @@
           <uptodate property="apis.uptodate" targetfile="${build.dir}/Alexandria.jar">
               <srcfiles dir="src/xml" includes="**/*.xsd"/>
           </uptodate>
  +    </target>
  +
  +    <target name="anakia-prepare">
           <available classname="org.apache.velocity.anakia.AnakiaTask" 
             property="AnakiaTask.present">
               <classpath refid="site-classpath"/>
  @@ -161,7 +164,7 @@
                    author="true"/>
       </target>
   
  -    <target depends="prepare" name="prepare-error" unless="AnakiaTask.present">
  +    <target depends="anakia-prepare" name="prepare-error" unless="AnakiaTask.present">
         <echo>
           AnakiaTask is not present! Please check to make sure that
           velocity.jar is in your classpath.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org