tomdz 2005/02/09 13:06:11
Modified: . Tag: OJB_1_0_RELEASE build.xml
Log:
Moved Ant check into doc target as the stable branch ships with Ant and thus
does not require an Ant installation to compile (only to build the docs)
Revision Changes Path
No revision
No revision
1.144.2.19 +8 -8 db-ojb/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/db-ojb/build.xml,v
retrieving revision 1.144.2.18
retrieving revision 1.144.2.19
diff -u -r1.144.2.18 -r1.144.2.19
--- build.xml 9 Feb 2005 11:14:28 -0000 1.144.2.18
+++ build.xml 9 Feb 2005 21:06:11 -0000 1.144.2.19
@@ -98,13 +98,6 @@
</target>
<target name="environment-check" depends="detect-jdk">
- <fail message="Please set the ANT_HOME environment variable to
the root of your Ant installation.">
- <condition>
- <not>
- <isset property="env.ANT_HOME"/>
- </not>
- </condition>
- </fail>
<fail message="Please make JUnit available in the classpath,
e.g. by copying the junit.jar from OJB's lib subdirectory into the lib
subdirectory of your Ant installation (${env.ANT_HOME}/lib).">
<condition>
<not>
@@ -771,6 +764,13 @@
<!-- ==================================================================
-->
<target name="doc" depends="prepare,javadoc"
description="Builds the complete documentation using Forrest">
+ <fail message="Please set the ANT_HOME environment variable to
the root of your Ant installation.">
+ <condition>
+ <not>
+ <isset property="env.ANT_HOME"/>
+ </not>
+ </condition>
+ </fail>
<fail message="Please set the FORREST_HOME environment variable to
the 'src/core' subdirectory of your Forrest installation. If you don't have yet
installed Forrest, you can get it from http://forrest.apache.org.">
<condition>
<not>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]