You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by oh...@apache.org on 2005/01/29 19:44:58 UTC

svn commit: r149057 - /jakarta/commons/proper/configuration/trunk/build.xml

Author: oheger
Date: Sat Jan 29 10:44:57 2005
New Revision: 149057

URL: http://svn.apache.org/viewcvs?view=rev&rev=149057
Log:
Regenerated build.xml; hope the nightly builds work now
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&rev=149057&p1=jakarta/commons/proper/configuration/trunk/build.xml&r1=149056&p2=jakarta/commons/proper/configuration/trunk/build.xml&r2=149057
==============================================================================
--- jakarta/commons/proper/configuration/trunk/build.xml	(original)
+++ jakarta/commons/proper/configuration/trunk/build.xml	Sat Jan 29 10:44:57 2005
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!--build.xml generated by maven from project.xml version 1.0
-  on date October 11 2004, time 1132-->
+<!--build.xml generated by maven from project.xml version 1.1-dev
+  on date January 29 2005, time 1728-->
 
 <project default="jar" name="commons-configuration" basedir=".">
   <property name="defaulttargetdir" value="target">
@@ -20,7 +20,7 @@
   </property>
   <property name="javadocdir" value="dist/docs/api">
   </property>
-  <property name="final.name" value="commons-configuration-1.0">
+  <property name="final.name" value="commons-configuration-1.1-dev">
   </property>
   <path id="build.classpath">
     <fileset dir="${libdir}">
@@ -35,6 +35,8 @@
       <equals arg2="only" arg1="${build.sysclasspath}">
       </equals>
     </condition>
+    <!--Test if JUNIT is present in ANT classpath-->
+
     <available property="Junit.present" classname="junit.framework.Test">
     </available>
   </target>
@@ -53,39 +55,7 @@
       <fileset dir="conf">
         <include name="digesterRules.xml">
         </include>
-      </fileset>
-    </copy>
-    <copy todir="${testclassesdir}">
-      <fileset dir="conf">
-        <include name="*.xml">
-        </include>
-      </fileset>
-    </copy>
-    <copy todir="${testclassesdir}">
-      <fileset dir="conf">
-        <include name="testClasspath.properties">
-        </include>
-        <include name="testdb.script">
-        </include>
-        <include name="*.properties">
-        </include>
-      </fileset>
-    </copy>
-    <mkdir dir="${testclassesdir}/org/apache/commons/configuration">
-    </mkdir>
-    <copy todir="${testclassesdir}/org/apache/commons/configuration">
-      <fileset dir="conf">
-        <include name="test.properties">
-        </include>
-        <include name="include.properties">
-        </include>
-      </fileset>
-    </copy>
-    <mkdir dir="${testclassesdir}/config">
-    </mkdir>
-    <copy todir="${testclassesdir}/config">
-      <fileset dir="conf/config">
-        <include name="**/*.properties">
+        <include name="properties.dtd">
         </include>
       </fileset>
     </copy>
@@ -131,9 +101,6 @@
         </pathelement>
         <pathelement path="${classesdir}">
         </pathelement>
-        <fileset dir="conf">
-          <include name="**/*.jar"/>
-        </fileset>
       </classpath>
       <batchtest todir="${testreportdir}">
         <fileset dir="src/test">
@@ -143,14 +110,18 @@
           </exclude>
           <exclude name="**/NonStringTestHolder.java">
           </exclude>
+          <exclude name="**/TestAbstractConfiguration.java">
+          </exclude>
         </fileset>
       </batchtest>
     </junit>
   </target>
-  <target name="junit-present" unless="Junit.present" depends="compile-tests">
-    <echo>Junit isn't present in your ${ANT_HOME}/lib directory. Tests not done.</echo>
+  <target name="junit-present" unless="Junit.present" depends="init">
+    <echo>================================= WARNING ================================</echo>
+    <echo>Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed.</echo>
+    <echo>==========================================================================</echo>
   </target>
-  <target name="compile-tests" depends="compile">
+  <target name="compile-tests" if="Junit.present" depends="junit-present,compile">
     <mkdir dir="${testclassesdir}">
     </mkdir>
     <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
@@ -179,6 +150,8 @@
         </include>
         <include name="*.properties">
         </include>
+        <include name="*.dtd">
+        </include>
       </fileset>
     </copy>
     <mkdir dir="${testclassesdir}/org/apache/commons/configuration">
@@ -209,7 +182,7 @@
     </tstamp>
     <property name="copyright" value="Copyright &amp;copy;  The Apache Software Foundation. All Rights Reserved.">
     </property>
-    <property name="title" value="Commons Configuration 1.0 API">
+    <property name="title" value="Commons Configuration 1.1-dev API">
     </property>
     <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="org.apache.commons.configuration.*">
       <classpath>
@@ -219,6 +192,10 @@
     </javadoc>
   </target>
   <target name="get-deps" unless="noget" depends="init">
+    <!--Proxy settings works only with a JDK 1.2 and higher.-->
+
+    <setproxy>
+    </setproxy>
     <get dest="${libdir}/commons-collections-3.0.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-3.0.jar">
     </get>
     <get dest="${libdir}/commons-lang-2.0.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar">
@@ -237,6 +214,8 @@
     </get>
     <get dest="${libdir}/xml-apis-2.0.2.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-2.0.2.jar">
     </get>
+    <get dest="${libdir}/servletapi-2.3.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar">
+    </get>
     <get dest="${libdir}/spice-jndikit-1.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/spice/jars/spice-jndikit-1.1.jar">
     </get>
     <get dest="${libdir}/commons-dbcp-1.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-dbcp/jars/commons-dbcp-1.1.jar">
@@ -251,6 +230,16 @@
     </get>
     <get dest="${libdir}/junit-addons-1.4.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit-addons/jars/junit-addons-1.4.jar">
     </get>
+    <get dest="${libdir}/mockobjects-core-0.09.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/mockobjects/jars/mockobjects-core-0.09.jar">
+    </get>
+    <get dest="${libdir}/mockobjects-jdk1.4-j2ee1.3-0.09.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/mockobjects/jars/mockobjects-jdk1.4-j2ee1.3-0.09.jar">
+    </get>
+    <get dest="${libdir}/resources-1.0.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/resources/jars/resources-1.0.jar">
+    </get>
+    <get dest="${libdir}/maven-tasks-plugin-1.1.0.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/maven-plugins/plugins/maven-tasks-plugin-1.1.0.jar">
+    </get>
+    <get dest="${libdir}/maven-findbugs-plugin-0.8.4.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/maven-plugins/plugins/maven-findbugs-plugin-0.8.4.jar">
+    </get>
   </target>
   <target name="install-maven">
     <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
@@ -258,4 +247,4 @@
     <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
     </unjar>
   </target>
-</project>
+</project>
\ No newline at end of file

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