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/xdocs changes.xml
Date Tue, 01 Oct 2002 13:10:08 GMT
brekke      2002/10/01 06:10:08

  Modified:    net      build.xml project.xml
  Added:       net/xdocs changes.xml
  Log:
  Added Tapan Karecha as a contributor
  
  Regenerated the ant build file with maven-b7 since the unit tests now run
  before the jar is built
  
  Using new feature from maven-b7 to generate a change log for users.  Add
  information to xdocs/changes.xml per version.
  
  Moved up to junit-3.8.1
  
  Revision  Changes    Path
  1.9       +31 -37    jakarta-commons-sandbox/net/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/build.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- build.xml	8 Aug 2002 10:43:31 -0000	1.8
  +++ build.xml	1 Oct 2002 13:10:07 -0000	1.9
  @@ -1,8 +1,6 @@
   <?xml version="1.0" encoding="UTF-8"?>
   
  -<project basedir="." name="commons-net" default="jar">
  -
  -  <property file="build.properties"/>
  +<project default="jar" name="commons-net" basedir=".">
     
     <property name="defaulttargetdir" value="target"></property> 
     <property name="classesdir" value="target/classes"></property>
  @@ -12,22 +10,18 @@
     <property name="javadocdir" value="target/docs/apidocs"></property>
     <property name="final.name" value="commons-net-1.0.0-dev"></property>
     
  -  <target description="o Initializes some properties" name="init">
  +  <target name="init" description="o Initializes some properties">
   
       <condition property="noget">
         <equals arg2="only" arg1="${build.sysclasspath}"></equals>
       </condition>
  -
  -    <condition property="useproxy">
  -      <equals arg1="${proxy.use}" arg2="on" />
  -    </condition>
     </target>
  -    
  -  <target description="o Create the jar" name="jar" depends="get-deps">
   
  +  <target name="compile" description="o Compile the code" depends="get-deps">
  +    
       <mkdir dir="${classesdir}"></mkdir>
   
  -    <javac optimize="false" destdir="${classesdir}" excludes="**/package.html" deprecation="true"
debug="true">
  +    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false"
excludes="**/package.html">
         <src>
           <pathelement location="src/java"></pathelement>
         </src>
  @@ -37,7 +31,7 @@
           </fileset>
         </classpath>
       </javac>
  -
  +    
       
    
       
  @@ -56,28 +50,33 @@
       </copy>
    
       
  -    <jar basedir="${classesdir}" excludes="**/package.html" jarfile="target/${final.name}.jar"></jar>
  +
  +  </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 description="o Clean up the generated directories" name="clean">
  +  <target name="clean" description="o Clean up the generated directories">
       <delete dir="${defaulttargetdir}"></delete>
       <delete dir="${distdir}"></delete>
     </target>
   
  -  <target description="o Create a distribution" name="dist" depends="jar, javadoc">
  +  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
       <mkdir dir="dist"></mkdir>
       <copy todir="dist">
         <fileset dir="${defaulttargetdir}"></fileset>
       </copy>
     </target>
    
  -  <target description="o Run the test cases" name="test" depends="compile-tests">
  +  <target name="test" description="o Run the test cases" depends="compile-tests">
       <mkdir dir="${testreportdir}"></mkdir>
  -    <junit dir="./" printSummary="yes" haltonerror="true" fork="true">
  +    <junit dir="./" printSummary="yes" fork="true" haltonerror="true">
         <sysproperty key="basedir" value="src/test"></sysproperty>
         <formatter type="xml"></formatter>
  -      <formatter type="plain" usefile="true"></formatter>
  +      <formatter usefile="true" type="plain"></formatter>
         <classpath>
           <fileset dir="lib">
             <include name="*.jar"></include>
  @@ -96,9 +95,9 @@
       </junit>
     </target>
   
  -  <target name="compile-tests" depends="jar">
  +  <target name="compile-tests" depends="compile">
       <mkdir dir="${testclassesdir}"></mkdir>
  -    <javac optimize="false" destdir="${testclassesdir}" excludes="**/package.html" deprecation="true"
debug="true">
  +    <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false"
