You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by br...@apache.org on 2002/06/12 05:02:27 UTC

cvs commit: jakarta-commons-sandbox/net build.xml project.xml

brekke      2002/06/11 20:02:27

  Modified:    net      build.xml project.xml
  Log:
  Updated build.xml and project.xml to keep up with Maven.
  
  Revision  Changes    Path
  1.4       +147 -66   jakarta-commons-sandbox/net/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml	12 Apr 2002 04:41:30 -0000	1.3
  +++ build.xml	12 Jun 2002 03:02:27 -0000	1.4
  @@ -1,15 +1,15 @@
   <?xml version="1.0"?>
   
  -<project name="maven" default="maven:jar" basedir=".">
  +<project name="commons-net" default="maven:jar" basedir=".">
   
     <!-- Give user a chance to override without editing this file
          (and without typing -D each time they invoke a target) -->
   
     <!-- Allow any user specific values to override the defaults -->
     <property file="${user.home}/build.properties" />
  -  <!-- Allow user defaults for this project -->
  +  <!-- Allow user defaults for this build -->
     <property file="build.properties" />
  -  <!-- Set default values for the build -->
  +  <!-- Set default values for the project -->
     <property file="project.properties" />
   
     <!-- maven:start -->
  @@ -18,106 +18,187 @@
     <!-- D E L E G A T O R S                                                -->
     <!-- ================================================================== -->
           
  -    <target name="maven:site">
  -      <ant antfile="${maven.home}/build-docs.xml" target="site"/>
  +
  +    <target name="maven:iutest">
  +      <ant antfile="${maven.home}/plugins/iutest/build.xml" target="iutest"/>
       </target>
   
  -    <target name="maven:fo">
  -      <ant antfile="${maven.home}/build-docs.xml" target="docs:fo"/>
  +
  +    <target name="maven:update-jars">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="update-jars"/>
       </target>
   
  -    <target name="maven:pdf">
  -      <ant antfile="${maven.home}/build-docs.xml" target="docs:pdf"/>
  +
  +    <target name="maven:docs">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="docs"/>
       </target>
  -        
  -    <target name="maven:jar">
  -      <ant antfile="${maven.home}/build-maven.xml" target="jar"/>
  +
  +
  +    <target name="maven:cvs-change-log">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="cvs-change-log"/>
       </target>
  -        
  -    <target name="maven:install-jar">
  -      <ant antfile="${maven.home}/build-maven.xml" target="install-jar"/>
  +
  +
  +    <target name="maven:compile">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="compile"/>
       </target>
  -        
  +
  +
  +    <target name="maven:pdf">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="pdf"/>
  +    </target>
  +
  +
  +    <target name="maven:validate-war">
  +      <ant antfile="${maven.home}/plugins/j2ee/build.xml" target="validate-war"/>
  +    </target>
  +
  +
       <target name="maven:env">
  -      <ant antfile="${maven.home}/build-maven.xml" target="env"/>
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="env"/>
       </target>
  -        
  -    <target name="maven:docs">
  -      <ant antfile="${maven.home}/build-docs.xml" target="docs"/>
  +
  +
  +    <target name="maven:deploy-site">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="deploy-site"/>
       </target>
  -        
  -    <target name="maven:test">
  -      <ant antfile="${maven.home}/build-test.xml" target="test"/>
  +
  +
  +    <target name="maven:gump-descriptor">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="gump-descriptor"/>
       </target>
   
  -    <target name="maven:iutest">
  -      <ant antfile="${maven.home}/build-iutest.xml" target="test"/>
  +
  +    <target name="maven:announce">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="announce"/>
       </target>
   
  -    <target name="maven:singletest">
  -      <ant antfile="${maven.home}/build-test.xml" target="run-singletest"/>
  +
  +    <target name="maven:install-jar">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="install-jar"/>
       </target>
  -        
  -    <target name="maven:clean">
  -      <ant antfile="${maven.home}/build-maven.xml" target="clean"/>
  +
  +
  +    <target name="maven:war">
  +      <ant antfile="${maven.home}/plugins/j2ee/build.xml" target="war"/>
       </target>
  -        
  -    <target name="maven:metrics">
  -      <ant antfile="${maven.home}/build-metrics.xml" target="metrics"/>
  +
  +
  +    <target name="maven:task-list">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="task-list"/>
       </target>
  -        
  +
  +
       <target name="maven:dist">
  -      <ant antfile="${maven.home}/build-maven.xml" target="dist"/>
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="dist"/>
       </target>
  -        
  -    <target name="maven:deploy-site">
  -      <ant antfile="${maven.home}/build-docs.xml" target="deploy-site"/>
  +
  +
  +    <target name="maven:javadocs">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="javadocs"/>
       </target>
   
  -    <target name="maven:deploy-dist">
  -      <ant antfile="${maven.home}/build-maven.xml" target="deploy-dist"/>
  +
  +    <target name="maven:ejb">
  +      <ant antfile="${maven.home}/plugins/j2ee/build.xml" target="ejb"/>
       </target>
  -        
  -    <target name="maven:gump-descriptor">
  -      <ant antfile="${maven.home}/build-maven.xml" target="gump-descriptor"/>
  +
  +
  +    <target name="maven:run-singletest">
  +      <ant antfile="${maven.home}/plugins/test/build.xml" target="run-singletest"/>
       </target>
   
  -    <target name="maven:cross-ref">
  -      <ant antfile="${maven.home}/build-docs.xml" target="cross-ref"/>
  +
  +    <target name="maven:jar">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="jar"/>
       </target>
  -    
  -    <target name="maven:cvs-change-log">
  -      <ant antfile="${maven.home}/build-docs.xml" target="cvs-change-log"/>
  +
  +
  +    <target name="maven:docs-quick">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="docs-quick"/>
       </target>
  -        
  -    <target name="maven:javadocs">
  -      <ant antfile="${maven.home}/build-docs.xml" target="javadocs"/>
  +
  +
  +    <target name="maven:validate-pom">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="validate-pom"/>
       </target>
  -        
  -    <target name="maven:compile">
  -      <ant antfile="${maven.home}/build-maven.xml" target="compile"/>
  +
  +
  +    <target name="maven:ear">
  +      <ant antfile="${maven.home}/plugins/j2ee/build.xml" target="ear"/>
       </target>
  -    
  -    <target name="maven:check-source">
  -      <ant antfile="${maven.home}/build-maven.xml" target="check-source"/>
  +
  +
  +    <target name="maven:validate-struts-war">
  +      <ant antfile="${maven.home}/plugins/struts/build.xml" target="validate-struts-war"/>
       </target>
  -        
  -    <target name="maven:update-jars">
  -      <ant antfile="${maven.home}/build-maven.xml" target="update-jars"/>
  +
  +
  +    <target name="maven:test">
  +      <ant antfile="${maven.home}/plugins/test/build.xml" target="test"/>
       </target>
   
  -    <target name="maven:announce">
  -      <ant antfile="${maven.home}/build-maven.xml" target="announce"/>
  +
  +    <target name="maven:deploy-dist">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="deploy-dist"/>
       </target>
   
  +
       <target name="maven:maven-update">
  -      <ant antfile="${maven.home}/build-maven.xml" target="maven-update"/>
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="maven-update"/>
       </target>
   
  -    <target name="maven:validate-pom">
  -      <ant antfile="${maven.home}/build-maven.xml" target="validate-pom"/>
  +
  +    <target name="maven:generate-reactor">
  +      <ant antfile="${maven.home}/plugins/reactor/build.xml" target="generate-reactor"/>
       </target>
  -    
  +
  +
  +    <target name="maven:clean">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="clean"/>
  +    </target>
  +
  +
  +    <target name="maven:fo">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="fo"/>
  +    </target>
  +
  +
  +    <target name="maven:dist-build">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="dist-build"/>
  +    </target>
  +
  +
  +    <target name="maven:site">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="site"/>
  +    </target>
  +
  +
  +    <target name="maven:activity-log">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="activity-log"/>
  +    </target>
  +
  +
  +    <target name="maven:cross-ref">
  +      <ant antfile="${maven.home}/plugins/docs/build.xml" target="cross-ref"/>
  +    </target>
  +
  +
  +    <target name="maven:verify-project">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="verify-project"/>
  +    </target>
  +
  +
  +    <target name="maven:metrics">
  +      <ant antfile="${maven.home}/plugins/metrics/build.xml" target="metrics"/>
  +    </target>
  +
  +
  +    <target name="maven:check-source">
  +      <ant antfile="${maven.home}/plugins/core/build.xml" target="check-source"/>
  +    </target>
  +
  +
     <!-- maven:end -->
   
   </project>
  
  
  
  1.10      +41 -43    jakarta-commons-sandbox/net/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/project.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- project.xml	31 May 2002 13:30:46 -0000	1.9
  +++ project.xml	12 Jun 2002 03:02:27 -0000	1.10
  @@ -1,7 +1,7 @@
  -<?xml version="1.0" encoding="UTF-8"?>
  +<?xml version="1.0"?>
   
   <project>
  -  <version>2</version>
  +  <pomVersion>3</pomVersion>
     <name>Jakarta Commons/Net</name>
     <id>commons-net</id>
     <currentVersion>1.0.0-dev</currentVersion>
  @@ -16,37 +16,38 @@
     
     <shortDescription>Jakarta Commons/Net</shortDescription>
     
  -   <description>
  -      This is an Internet protocol suite Java library originally 
  -      developed by ORO, Inc. This version supports Finger, Whois, 
  -      TFTP, Telnet, POP3, FTP, NNTP, SMTP, and some miscellaneous 
  -      protocols like Time and Echo as well as BSD R command support. 
  -      The purpose of the library is to provide fundamental protocol 
  -      access, not higher-level abstractions. Therefore, some of the 
  -      design violates object-oriented design principles. Our philosophy 
  -      is to make the global functionality of a protocal accesible (e.g., 
  -      TFTP send file and receive file) when possible, but also provide 
  -      access to the fundamental protocols where applicable so that the 
  -      programmer may construct his own custom implementations (e.g, the 
  -      TFTP packet classes and the TFTP packet send and receive methods are 
  -      exposed). NetComponents was originally a commercial product, but after 
  -      ORO dissolved, it was continued to be made available for those who 
  -      found it useful. However, no updates have been made since version 
  -      1.3.8, released in 1998. Now that certain contract obligations have 
  -      expired, it is possible to make the source code freely available under 
  -      the The Apache Software License.
  +  <description>
  +    This is an Internet protocol suite Java library originally 
  +    developed by ORO, Inc. This version supports Finger, Whois, 
  +    TFTP, Telnet, POP3, FTP, NNTP, SMTP, and some miscellaneous 
  +    protocols like Time and Echo as well as BSD R command support. 
  +    The purpose of the library is to provide fundamental protocol 
  +    access, not higher-level abstractions. Therefore, some of the 
  +    design violates object-oriented design principles. Our philosophy 
  +    is to make the global functionality of a protocal accesible (e.g., 
  +    TFTP send file and receive file) when possible, but also provide 
  +    access to the fundamental protocols where applicable so that the 
  +    programmer may construct his own custom implementations (e.g, the 
  +    TFTP packet classes and the TFTP packet send and receive methods 
  +    are exposed). NetComponents was originally a commercial product, 
  +    but after ORO dissolved, it was continued to be made available for 
  +    those who found it useful. However, no updates have been made since 
  +    version 1.3.8, released in 1998. Now that certain contract obligations 
  +    have expired, it is possible to make the source code freely available 
  +    under the The Apache Software License.
     </description>
     
     <url>http://jakarta.apache.org/commons/sandbox/net/</url>
  -  <cvsWebUrl>http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/net/</cvsWebUrl>
     <issueTrackingUrl>http://nagoya.apache.org/bugzilla/</issueTrackingUrl>
  -  
     <siteAddress>jakarta.apache.org</siteAddress>
  -  <siteDirectory>/www/jakarta.apache.org/commons/sandbox/net/</siteDirectory>
  +  <siteDirectory>/www/jakarta.apache.org/commons/sandbox/net/</siteDirectory> 
  +  <distributionDirectory/>
  +
  +  <repository>
  +    <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-commons-sandbox/net</connection>
  +    <url>http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/net/</url>
  +  </repository>
   
  -  <cvsRoot>:pserver:anoncvs@cvs.apache.org:/home/cvspublic</cvsRoot>
  -  <cvsModule>jakarta-commons-sandbox/net</cvsModule>
  -  
     <mailingLists>
       <mailingList>
         <name>Commons Developer List</name>
  @@ -65,13 +66,13 @@
       </developer>
       <developer>
         <name>Steve Cohen</name>
  -      <id></id>
  +      <id/>
         <email>stevecoh1@attbi.com</email>
  -      <organization></organization>
  +      <organization/>
       </developer>
       <developer>
         <name>Winston Ojeda</name>
  -      <id></id>
  +      <id/>
         <email>Winston.Ojeda@qg.com</email>
         <organization>Quad/Graphics, Inc.</organization>
       </developer>
  @@ -82,35 +83,32 @@
         <organization>savarese.org</organization>
       </developer>
     </developers>
  -
  -  <dependencies>  
  +  
  +  <dependencies>
       <dependency>
  -      <name>oro</name>
  +      <id>oro</id>
         <version>2.0.6</version>
         <url>http://jakarta.apache.org/oro/</url>
       </dependency>
     </dependencies>
     
     <build>
  -  
  -    <sourceDirectories>
  -      <sourceDirectory>src/java</sourceDirectory>
  -    </sourceDirectories>
  -  
  +
  +    <nagEmailAddress>commons-dev@jakarta.apache.org</nagEmailAddress>
  +
  +    <sourceDirectory>src/java</sourceDirectory>
  + 
       <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
       
       <unitTestPatterns>
         <unitTestPattern>include = **/*Test.java</unitTestPattern>
       </unitTestPatterns>
  -
  +    
       <integrationUnitTestSourceDirectory/>
       <integrationUnitTestPatterns/>
  -
  -    <aspectSourceDirectories/>
       
       <jarResources/>
       <jars/>
     
  -  </build>
  -
  +</build>
   </project>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>