Author: bayard
Date: Mon May 28 00:55:03 2007
New Revision: 542141

URL: http://svn.apache.org/viewvc?view=rev&rev=542141
Log:
Regenerated build.xml from changed pom

Modified:
    jakarta/commons/proper/cli/branches/cli-1.0.x/build.xml

Modified: jakarta/commons/proper/cli/branches/cli-1.0.x/build.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/cli/branches/cli-1.0.x/build.xml?view=diff&rev=542141&r1=542140&r2=542141
==============================================================================
--- jakarta/commons/proper/cli/branches/cli-1.0.x/build.xml (original)
+++ jakarta/commons/proper/cli/branches/cli-1.0.x/build.xml Mon May 28 00:55:03 
2007
@@ -1,46 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <!--build.xml generated by maven from project.xml version 1.1-SNAPSHOT
-  on date May 14 2007, time 1658-->
+  on date May 28 2007, time 0053-->
 
 <project default="jar" name="commons-cli" basedir=".">
-  <!--Load local and user build preferences-->
-
-  <property file="build.properties">
-  </property>
-  <property file="${user.home}/build.properties">
+  <property name="defaulttargetdir" value="target">
   </property>
-  <!--Build properties-->
-
-  <property name="defaulttargetdir" value="${basedir}/target">
+  <property name="libdir" value="target/lib">
   </property>
-  <property name="libdir" value="${user.home}/.maven/repository">
+  <property name="classesdir" value="target/classes">
   </property>
-  <property name="classesdir" value="${basedir}/target/classes">
+  <property name="testclassesdir" value="target/test-classes">
   </property>
-  <property name="testclassesdir" value="${basedir}/target/test-classes">
+  <property name="testclassesdir" value="target/test-classes">
   </property>
-  <property name="testreportdir" value="${basedir}/target/test-reports">
+  <property name="testreportdir" value="target/test-reports">
   </property>
-  <property name="distdir" value="${basedir}/dist">
+  <property name="distdir" value="dist">
   </property>
-  <property name="javadocdir" value="${basedir}/dist/docs/api">
+  <property name="javadocdir" value="dist/docs/api">
   </property>
   <property name="final.name" value="commons-cli-1.1-SNAPSHOT">
   </property>
-  <property name="proxy.host" value="">
-  </property>
-  <property name="proxy.port" value="">
-  </property>
-  <property name="proxy.username" value="">
-  </property>
-  <property name="proxy.password" value="">
-  </property>
   <path id="build.classpath">
-    <pathelement location="${libdir}/commons-lang/jars/commons-lang-2.1.jar">
-    </pathelement>
-    <pathelement location="${libdir}/junit/jars/junit-3.8.1.jar">
-    </pathelement>
+    <fileset dir="${libdir}">
+      <include name="**/*.jar">
+      </include>
+    </fileset>
   </path>
   <target name="init" description="o Initializes some properties">
     <mkdir dir="${libdir}">
@@ -53,25 +39,13 @@
 
     <available property="Junit.present" classname="junit.framework.Test">
     </available>
-    <!--Test if user defined a proxy-->
-
-    <condition property="useProxy">
-      <and>
-        <isset property="proxy.host">
-        </isset>
-        <not>
-          <equals trim="true" arg2="" arg1="${proxy.host}">
-          </equals>
-        </not>
-      </and>
-    </condition>
   </target>
   <target name="compile" description="o Compile the code" depends="get-deps">
     <mkdir dir="${classesdir}">
     </mkdir>
     <javac destdir="${classesdir}" deprecation="true" debug="true" 
optimize="false" excludes="**/package.html">
       <src>
-        <pathelement location="${basedir}/src/java">
+        <pathelement location="src/java">
         </pathelement>
       </src>
       <classpath refid="build.classpath">
@@ -105,7 +79,7 @@
   <target name="internal-test" if="Junit.present" 
depends="junit-present,compile-tests">
     <mkdir dir="${testreportdir}">
     </mkdir>
-    <junit dir="${basedir}" failureproperty="test.failure" printSummary="yes" 
fork="true" haltonerror="true">
+    <junit dir="./" failureproperty="test.failure" printSummary="yes" 
fork="true" haltonerror="true">
       <sysproperty key="basedir" value=".">
       </sysproperty>
       <formatter type="xml">
