db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject cvs commit: db-ojb build.xml
Date Wed, 09 Feb 2005 11:15:46 GMT
tomdz       2005/02/09 03:15:46

  Modified:    .        build.xml
  Log:
  Moved checks for Forrest and commons-resolver into the doc target
  
  Revision  Changes    Path
  1.165     +16 -15    db-ojb/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/build.xml,v
  retrieving revision 1.164
  retrieving revision 1.165
  diff -u -r1.164 -r1.165
  --- build.xml	26 Jan 2005 21:26:25 -0000	1.164
  +++ build.xml	9 Feb 2005 11:15:46 -0000	1.165
  @@ -98,13 +98,6 @@
   				</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>
  -					<isset property="env.FORREST_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>
  @@ -112,13 +105,6 @@
   				</not>
   			</condition>
   		</fail>
  -		<fail message="Please make the Apache XML Commons Resolver library available in the
classpath, e.g. by copying the xml-commons-resolver jar file from the 'tools/ant/lib' subdirectory
of your Forrest installation (${env.FORREST_HOME}/tools/ant/lib) into the lib subdirectory
of your Ant installation (${env.ANT_HOME}/lib).">
  -			<condition>
  -				<not>
  -	    		    <available classname="org.apache.xml.resolver.Resolver"/>
  -				</not>
  -			</condition>
  -		</fail>
   		<fail message="Please download the JDO 1.0.1 reference implementation from http://jcp.org/aboutJava/communityprocess/final/jsr012/index2.html
and copy the jdo.jar, jdori.jar and jdori-enhancer.jar contained in the reference implementation
binary archive, into OJB's lib directory.">
   	        <condition>
   	          	<not>
  @@ -770,6 +756,21 @@
       <!-- ================================================================== -->
       <target name="doc" depends="prepare,javadoc"
               description="Builds the complete documentation using Forrest">
  +        <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>
  +                    <isset property="env.FORREST_HOME"/>
  +                </not>
  +            </condition>
  +        </fail>
  +        <fail message="Please make the Apache XML Commons Resolver library available
in the classpath, e.g. by copying the xml-commons-resolver jar file from the 'tools/ant/lib'
subdirectory of your Forrest installation (${env.FORREST_HOME}/tools/ant/lib) into the lib
subdirectory of your Ant installation (${env.ANT_HOME}/lib).">
  +            <condition>
  +                <not>
  +                    <available classname="org.apache.xml.resolver.Resolver"/>
  +                </not>
  +            </condition>
  +        </fail>
  +
           <echo message="*** Preparing generation of documentation ..."/>
   
           <delete dir="${build.doc}" failonerror="false"/>
  
  
  

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


Mime
View raw message