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 junit-3.7.jar build.bat build.xml
Date Wed, 25 Jul 2001 18:54:44 GMT
dfs         01/07/25 11:54:44

  Modified:    build    build.bat build.xml
  Added:       build    junit-3.7.jar
  Log:
  Incremented version in preparation for next release.  Also added junit
  jar file and initial tests rule in preparation for unit tests for follow-on
  releases.
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-oro/build/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/build/build.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.bat	2001/05/16 08:53:33	1.1
  +++ build.bat	2001/07/25 18:54:44	1.2
  @@ -1,6 +1,6 @@
   @echo off
   
  -REM $Id: build.bat,v 1.1 2001/05/16 08:53:33 dfs Exp $
  +REM $Id: build.bat,v 1.2 2001/07/25 18:54:44 dfs Exp $
   REM --------------------------------------------
   REM Default == jar
   REM "lib"            target builds the library
  @@ -30,7 +30,7 @@
   if "%JAVA_HOME%" == "" goto javahomeerror
   
   if exist %JAVA_HOME%\lib\tools.jar set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
  -set CP=%CLASSPATH%;ant-1.3.jar;parser.jar
  +set CP=%CLASSPATH%;ant-1.3.jar;parser.jar;jaxp.jar;junit-3.7.jar
   
   echo Classpath: %CP%
   echo JAVA_HOME: %JAVA_HOME%
  
  
  
  1.13      +13 -2     jakarta-oro/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/build/build.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- build.xml	2001/07/09 11:55:08	1.12
  +++ build.xml	2001/07/25 18:54:44	1.13
  @@ -1,16 +1,17 @@
   <?xml version="1.0"?>
  -<!-- $Id: build.xml,v 1.12 2001/07/09 11:55:08 dfs Exp $ -->
  +<!-- $Id: build.xml,v 1.13 2001/07/25 18:54:44 dfs Exp $ -->
   
   <project name="Jakarta-ORO" default="jar" basedir=".">
   
     <property name="Name" value="Jakarta-ORO"/>
     <property name="year" value="2001"/>
  -  <property name="version" value="2.0.3-dev1"/>
  +  <property name="version" value="2.0.4"/>
     <property name="project" value="jakarta-oro"/>
     <property name="top.dir" value=".."/>
     <property name="code.src" value="${top.dir}/src"/>
     <property name="build.src" value="${top.dir}/src/java"/>  
     <property name="build.dest" value="${top.dir}/classes"/>
  +  <property name="build.tests" value="${build.dest}/tests"/>
   
     <property name="javadoc.destdir" value="${top.dir}/docs/api"/>
     <property name="final.name" value="${project}-${version}"/>
  @@ -26,6 +27,7 @@
   
       <target name="prepare">
           <mkdir dir="${build.dest}"/>
  +        <mkdir dir="${build.tests}"/>
           <mkdir dir="${docs.dest}"/>
           <available classname="org.apache.velocity.anakia.AnakiaTask"
                      property="AnakiaTask.present"/>
  @@ -82,6 +84,15 @@
               optimize="${optimize}"/>
       </target>
       
  +    <!-- tests target.  Compiles and runs the unit tests. -->
  +
  +    <target name="tests" depends="prepare,lib">
  +        <javac srcdir="${build.src}/tests"
  +            destdir="${build.tests}"
  +            debug="${debug}"
  +            deprecation="${deprecation}"
  +            optimize="${optimize}"/>
  +    </target>
   
       <!-- jar target.  Compiles the source directory and creates a .jar file -->
   
  
  
  
  1.1                  jakarta-oro/build/junit-3.7.jar
  
  	<<Binary file>>
  
  

Mime
View raw message