donaldp     02/03/06 00:30:39

  Modified:    proposal/xdocs build.xml
  Log:
  Made it possible for users to overide build proeprties and default to using 
the log4j in myrmidon so it builds out of the box.
  
  Revision  Changes    Path
  1.8       +9 -2      jakarta-ant/proposal/xdocs/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/xdocs/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml 5 Mar 2002 03:26:57 -0000       1.7
  +++ build.xml 6 Mar 2002 08:30:39 -0000       1.8
  @@ -1,7 +1,14 @@
   <?xml version="1.0" ?>
   <project name="XDoclet" default="main">
   
  -  <property name="log4j.jar" location="../../lib/optional/log4j.jar"/>
  +  <!--
  +    Give user a chance to override without editing this file
  +    (and without typing -D each time he compiles it)
  +  -->
  +  <property file=".ant.properties"/>
  +  <property file="${user.home}/.ant.properties"/>
  +
  +  <property name="log4j.jar" location="../myrmidon/lib/log4j-core.jar"/>
     <property name="xdoclet.jar" location="lib/xdoclet.jar"/>
   
     <property name="src.dir"
  @@ -114,7 +121,7 @@
       </document>
     </target>
   
  -  <target name="docs" depends="gen">
  +  <target name="docs"> <!-- depends=gen -->
       <mkdir dir="${build.dir}/docs" />
       <!-- Copy stuff so things are in the correct relative location. -->
       <copy todir="${build.dir}/docs">
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to