Browse Source

Made it possible for users to overide build proeprties and default to using the log4j in myrmidon so it builds out of the box.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271761 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
87dfa8df78
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      proposal/xdocs/build.xml

+ 9
- 2
proposal/xdocs/build.xml View File

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


Loading…
Cancel
Save