avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-excalibur/lifecycle/impl/src/gump build.xml
Date Wed, 22 Oct 2003 00:52:02 GMT
mcconnell    2003/10/21 17:52:02

  Modified:    lifecycle/impl project.xml
  Added:       lifecycle/api/src/gump build.xml
               lifecycle/impl/src/gump build.xml
  Log:
  Add ant builds for gump.
  
  Revision  Changes    Path
  1.1                  avalon-excalibur/lifecycle/api/src/gump/build.xml
  
  Index: build.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!--build.xml generated by maven from project.xml version 1.0
    on date October 22 2003, time 0247-->
  
  <project default="jar" name="excalibur-lifecycle-api" basedir="../../">
    <property name="defaulttargetdir" value="target">
    </property>
    <property name="libdir" value="target/lib">
    </property>
    <property name="classesdir" value="target/classes">
    </property>
    <property name="testclassesdir" value="target/test-classes">
    </property>
    <property name="testreportdir" value="target/test-reports">
    </property>
    <property name="distdir" value="dist">
    </property>
    <property name="javadocdir" value="dist/docs/api">
    </property>
    <property name="final.name" value="excalibur-lifecycle-api-1.0">
    </property>
    <target name="init" description="o Initializes some properties">
      <mkdir dir="${libdir}">
      </mkdir>
      <condition property="noget">
        <equals arg2="only" arg1="${build.sysclasspath}">
        </equals>
      </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="F:\dev\avalon-excalibur\lifecycle\api\src\java">
          </pathelement>
        </src>
        <classpath>
          <fileset dir="${libdir}">
            <include name="*.jar">
            </include>
          </fileset>
        </classpath>
      </javac>
    </target>
    <target name="jar" description="o Create the jar" depends="compile,test">
      <jar jarfile="target/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
      </jar>
    </target>
    <target name="clean" description="o Clean up the generated directories">
      <delete dir="${defaulttargetdir}">
      </delete>
      <delete dir="${distdir}">
      </delete>
    </target>
    <target name="dist" description="o Create a distribution" depends="jar, javadoc">
      <mkdir dir="dist">
      </mkdir>
      <copy todir="dist">
        <fileset dir="${defaulttargetdir}" includes="*.jar">
        </fileset>
        <fileset dir="${basedir}" includes="LICENSE*, README*">
        </fileset>
      </copy>
    </target>
    <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
      <fail message="There were test failures.">
      </fail>
    </target>
    <target name="internal-test" depends="compile-tests">
    </target>
    <target name="compile-tests" depends="compile">
    </target>
    <target name="javadoc" description="o Generate javadoc" depends="jar">
      <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>
      <property name="title" value="Excalibur Lifecycle Extension API 1.0 API">
      </property>
      <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true"