excludes="**/package.html">
         <src>
           <pathelement location="src/test"></pathelement>
         </src>
  @@ -123,21 +122,21 @@
       
     </target>
   
  -  <target description="o Generate javadoc" name="javadoc" depends="jar">
  +  <target name="javadoc" description="o Generate javadoc" depends="jar">
    
    
       <mkdir dir="${javadocdir}"></mkdir>
    
       
       <tstamp>
  -      <format property="year" pattern="1997-yyyy"></format>
  +      <format pattern="1997-yyyy" property="year"></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 author="true" destdir="${javadocdir}" version="true" use="true" private="true"
packagenames="org.apache.commons.*" sourcepath="src/java">
  +    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true"
sourcepath="src/java" packagenames="org.apache.commons.*">
         <classpath>
           <fileset dir="lib">
             <include name="*.jar"></include>
  @@ -148,19 +147,14 @@
    
     </target>
   
  -  <!-- Allow get to work with a proxy -->
  -  <target name="setproxy"  if="useproxy" depends="init">
  -    <taskdef name="setproxy"
  -      classname="org.apache.tools.ant.taskdefs.optional.net.SetProxy" />
  -    <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"/>
  -  </target>
  -
  -  <target name="get-deps" depends="setproxy,init" unless="noget">
  +  <target name="get-deps" unless="noget" depends="init">
     
       <mkdir dir="lib"></mkdir>
  -
  -    <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>
  +    
  +    <get dest="lib/oro-2.0.6.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/oro/jars/oro-2.0.6.jar"></get>
  +    <get dest="lib/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="lib/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar"></get>
     
     </target>
   
  @@ -177,11 +171,11 @@
   
       
   
  -    <get usetimestamp="true" src="${maven.repo.remote}/maven/maven-install-latest.jar"
dest="${user.home}/maven-install-latest.jar"></get>
  +    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${maven.repo.remote}/maven/maven-install-latest.jar"></get>
       
  -    <unjar src="${user.home}/maven-install-latest.jar" dest="${maven.home}"></unjar>
  +    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar"></unjar>
       
     </target>
   
   </project>
  -    
  +    
  \ No newline at end of file
  
  
  
  1.17      +6 -1      jakarta-commons-sandbox/net/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/project.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- project.xml	19 Sep 2002 20:57:12 -0000	1.16
  +++ project.xml	1 Oct 2002 13:10:07 -0000	1.17
  @@ -83,6 +83,10 @@
         <name>Steve Cohen</name>
         <email>stevecoh1@attbi.com</email>
       </contributor>
  +    <contributor>
  +      <name>Tapan Karecha</name>
  +      <email>tapan@india.hp.com</email>
  +    </contributor>
     </contributors>
     
     <dependencies>
  @@ -94,7 +98,8 @@
   
       <dependency>
         <id>junit</id>
  -      <version>3.7</version>
  +      <version>3.8.1</version>
  +      <url>http://junit.org/</url>
       </dependency>
       
     </dependencies>
  
  
  
  1.1                  jakarta-commons-sandbox/net/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
    <properties>
      <title>Changes</title>
      <author email="brekke@apache.org">Jeffrey D. Brekke</author>
    </properties>
  
    <body>
      <release version="1.0" date="in CVS">
        <action dev="brekke" type="add">
          Various site updates including this changes doc and publish date information.
        </action>
        <action dev="dfs" type="fix" due-to="Tapan Karecha" due-to-email="tapan@india.hp.com">
          Patch for restarting FTP file transfers.  The offset was not being sent immediately

          before the data transfer command on account.  The bug was apparently introduced
in 
          NetComponents when it was decided to always send a PORT command before each data

          transfer to avoid socket reuse problems on Windows.
        </action>
        <action dev="dfs" type="fix" due-to="Tapan Karecha" due-to-email="tapan@india.hp.com">
          Applied a fix for potential deadlock in TelnetInputStream by changing a wait() to
a wait(100).
        </action>
        <action dev="dfs" type="update">
          FTP examples now use passive ftp connections.
        </action>
      </release>
    </body>
  </document>
  
  
  
  

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