[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    svn commit: r149301 - jakarta/commons/proper/configuration/trunk/build.xml
From:       oheger () apache ! org
Date:       2005-01-31 21:14:31
Message-ID: 20050131211431.24099.qmail () minotaur ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic