commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-commons-sandbox/resources build.xml
Date Mon, 05 Jul 2004 21:46:17 GMT
craigmcc    2004/07/05 14:46:17

  Modified:    resources build.xml
  Log:
  Re-generate build.xml (using Maven 1.0-rc4) to pick up the Hibernate
  dependency.
  
  Revision  Changes    Path
  1.23      +48 -14    jakarta-commons-sandbox/resources/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/resources/build.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- build.xml	8 Sep 2003 18:20:52 -0000	1.22
  +++ build.xml	5 Jul 2004 21:46:17 -0000	1.23
  @@ -1,20 +1,20 @@
   <?xml version="1.0" encoding="UTF-8"?>
   
  -<!--
  -  build.xml generated by maven from project.xml version 1.0-dev
  -  on date September 8 2003, time 1921
  --->
  +<!--build.xml generated by maven from project.xml version 1.0-dev
  +  on date July 5 2004, time 1441-->
   
   <project default="jar" name="commons-resources" basedir=".">
  -  <property name="defaulttargetdir" value="target">
  +  <property name="defaulttargetdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/resources/target">
     </property>
  -  <property name="libdir" value="target/lib">
  +  <property name="libdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/resources/target/lib">
     </property>
  -  <property name="classesdir" value="target/classes">
  +  <property name="classesdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/resources/target/classes">
     </property>
  -  <property name="testclassesdir" value="target/test-classes">
  +  <property name="testclassesdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/resources/target/test-classes">
     </property>
  -  <property name="testreportdir" value="target/test-reports">
  +  <property name="testclassesdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/resources/target/test-classes">
  +  </property>
  +  <property name="testreportdir" value="/home/craigmcc/Apache/jakarta-commons-sandbox/resources/target/test-reports">
     </property>
     <property name="distdir" value="dist">
     </property>
  @@ -45,6 +45,20 @@
           </fileset>
         </classpath>
       </javac>
  +    <copy todir="${classesdir}">
  +      <fileset dir=".">
  +        <include name="**/*.properties">
  +        </include>
  +      </fileset>
  +    </copy>
  +    <mkdir dir="${classesdir}/META-INF">
  +    </mkdir>
  +    <copy todir="${classesdir}/META-INF">
  +      <fileset dir=".">
  +        <include name="NOTICE.txt">
  +        </include>
  +      </fileset>
  +    </copy>
       <copy todir="${testclassesdir}">
         <fileset dir="src/test">
           <include name="**/*.properties">
  @@ -55,7 +69,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,17 +137,25 @@
           </pathelement>
         </classpath>
       </javac>
  +    <copy todir="${testclassesdir}">
  +      <fileset dir="/home/craigmcc/Apache/jakarta-commons-sandbox/resources/src/test">
  +        <include name="**/*.properties">
  +        </include>
  +        <include name="**/*.xml">
  +        </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>
         <format pattern="2002-yyyy" property="year">
         </format>
       </tstamp>
  -    <property name="copyright" value="Copyright &amp;copy;  Apache Software Foundation.
All Rights Reserved.">
  +    <property name="copyright" value="Copyright &amp;copy;  The Apache Software
Foundation. All Rights Reserved.">
       </property>
  -    <property name="title" value="commons-resources 1.0-dev API">
  +    <property name="title" value="Commons Resources 1.0-dev API">
       </property>
       <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true"
sourcepath="src/java" packagenames="org.apache.commons.resources.*">
         <classpath>
  @@ -141,7 +163,7 @@
             <include name="*.jar">
             </include>
           </fileset>
  -        <pathelement location="target/${final.name}.jar">
  +        <pathelement location="${defaulttargetdir}/${final.name}.jar">
           </pathelement>
         </classpath>
       </javadoc>
  @@ -161,7 +183,19 @@
       </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}/hibernate-2.1.3.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/hibernate/jars/hibernate-2.1.3.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>
  +    <get dest="${libdir}/dom4j-1.4.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4.jar">
  +    </get>
  +    <get dest="${libdir}/cglib-full-2.0.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/cglib/jars/cglib-full-2.0.jar">
  +    </get>
  +    <get dest="${libdir}/oscache-2.0.1.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/opensymphony/jars/oscache-2.0.1.jar">
  +    </get>
  +    <get dest="${libdir}/geronimo-spec-jta-1.0-M1.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/geronimo-spec/jars/geronimo-spec-jta-1.0-M1.jar">
  +    </get>
  +    <get dest="${libdir}/hsqldb-1.7.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/hsqldb/jars/hsqldb-1.7.1.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>
  
  
  

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