| --- build.xml.orig 2005-04-17 16:14:52.000000000 +0200 |
| +++ build.xml 2005-04-17 16:14:57.000000000 +0200 |
| @@ -14,13 +14,15 @@ |
| <property file="../build.properties"/> <!-- Commons local -->
|
| <property file="${user.home}/build.properties"/> <!-- User local -->
|
|
|
| + <!-- The base directory for compilation targets -->
|
| + <property name="build.home" value="target"/>
|
|
|
| <!-- ========== External Dependencies ===================================== -->
|
|
|
|
|
| <!-- The directories corresponding to your necessary dependencies -->
|
| - <property name="junit.jar" value="../../junit3.7/junit.jar"/>
|
| - <property name="logger.jar" value="../../jakarta-commons/logging/target/commons-logging.jar"/>
|
| + <property name="junit.jar" value="${build.home}/lib/junit.jar"/>
|
| + <property name="logger.jar" value="${build.home}/lib/commons-logging.jar"/>
|
|
|
|
|
| <!-- ========== Component Declarations ==================================== -->
|
| @@ -38,8 +40,6 @@ |
| <!-- The current version number of this component -->
|
| <property name="component.version" value="0.2"/>
|
|
|
| - <!-- The base directory for compilation targets -->
|
| - <property name="build.home" value="target"/>
|
|
|
| <!-- The base directory for component configuration files -->
|
| <property name="conf.home" value="src/conf"/>
|
| @@ -116,6 +116,7 @@ |
|
|
|
|
| <target name="compile" depends="prepare" description="Compile shareable components">
|
| +
|
| <javac srcdir="${source.home}"
|
| destdir="${build.home}/classes"
|
| debug="${compile.debug}"
|
| @@ -163,10 +164,10 @@ |
| description="Create binary distribution">
|
| <!-- TODO: top level files like LICENSE and README -->
|
| <mkdir dir="${dist.home}"/>
|
| - <copy file="../LICENSE"
|
| - todir="${dist.home}"/>
|
| + <!--<copy file="LICENSE"
|
| + todir="${dist.home}"/>-->
|
| <mkdir dir="${build.home}/classes/META-INF"/>
|
| - <copy file="../LICENSE"
|
| + <copy file="LICENSE.txt"
|
| tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
|
| <jar jarfile="${dist.home}/commons-${component.name}.jar"
|
| basedir="${build.home}/classes"
|