commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <p...@steitz.com>
Subject Re: cvs commit: jakarta-commons/math build.xml
Date Thu, 24 Jun 2004 02:32:34 GMT
Ouch!  Once again, maven is generating local path references.  Does anyone 
know how to stop this???

I had hand-edited the previous version to correct this.

Phil

brentworden@apache.org wrote:
> brentworden    2004/06/23 06:43:24
> 
>   Modified:    math     build.xml
>   Log:
>   regenerated Ant script; dependencies were removed.
>   
>   Revision  Changes    Path
>   1.17      +25 -17    jakarta-commons/math/build.xml
>   
>   Index: build.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-commons/math/build.xml,v
>   retrieving revision 1.16
>   retrieving revision 1.17
>   diff -u -r1.16 -r1.17
>   --- build.xml	2 Jun 2004 14:47:03 -0000	1.16
>   +++ build.xml	23 Jun 2004 13:43:23 -0000	1.17
>   @@ -1,18 +1,20 @@
>    <?xml version="1.0" encoding="UTF-8"?>
>    
>    <!--build.xml generated by maven from project.xml version 1.0-dev
>   -  on date June 2 2004, time 1044-->
>   +  on date June 23 2004, time 0841-->
>    
>    <project default="jar" name="commons-math" basedir=".">
>   -  <property name="defaulttargetdir" value="target">
>   +  <property name="defaulttargetdir" value="C:\files\projects\apache\jakarta-commons\math/target">
>      </property>
>   -  <property name="libdir" value="target/lib">
>   +  <property name="libdir" value="C:\files\projects\apache\jakarta-commons\math/target/lib">
>      </property>
>   -  <property name="classesdir" value="target/classes">
>   +  <property name="classesdir" value="C:\files\projects\apache\jakarta-commons\math/target/classes">
>      </property>
>   -  <property name="testclassesdir" value="target/test-classes">
>   +  <property name="testclassesdir" value="C:\files\projects\apache\jakarta-commons\math/target/test-classes">
>      </property>
>   -  <property name="testreportdir" value="target/test-reports">
>   +  <property name="testclassesdir" value="C:\files\projects\apache\jakarta-commons\math/target/test-classes">
>   +  </property>
>   +  <property name="testreportdir" value="C:\files\projects\apache\jakarta-commons\math/target/test-reports">
>      </property>
>      <property name="distdir" value="dist">
>      </property>
>   @@ -53,7 +55,7 @@
>        </copy>
>      </target>
>      <target name="jar" description="o Create the jar" depends="compile,test">
>   -    <jar jarfile="target/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
>   +    <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html"
basedir="${classesdir}">
>        </jar>
>      </target>
>      <target name="clean" description="o Clean up the generated directories">
>   @@ -123,8 +125,16 @@
>            </pathelement>
>          </classpath>
>        </javac>
>   +    <copy todir="${testclassesdir}">
>   +      <fileset dir="C:\files\projects\apache\jakarta-commons\math\src\test">
>   +        <include name="**/*.xml">
>   +        </include>
>   +        <include name="**/*.txt">
>   +        </include>
>   +      </fileset>
>   +    </copy>
>      </target>
>   -  <target name="javadoc" description="o Generate javadoc" depends="jar">
>   +  <target name="javadoc" description="o Generate javadoc">
>        <mkdir dir="${javadocdir}">
>        </mkdir>
>        <tstamp>
>   @@ -141,25 +151,23 @@
>              <include name="*.jar">
>              </include>
>            </fileset>
>   -        <pathelement location="target/${final.name}.jar">
>   +        <pathelement location="${defaulttargetdir}/${final.name}.jar">
>            </pathelement>
>          </classpath>
>        </javadoc>
>      </target>
>      <target name="get-deps" unless="noget" depends="init">
>   -    <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">
>   +    <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">
>        </get>
>   -    <get dest="${libdir}/commons-logging-1.0.3.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//commons-logging/jars/commons-logging-1.0.3.jar">
>   +    <get dest="${libdir}/commons-logging-1.0.3.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar">
>        </get>
>   -    <get dest="${libdir}/commons-discovery-0.2.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//commons-discovery/jars/commons-discovery-0.2.jar">
>   +    <get dest="${libdir}/commons-discovery-0.2.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/commons-discovery/jars/commons-discovery-0.2.jar">
>        </get>
>   -    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//junit/jars/junit-3.8.1.jar">
>   +    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
>        </get>
>   -    <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven//ant/jars/ant-1.5.jar">
>   +    <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
>        </get>
>   -    <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//ant/jars/ant-optional-1.5.jar">
>   +    <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar">
>        </get>
>      </target>
>      <target name="install-maven">
>   
>   
>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
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