commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r149301 - jakarta/commons/proper/configuration/trunk/build.xml
Date Mon, 31 Jan 2005 21:14:31 GMT
Author: oheger
Date: Mon Jan 31 13:14:28 2005
New Revision: 149301

URL: http://svn.apache.org/viewcvs?view=rev&rev=149301
Log:
Next trial to get the nightly builds running

Modified:
    jakarta/commons/proper/configuration/trunk/build.xml

Modified: jakarta/commons/proper/configuration/trunk/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/build.xml?view=diff&r1=149300&r2=149301
==============================================================================
--- jakarta/commons/proper/configuration/trunk/build.xml (original)
+++ jakarta/commons/proper/configuration/trunk/build.xml Mon Jan 31 13:14:28 2005
@@ -20,6 +20,12 @@
   </property>
   <property name="javadocdir" value="dist/docs/api">
   </property>
+  
+  <!-- Manual changes for dealing with the conf directory -->
+  <property name="confdir" value="conf"/>
+  <property name="targetconfdir" value="${defaulttargetdir}/${confdir}"/>
+  <!-- Manual changes end -->
+  
   <property name="final.name" value="commons-configuration-1.1-dev">
   </property>
   <path id="build.classpath">
@@ -101,6 +107,15 @@
         </pathelement>
         <pathelement path="${classesdir}">
         </pathelement>
+        <!-- Manual changes for dealing with the conf directory -->
+        <pathelement path="${targetconfdir}"/>
+        <path>
+          <fileset dir="${targetconfdir}">
+            <include name="resources.jar"/>
+          </fileset>
+        </path>
+        <!-- Manual changes end -->
+        
       </classpath>
       <batchtest todir="${testreportdir}">
         <fileset dir="src/test">
@@ -136,14 +151,16 @@
         </pathelement>
       </classpath>
     </javac>
-    <copy todir="${testclassesdir}">
-      <fileset dir="src/test">
+    <!-- Manual changes for dealing with the conf directory -->
+    <mkdir dir="${targetconfdir}"/>
+    <copy todir="${targetconfdir}">
+      <fileset dir="${confdir}">
         <include name="*.xml">
         </include>
       </fileset>
     </copy>
-    <copy todir="${testclassesdir}">
-      <fileset dir="src/test">
+    <copy todir="${targetconfdir}">
+      <fileset dir="${confdir}">
         <include name="testClasspath.properties">
         </include>
         <include name="testdb.script">
@@ -152,12 +169,13 @@
         </include>
         <include name="*.dtd">
         </include>
+        <include name="resources.jar"/>
       </fileset>
     </copy>
-    <mkdir dir="${testclassesdir}/org/apache/commons/configuration">
+    <mkdir dir="${targetconfdir}/org/apache/commons/configuration">
     </mkdir>
-    <copy todir="${testclassesdir}/org/apache/commons/configuration">
-      <fileset dir="src/test">
+    <copy todir="${targetconfdir}/org/apache/commons/configuration">
+      <fileset dir="${confdir}">
         <include name="test.properties">
         </include>
         <include name="include.properties">
@@ -167,11 +185,12 @@
     <mkdir dir="${testclassesdir}/config">
     </mkdir>
     <copy todir="${testclassesdir}/config">
-      <fileset dir="src/test">
+      <fileset dir="${confdir}">
         <include name="**/*.properties">
         </include>
       </fileset>
     </copy>
+    <!-- Manual changes end -->
   </target>
   <target name="javadoc" description="o Generate javadoc" depends="get-deps">
     <mkdir dir="${javadocdir}">



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message