@@ -121,7 +95,7 @@
         </pathelement>
       </classpath>
       <batchtest todir="${testreportdir}">
-        <fileset dir="${basedir}/src/test">
+        <fileset dir="src/test">
           <include name="**/Test*.java">
           </include>
           <include name="**/*Test.java">
@@ -140,7 +114,7 @@
     </mkdir>
     <javac destdir="${testclassesdir}" deprecation="true" debug="true" 
optimize="false" excludes="**/package.html">
       <src>
-        <pathelement location="${basedir}/src/test">
+        <pathelement location="src/test">
         </pathelement>
       </src>
       <classpath>
@@ -162,51 +136,20 @@
     </property>
     <property name="title" value="CLI 1.1-SNAPSHOT API">
     </property>
-    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" 
version="true" sourcepath="${basedir}/src/java" 
packagenames="org.apache.commons.*">
+    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" 
version="true" sourcepath="src/java" packagenames="org.apache.commons.*">
       <classpath>
         <path refid="build.classpath">
         </path>
       </classpath>
     </javadoc>
   </target>
-  <target name="get-dep-commons-lang.jar" description="o Download the 
dependency : commons-lang.jar" unless="commons-lang.jar" 
depends="init,setProxy,noProxy,get-custom-dep-commons-lang.jar">
-    <mkdir dir="${libdir}/commons-lang/jars/">
-    </mkdir>
-    <get dest="${libdir}/commons-lang/jars/commons-lang-2.1.jar" 
usetimestamp="true" ignoreerrors="true" 
src="http://repo1.maven.org/maven/commons-lang/jars/commons-lang-2.1.jar";>
-    </get>
-  </target>
-  <target name="get-custom-dep-commons-lang.jar" if="commons-lang.jar" 
depends="init,setProxy,noProxy">
-    <mkdir dir="${libdir}/commons-lang/jars/">
-    </mkdir>
-    <get dest="${libdir}/commons-lang/jars/commons-lang-2.1.jar" 
usetimestamp="true" ignoreerrors="true" src="${commons-lang.jar}">
-    </get>
-  </target>
-  <target name="get-dep-junit.jar" description="o Download the dependency : 
junit.jar" unless="junit.jar" 
depends="init,setProxy,noProxy,get-custom-dep-junit.jar">
-    <mkdir dir="${libdir}/junit/jars/">
-    </mkdir>
-    <get dest="${libdir}/junit/jars/junit-3.8.1.jar" usetimestamp="true" 
ignoreerrors="true" 
src="http://repo1.maven.org/maven/junit/jars/junit-3.8.1.jar";>
-    </get>
-  </target>
-  <target name="get-custom-dep-junit.jar" if="junit.jar" 
depends="init,setProxy,noProxy">
-    <mkdir dir="${libdir}/junit/jars/">
-    </mkdir>
-    <get dest="${libdir}/junit/jars/junit-3.8.1.jar" usetimestamp="true" 
ignoreerrors="true" src="${junit.jar}">
-    </get>
-  </target>
-  <target name="get-deps" unless="noget" 
depends="get-dep-commons-lang.jar,get-dep-junit.jar">
-  </target>
-  <target name="setProxy" if="useProxy" depends="init">
+  <target name="get-deps" unless="noget" depends="init">
     <!--Proxy settings works only with a JDK 1.2 and higher.-->
 
-    <echo>Proxy used :</echo>
-    <echo>Proxy host [${proxy.host}]</echo>
-    <echo>Proxy port [${proxy.port}]</echo>
-    <echo>Proxy user [${proxy.username}]</echo>
-    <setproxy proxyuser="${proxy.username}" proxyport="${proxy.port}" 
proxypassword="${proxy.password}" proxyhost="${proxy.host}">
+    <setproxy>
     </setproxy>
-  </target>
-  <target name="noProxy" unless="useProxy" depends="init">
-    <echo>Proxy not used.</echo>
+    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" 
ignoreerrors="true" 
src="http://repo1.maven.org/maven/junit/jars/junit-3.8.1.jar";>
+    </get>
   </target>
   <target name="install-maven">
     <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" 
src="${repo}/maven/maven-install-latest.jar">



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to