commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject cvs commit: jakarta-commons-sandbox/net build.xml
Date Tue, 06 Aug 2002 18:39:09 GMT
brekke      2002/08/06 11:39:09

  Modified:    net      build.xml
  Log:
  Generated ant build no fully functional.
  
  Revision  Changes    Path
  1.7       +19 -19    jakarta-commons-sandbox/net/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml	6 Aug 2002 17:29:05 -0000	1.6
  +++ build.xml	6 Aug 2002 18:39:09 -0000	1.7
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="UTF-8"?>
   
  -<project default="jar" name="commons-net" basedir=".">
  +<project basedir="." name="commons-net" default="jar">
     
     <property name="defaulttargetdir" value="target"></property> 
     <property name="classesdir" value="target/classes"></property>
  @@ -10,18 +10,18 @@
     <property name="javadocdir" value="target/docs/apidocs"></property>
     <property name="final.name" value="commons-net-1.0.0-dev"></property>
     
  -  <target name="init" description="o Initializes some properties">
  +  <target description="o Initializes some properties" name="init">
   
       <condition property="noget">
         <equals arg2="only" arg1="${build.sysclasspath}"></equals>
       </condition>
     </target>
       
  -  <target name="jar" description="o Create the jar" depends="get-deps">
  +  <target description="o Create the jar" name="jar" depends="get-deps">
   
       <mkdir dir="${classesdir}"></mkdir>
   
  -    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false"
excludes="**/package.html">
  +    <javac optimize="false" destdir="${classesdir}" excludes="**/package.html" deprecation="true"
debug="true">
         <src>
           <pathelement location="src/java"></pathelement>
         </src>
  @@ -50,28 +50,28 @@
       </copy>
    
       
  -    <jar jarfile="target/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}"></jar>
  +    <jar basedir="${classesdir}" excludes="**/package.html" jarfile="target/${final.name}.jar"></jar>
   
     </target>
     
  -  <target name="clean" description="o Clean up the generated directories">
  +  <target description="o Clean up the generated directories" name="clean">
       <delete dir="${defaulttargetdir}"></delete>
       <delete dir="${distdir}"></delete>
     </target>
   
  -  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
  +  <target description="o Create a distribution" name="dist" depends="jar, javadoc">
       <mkdir dir="dist"></mkdir>
       <copy todir="dist">
         <fileset dir="${defaulttargetdir}"></fileset>
       </copy>
     </target>
    
  -  <target name="test" description="o Run the test cases" depends="compile-tests">
  +  <target description="o Run the test cases" name="test" depends="compile-tests">
       <mkdir dir="${testreportdir}"></mkdir>
  -    <junit dir="./" printSummary="yes" fork="true" haltonerror="true">
  +    <junit dir="./" printSummary="yes" haltonerror="true" fork="true">
         <sysproperty key="basedir" value="src/test"></sysproperty>
         <formatter type="xml"></formatter>
  -      <formatter usefile="true" type="plain"></formatter>
  +      <formatter type="plain" usefile="true"></formatter>
         <classpath>
           <fileset dir="lib">
             <include name="*.jar"></include>
  @@ -92,7 +92,7 @@
   
     <target name="compile-tests" depends="jar">
       <mkdir dir="${testclassesdir}"></mkdir>
  -    <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false"
excludes="**/package.html">
  +    <javac optimize="false" destdir="${testclassesdir}" excludes="**/package.html" deprecation="true"
debug="true">
         <src>
           <pathelement location="src/test"></pathelement>
         </src>
  @@ -117,21 +117,21 @@
       
     </target>
   
  -  <target name="javadoc" description="o Generate javadoc" depends="jar">
  +  <target description="o Generate javadoc" name="javadoc" depends="jar">
    
    
       <mkdir dir="${javadocdir}"></mkdir>
    
       
       <tstamp>
  -      <format pattern="1997-yyyy" property="year"></format>
  +      <format property="year" pattern="1997-yyyy"></format>
       </tstamp>
    
       <property name="copyright" value="Copyright &amp;copy;  Apache Software Foundation.
All Rights Reserved."></property>
    
       <property name="title" value="Jakarta Commons/Net 1.0.0-dev API"></property>
    
  -    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true"
sourcepath="src/java" packagenames="org.apache.commons.*">
  +    <javadoc author="true" destdir="${javadocdir}" version="true" use="true" private="true"
packagenames="org.apache.commons.*" sourcepath="src/java">
         <classpath>
           <fileset dir="lib">
             <include name="*.jar"></include>
  @@ -142,12 +142,12 @@
    
     </target>
   
  -  <target name="get-deps" unless="noget" depends="init">
  +  <target name="get-deps" depends="init" unless="noget">
     
       <mkdir dir="lib"></mkdir>
       
  -    <get dest="lib/oro-2.0.6.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/mavenoro/jars/oro-2.0.6.jar"></get>
  -    <get dest="lib/junit-3.7.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/mavenjunit/jars/junit-3.7.jar"></get>
  +    <get usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/oro/jars/oro-2.0.6.jar"
dest="lib/oro-2.0.6.jar"></get>
  +    <get usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.7.jar"
dest="lib/junit-3.7.jar"></get>
     
     </target>
   
  @@ -164,9 +164,9 @@
   
       
   
  -    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${maven.repo.remote}maven/maven-install-latest.jar"></get>
  +    <get usetimestamp="true" src="${maven.repo.remote}/maven/maven-install-latest.jar"
dest="${user.home}/maven-install-latest.jar"></get>
       
  -    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar"></unjar>
  +    <unjar src="${user.home}/maven-install-latest.jar" dest="${maven.home}"></unjar>
       
     </target>
   
  
  
  

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


Mime
View raw message