jakarta-oro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: jakarta-oro build.xml
Date Fri, 11 Jun 2004 00:31:38 GMT
dfs         2004/06/10 17:31:38

  Modified:    .        build.xml
  Log:
  Added a compile target to replace the lib target, but kept a lib
  target that depends on compile so as not to break gump.
  
  Revision  Changes    Path
  1.13      +13 -8     jakarta-oro/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/build.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- build.xml	28 Feb 2004 21:54:15 -0000	1.12
  +++ build.xml	11 Jun 2004 00:31:37 -0000	1.13
  @@ -36,6 +36,7 @@
     examples       builds the example programs
     jar            builds lib + jar
     javadocs       builds the javadoc
  +  compile        builds the library
     lib            builds the library
     package        builds lib + jar + javadoc + distribution
     package-all    builds package-zip and package-tgz
  @@ -87,9 +88,9 @@
          </echo>
       </target>
   
  -    <!-- lib target.  Compiles the library classes only -->
  +    <!-- compile target.  Compiles the library classes only -->
   
  -    <target name="lib" depends="prepare"
  +    <target name="compile" depends="prepare"
               description="Compiles the library classes only.">
           <javac srcdir="${build.src}"
               destdir="${build.dest}"
  @@ -99,9 +100,13 @@
               optimize="${optimize}"/>
       </target>
   
  +    <!-- lib target.  Preserved for backward compatibility. -->
  +
  +    <target name="lib" depends="compile"/>
  +
       <!-- examples target.  Compiles the example classes. -->
   
  -    <target name="examples" depends="prepare,lib"
  +    <target name="examples" depends="prepare,compile"
               description="Compiles the example classes.">
           <javac srcdir="${build.src}"
               destdir="${build.dest}"
  @@ -113,7 +118,7 @@
   
       <!-- tools target.  Compiles the tool classes. -->
   
  -    <target name="tools" depends="prepare,lib"
  +    <target name="tools" depends="prepare,compile"
               description="Compiles the tool classes.">
           <javac srcdir="${build.src}"
               destdir="${build.dest}"
  @@ -125,7 +130,7 @@
       
       <!-- tests target.  Compiles and runs the unit tests. -->
   
  -    <target name="tests" depends="prepare,lib"
  +    <target name="tests" depends="prepare,compile"
               description="Compiles and runs the unit tests.">
           <javac srcdir="${build.src}/tests"
               destdir="${build.tests}"
  @@ -136,7 +141,7 @@
   
       <!-- jar target.  Compiles the source directory and creates a .jar file -->
   
  -    <target name="jar" depends="lib"
  +    <target name="jar" depends="compile"
             description="Compiles the source directory and creates a .jar file.">
           <jar jarfile="${top.dir}/${final.name}.jar"
               basedir="${build.dest}"
  @@ -183,7 +188,7 @@
       </target>
   
       <!-- docs target.  Creates project web pages and documentation. -->
  -    <target name="docs" depends="prepare-error,lib,examples"
  +    <target name="docs" depends="prepare-error,compile,examples"
             description="Creates the project web pages and documentation."
   	  if="AnakiaTask.present">
         <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask">
  
  
  

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


Mime
View raw message