db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: db-ojb build.xml
Date Fri, 28 Feb 2003 21:30:13 GMT
thma        2003/02/28 13:30:13

  Modified:    .        build.xml
  Log:
  cosmetics: harmonize new targets to use - instead of .
  
  Revision  Changes    Path
  1.74      +10 -6     db-ojb/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/build.xml,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- build.xml	26 Feb 2003 21:04:53 -0000	1.73
  +++ build.xml	28 Feb 2003 21:30:13 -0000	1.74
  @@ -167,13 +167,17 @@
       </target>
   
   
  -    <target name="checkj2ee.classes" unless="j2ee.classes">
  +    <!-- ================================================================== -->
  +    <!-- auxilliary targets that verify that non-ditributable jars          -->
  +    <!-- are present on the classpath.                                      -->
  +    <!-- ================================================================== -->
  +    <target name="check-j2ee-classes" unless="j2ee.classes">
          <fail>j2ee.jar is missing! Please get it from http://java.sun.com/j2ee/. Put
it in lib or have the ant property j2ee.jars point at this jar file.</fail>
       </target>
  -    <target name="checkjdo.classes" unless="jdo.classes">
  +    <target name="check-jdo-classes" unless="jdo.classes">
          <fail>jdo.jar is missing! Please get it from http://java.sun.com/products/jdo.
Put it in lib or have the ant property jdo.jars point at this jar file.</fail>
       </target>
  -    <target name="checkjdori.classes" unless="jdori.classes">
  +    <target name="check-jdori-classes" unless="jdori.classes">
          <fail>jdori.jar is missing! Please get it from http://java.sun.com/products/jdo.
Put it in lib or have the ant property jdo.jars point at this jar file.</fail>
       </target>
   
  @@ -182,7 +186,7 @@
       <!-- ================================================================== -->
       <!-- Build all the sources with debug and deprecation                   -->
       <!-- ================================================================== -->
  -    <target name="main" depends="prepare, checkj2ee.classes, preprocess"
  +    <target name="main" depends="prepare, check-j2ee-classes, preprocess"
               description="Compile all Java sources with debugging on.">
           <javac srcdir="${build.src}" destdir="${build.dest}" excludes="${excludes}"
                  debug="on" deprecation="${deprecation}">
  @@ -195,7 +199,7 @@
       </target>
   
       <!-- include OJB JDORI implementation -->
  -    <target name="with-jdori" depends="prepare, checkjdo.classes, checkjdori.classes"
  +    <target name="with-jdori" depends="prepare, check-jdo-classes, check-jdori-classes"
               description="Compile OJB JDORI">
   	<copy todir="${build.src}">
               <fileset dir="${src.dir}/jdori"/>
  @@ -932,7 +936,7 @@
   	<!-- ================================================================== -->
       <!-- jdo enhancer - enhancing Product class   			 				-->
       <!-- ================================================================== -->
  -	<target name="enhance" depends="checkjdori.classes">
  +	<target name="enhance" depends="check-jdori-classes">
   
   		<copy file="${src.test}/org/apache/ojb/tutorial4.jdo" todir="target/classestest/org/apache/ojb/"/>
   		<copy file="${src.test}/org/apache/ojb/jdo.dtd" todir="target/classestest/org/apache/ojb/"/>
  
  
  

Mime
View raw message