You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2005/04/07 18:22:59 UTC

svn commit: r160413 - cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/build.xml

Author: vgritsenko
Date: Thu Apr  7 09:22:57 2005
New Revision: 160413

URL: http://svn.apache.org/viewcvs?view=rev&rev=160413
Log:
allow it to compile under jdk 1.3

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/build.xml

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/build.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/build.xml?view=diff&r1=160412&r2=160413
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/build.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/build.xml Thu Apr  7 09:22:57 2005
@@ -27,9 +27,14 @@
     <fileset dir="${basedir}/lib/local">
       <include name="*.jar"/>
     </fileset>
+    <fileset dir="${basedir}/lib/endorsed">
+      <include name="*.jar"/>
+    </fileset>
   </path>
 
-  <available classname="${jdoEnhancer}" classpathref="ojb.classpath" property="jdo.present"/>
+  <available classname="${jdoEnhancer}"
+             classpathref="ojb.classpath"
+             property="jdo.present"/>
 
   <target name="main" unless="unless.exclude.webapp.samples" depends="jdo"/>
 
@@ -58,7 +63,8 @@
     </javac>
   </target>
 
-  <target name="jdo" if="jdo.present" unless="unless.exclude.webapp.samples" depends="prepare, compile">
+  <target name="jdo" depends="prepare, compile"
+          if="jdo.present" unless="unless.exclude.webapp.samples">
     <property name="build.blocks.ojb.samples.package" value="${build.blocks.ojb.samples}/org/apache/cocoon/ojb/samples/bean"/>
     <!-- Run the JDO Enhancer -->
     <echo>Running JDO Enhancer ...</echo>