sourcepath="F:\dev\avalon-excalibur\lifecycle\api\src\java" packagenames="org.apache.avalon.lifecycle.*">
        <classpath>
          <fileset dir="${libdir}">
            <include name="*.jar">
            </include>
          </fileset>
          <pathelement location="target/${final.name}.jar">
          </pathelement>
        </classpath>
      </javadoc>
    </target>
    <target name="get-deps" unless="noget" depends="init">
      <get dest="${libdir}/avalon-framework-api-4.1.5.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-api-4.1.5.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}/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>
    </target>
    <target name="install-maven">
      <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
      </get>
      <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
      </unjar>
    </target>
  </project>
  
  
  1.2       +1 -31     avalon-excalibur/lifecycle/impl/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/lifecycle/impl/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml	2 Oct 2003 03:07:21 -0000	1.1
  +++ project.xml	22 Oct 2003 00:52:02 -0000	1.2
  @@ -46,18 +46,6 @@
         <version>2.5.1</version>
       </dependency>
   
  -    <dependency>
  -      <id>log4j</id>
  -      <version>1.2.7</version>
  -    </dependency>
  -    <dependency>
  -      <id>logkit</id>
  -      <version>1.2</version>
  -    </dependency>
  -    <dependency>
  -      <id>junit</id>
  -      <version>3.7</version>
  -    </dependency>
     </dependencies>
   
     <build>
  @@ -66,15 +54,6 @@
       <sourceDirectory>src/java</sourceDirectory>
       <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
   
  -    <sourceModifications>
  -      <sourceModification>
  -        <className>java.util.logging.Logger</className>
  -        <excludes>
  -          <exclude>**/Jdk14Logger.java</exclude>
  -        </excludes>
  -      </sourceModification>
  -    </sourceModifications>
  -
       <!-- Unit test classes -->
   
       <unitTest>
  @@ -82,7 +61,7 @@
           <include>**/*TestCase.*</include>
         </includes>
         <excludes>
  -        <exclude>**/DefaultNSConfigurationBuilderTestCase.java</exclude>
  +        <exclude>**/Abstract*.java</exclude>
         </excludes> 
         <resources> 
           <resource>
  @@ -94,15 +73,6 @@
           </resource>
         </resources>
       </unitTest>
  -
  -    <sourceModifications>
  -      <sourceModification>
  -        <className>java.util.logging.Logger</className>
  -        <excludes>
  -          <exclude>**/Jdk14Logger.java</exclude>
  -        </excludes>
  -      </sourceModification>
  -    </sourceModifications>
   
     </build>
   
  
  
  
  1.1                  avalon-excalibur/lifecycle/impl/src/gump/build.xml
  
  Index: build.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!--build.xml generated by maven from project.xml version 1.0
    on date October 22 2003, time 0251-->
  
  <project default="jar" name="excalibur-lifecycle-impl" basedir="../../">
    <property name="defaulttargetdir" value="target">
    </property>
    <property name="libdir" value="target/lib">
    </property>
    <property name="classesdir" value="target/classes">
    </property>
    <property name="testclassesdir" value="target/test-classes">
    </property>
    <property name="testreportdir" value="target/test-reports">
    </property>
    <property name="distdir" value="dist">
    </property>
    <property name="javadocdir" value="dist/docs/api">
    </property>
    <property name="final.name" value="excalibur-lifecycle-impl-1.0">
    </property>
    <target name="init" description="o Initializes some properties">
      <mkdir dir="${libdir}">
      </mkdir>
      <condition property="noget">
        <equals arg2="only" arg1="${build.sysclasspath}">
        </equals>
      </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="F:\dev\avalon-excalibur\lifecycle\impl\src\java">
          </pathelement>
        </src>
        <classpath>
          <fileset dir="${libdir}">
            <include name="*.jar">
            </include>
          </fileset>
        </classpath>
      </javac>
      <copy todir="${testclassesdir}">
        <fileset dir="F:\dev\avalon-excalibur\lifecycle\impl\src\test">
          <include name="**/*.properties">
          </include>
          <include name="**/*.xml">
          </include>
        </fileset>
      </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>
    </target>
    <target name="clean" description="o Clean up the generated directories">
      <delete dir="${defaulttargetdir}">
      </delete>
      <delete dir="${distdir}">
      </delete>
    </target>
    <target name="dist" description="o Create a distribution" depends="jar, javadoc">
      <mkdir dir="dist">
      </mkdir>
      <copy todir="dist">
        <fileset dir="${defaulttargetdir}" includes="*.jar">
        </fileset>
        <fileset dir="${basedir}" includes="LICENSE*, README*">
        </fileset>
      </copy>
    </target>
    <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
      <fail message="There were test failures.">
      </fail>
    </target>
    <target name="internal-test" depends="compile-tests">
    </target>
    <target name="compile-tests" depends="compile">
    </target>
    <target name="javadoc" description="o Generate javadoc" depends="jar">
      <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>
      <property name="title" value="Excalibur Lifecycle Extension Impl 1.0 API">
      </property>
      <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true"
sourcepath="F:\dev\avalon-excalibur\lifecycle\impl\src\java" packagenames="org.apache.avalon.lifecycle.*">
        <classpath>
          <fileset dir="${libdir}">
            <include name="*.jar">
            </include>
          </fileset>
          <pathelement location="target/${final.name}.jar">
          </pathelement>
        </classpath>
      </javadoc>
    </target>
    <target name="get-deps" unless="noget" depends="init">
      <get dest="${libdir}/excalibur-lifecycle-api-1.0.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/excalibur-lifecycle/jars/excalibur-lifecycle-api-1.0.jar">
      </get>
      <get dest="${libdir}/avalon-framework-api-4.1.5.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-api-4.1.5.jar">
      </get>
      <get dest="${libdir}/avalon-framework-impl-4.1.5.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-impl-4.1.5.jar">
      </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}/xmlParserAPIs-2.0.2.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven/xml-apis/jars/xmlParserAPIs-2.0.2.jar">
      </get>
      <get dest="${libdir}/xerces-2.4.0.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/xerces/jars/xerces-2.4.0.jar">
      </get>
      <get dest="${libdir}/xalan-2.5.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/xalan/jars/xalan-2.5.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>
      <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>
    </target>
    <target name="install-maven">
      <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
      </get>
      <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
      </unjar>
    </target>
  </project>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message