db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb build.xml
Date Sat, 24 Apr 2004 12:02:40 GMT
arminw      2004/04/24 05:02:40

  Modified:    .        build.xml
  Log:
  add Forrest build target
  
  Revision  Changes    Path
  1.122     +29 -6     db-ojb/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/build.xml,v
  retrieving revision 1.121
  retrieving revision 1.122
  diff -u -r1.121 -r1.122
  --- build.xml	5 Apr 2004 17:11:47 -0000	1.121
  +++ build.xml	24 Apr 2004 12:02:40 -0000	1.122
  @@ -1,4 +1,5 @@
   <?xml version="1.0" encoding="UTF-8"?>
  +
   <!--
   /* Copyright 2002-2004 Apache Software Foundation
    *
  @@ -23,7 +24,6 @@
   -->
   
   <project name="ObJectRelationalBridge" default="all" basedir=".">
  -
       <!-- Allow any user specific values to override the defaults -->
       <property file="${user.home}/build.properties" />
       <property file="build.properties"/>
  @@ -66,7 +66,7 @@
       <!-- ================================================================== -->
       <!-- I N I T                                                            -->
       <!-- ================================================================== -->
  -    <target name="init" depends="splash, set-archive-name,set-archive-name-date,
  +    <target name="init" depends="set-archive-name,set-archive-name-date,
       							 use-jdk12, use-jdk13, use-jdk14">
           <available property="junit.present" classname="junit.framework.TestCase"/>
           <condition property="j2ee.classes">
  @@ -285,7 +285,7 @@
       <!-- conditional tasks. Maybe there's a better solution ?               -->
       <!-- ================================================================== -->
   
  -	<target name="checkP6Spy" depends="splash">
  +	<target name="checkP6Spy" depends="">
   	    <condition property="shouldUseP6Spy">
   		<istrue value="${useP6Spy}">
   		</istrue>
  @@ -383,7 +383,7 @@
       <!-- Build the JAR file using main-opt                                  -->
       <!-- ================================================================== -->
   
  -    <target name="jar" description="Builds the binary ojb-xxx.jar in the dist directory.">
  +    <target name="jar" depends="" description="Builds the binary ojb-xxx.jar in the
dist directory.">
   		<ant target="main-opt"/>
   		<ant target="jar-internal"/>
       </target>
  @@ -593,6 +593,30 @@
               description="Builds the complete documentation.">
       </target>
   
  +    <target name="forrest" depends="">
  +        <property name="src.static.files" value="${src.test}/org/apache/ojb"/>
  +        <property name="temp.forrest.dir" value="forrest/src/documentation/content"/>
  +        <!--
  +        forrest expects all static documents in content directory. these files will
  +        be copied to the forrest build directory. After running Forret we can remove them
  +        -->
  +        <copy file="${src.static.files}/repository.dtd" tofile="${temp.forrest.dir}/repository.dtd.txt"
/>
  +        <copy file="${src.static.files}/repository.xml" tofile="${temp.forrest.dir}/repository.xml.txt"
/>
  +        <copy file="${src.static.files}/repository_database.xml" tofile="${temp.forrest.dir}/repository_database.xml.txt"
/>
  +        <copy file="${src.static.files}/repository_internal.xml" tofile="${temp.forrest.dir}/repository_internal.xml.txt"
/>
  +        <copy file="${src.static.files}/repository_junit.xml" tofile="${temp.forrest.dir}/repository_junit.xml.txt"
/>
  +        <copy file="${src.static.files}/repository_user.xml" tofile="${temp.forrest.dir}/repository_user.xml.txt"
/>
  +        <copy file="${src.static.files}/tutorials/PBExample.java" tofile="${temp.forrest.dir}/PBExamples.txt"
/>
  +	    <copy file="${src.static.files}/OJB.properties" tofile="${temp.forrest.dir}/OJB.properties.txt"
/>
  +	    <copy file="release-notes.txt" tofile="${temp.forrest.dir}/release-notes.txt" />
  +
  +        <ant antfile="forrest-targets.xml" dir="forrest" target="site"/>
  +
  +        <delete>
  +            <fileset dir="${temp.forrest.dir}" includes="**/*.txt"/>
  +        </delete>
  +    </target>
  +
       <!-- ================================================================== -->
       <!-- Build the html-documentation                                       -->
       <!-- ================================================================== -->
  @@ -1227,7 +1251,6 @@
   	<copy file="${src.test}/org/apache/ojb/repository_junit.xml" tofile="${build.dir}/doc/repository_junit.xml.txt"
/>
   	<copy file="${src.test}/org/apache/ojb/repository_user.xml" tofile="${build.dir}/doc/repository_user.xml.txt"
/>
   	<copy file="${src.test}/org/apache/ojb/tutorials/PBExample.java" tofile="${build.dir}/doc/PBExamples.txt"
/>
  -
   	<copy file="${src.test}/org/apache/ojb/OJB.properties" tofile="${build.dir}/doc/OJB.properties.txt"
/>
     </target>
   
  
  
  

---------------------------------------------------------------------
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