summaryrefslogtreecommitdiff
blob: b55e10f5a0c2944345b700aaf128f353d92f05dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- 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"