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-xdoclet-module.xml
Date Mon, 22 Dec 2003 10:09:34 GMT
tomdz       2003/12/22 02:09:34

  Modified:    .        build-xdoclet-module.xml
  Log:
  Tweaked build
  
  Revision  Changes    Path
  1.4       +14 -4     db-ojb/build-xdoclet-module.xml
  
  Index: build-xdoclet-module.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/build-xdoclet-module.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build-xdoclet-module.xml	18 Dec 2003 22:28:05 -0000	1.3
  +++ build-xdoclet-module.xml	22 Dec 2003 10:09:34 -0000	1.4
  @@ -68,14 +68,24 @@
           <copy file="${src.xdoclet}/pretty.settings" todir="${xdoclet.src.dir}/config/.Refactory"/>
       </target>
   
  -    <!-- Creates XDoclet (including its modules) -->
  -    <target name="build-xdoclet" depends="copy-to-xdoclet,setup-prettyprinting">
  -        <!-- First we build xjavadoc -->
  +    <!-- Checks whether xjavadoc needs to be build -->
  +    <target name="check-xjavadoc">
  +        <available property="xdoclet.xjavadoc.present"
  +                   file="${xdoclet.src.dir}/lib/xjavadoc*.jar"
  +                   type="file"/>
  +    </target>
  +
  +    <!-- Creates XJavaDoc if necessary -->
  +    <target name="build-xjavadoc" depends="check-xjavadoc" unless="xdoclet.xjavadoc.present">
           <ant dir="${xdoclet.src.dir}"
                target="xjavadoc"
                inheritall="false">
           </ant>
  -        <!-- Next we build the modules (this includes the OJB module) -->
  +    </target>
  +
  +    <!-- Creates XDoclet (including XJavaDoc and its modules) -->
  +    <target name="build-xdoclet" depends="copy-to-xdoclet,setup-prettyprinting,build-xjavadoc">
  +        <!-- this includes the OJB module -->
           <ant dir="${xdoclet.src.dir}"
                target="modules"
                inheritall="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