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/docs/images soroLogo.gif
Date Wed, 03 Apr 2002 03:14:47 GMT
brekke      02/04/02 19:14:47

  Modified:    net      README build.xml
  Added:       net      build-legacy.properties build-legacy.xml
                        project.xml
  Removed:     net      CHANGES COPYRIGHT LICENSE build.properties
               net/docs/images soroLogo.gif
  Log:
  * Removed old text documents.
  * Renamed old build files to build-legacy.*
  * Added Maven project descriptor
  * Added standard build.xml
  * Added README with a small blurb about building the code and web site.
  * Removed docs directory and image
  
  Revision  Changes    Path
  1.2       +15 -146   jakarta-commons-sandbox/net/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/README,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README	3 Apr 2002 01:04:22 -0000	1.1
  +++ README	3 Apr 2002 03:14:47 -0000	1.2
  @@ -1,147 +1,16 @@
   
  -Copyright
  ----------
  -Please read the copyright statement and license agreement in the
  -COPYRIGHT and LICENSE files before using the package.  NetComponents
  -is now distributed under the LGPL and the copyright is owned by Daniel
  -Savarese.
  -
  -
  -Background
  -----------
  -This is the 1.3.8 version of NetComponents, 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.  Yet the library continues to be very popular.  Now
  -that certain contract obligations have expired, it is possible to make
  -the source code freely available under the LGPL.
  -
  -
  -Building
  ---------
  -
  -You need Ant (http://jakarta.apache.org/ant/) to build the source
  -code.
  -
  -
  -What about NetComponents 2.0?
  ------------------------------
  -
  -The original version of NetComponents was written in a very short
  -amount of time and subsequent maintenance releases have built on top
  -of that original "good enough, but flawed" design.  If I were to do
  -it again, I would do it completely differently.  That is a pretty
  -common theme in software development.  The experience you gain from
  -exploring a problem space in the first version of a piece of software
  -teaches you enough to know how to do the same thing better.
  -
  -A NetComponents 2.0 would be a completely new piece of software.
  -However, the factors that led to the development of NetComponents 1.x
  -are no longer present, and I have no inclination to do the grunt work
  -for NetComponents 2.0.  The implementation of IETF protocols is simple
  -and uninteresting.  Even though designing useful and well-designed
  -software interfaces combined with an efficient implementation is
  -always a challenge, I am not working on any projects that require the
  -functionality, flexibility, or efficiency that a NetComponents 2.0
  -would deliver.  It is the nature of opens source software development
  -to be driven by the needs of its users.  I don't have any need for a
  -new version of NetComponents, but many of its users do.
  -
  -Continued development of NetComponents will have to be driven by the
  -NetComponents user community.  Jon Stevens had suggested that
  -NetComponents be donated to the Apache Jakarta Project
  -(http//jakarta.apache.org/) at the same time the software that is now
  -Jakarta-ORO (http://jakarta.apache.org/oro/) was donated.  I wanted to
  -wait and see how Jakarta-ORO worked out before going forward with a
  -proposal to donate NetComponents.  My experience with Jakarta-ORO has
  -been disappointing.  Many developers use the software and report bugs
  -(many of which aren't bugs), but few, if any, are willing to help
  -advance the development of the software, leaving me as both a
  -bottleneck and a slave to Jakarta-ORO development.  I will see through
  -my commitment to fix bugs and develop the next major version of
  -Jakarta-ORO with Perl 5.6 compatability, but I do not wish to have the
  -same thing happen with NetComponents.  The user community must be
  -willing to continue developing the software and share their patches,
  -or there will be no Jakarta release.
  -
  -Jon Stevens successfully led the proposal effort for Jakarta-ORO and
  -probably would have done so for NetComponents as well.  But now that
  -the window of opportunity has passed, I would have mount a proposal
  -effort, or, ideally some other Jakarta member or avid NetComponents
  -user.  There are a series of conditions that a proposal has to meet
  -(http://jakarta.apache.org/site/newproject.html) before it can be
  -voted on; and I want to ensure that NetComponents has a strong user
  -community before a donation attempt is made.
  -
  -So the onus is on you, the NetComponents user, to see that
  -NetComponents continues to be developed.  First, we need a mailing
  -list.  I do not wish to become a slave to NetComponents, so I will not
  -do anything other than apply patches and distribute the software from
  -my web site.  Someone needs to set up a developer mailing list where
  -people can post patches.  I'll maintain a web page with links to all
  -resources, but that's it.  After we've established that there is
  -active interest in developing the software, as a member of the Jakarta
  -PMC, I will put forth a proposal to bring NetComponents under the
  -Jakarta fold.  Ideally, some other Jakarta member will volunteer to do
  -this so we can start off with several developers who are already
  -Jakarta committers.  I will not in any way support or condone the
  -further development of NetComponents through SourceForge.
  -
  -Future Work
  ------------
  -
  -NetComponents is "good enough" for a lot of tasks, but it has some
  -major flaws.  If you want to contribute, here are just a few things
  -that could use some work:
  -
  -1. DefaultFTPFileLister doesn't work with every FTP server.  Some
  -   Microsoft and VMS FTP servers foil it.  It is also wasteful of
  -   memory in that it parses the listing into a complete set of FTPFile
  -   instances when it could store the listing and just parse the
  -   listing on demand through an iterator.  An FTPFileListParser
  -   implementation should be created that is backed by the original
  -   listing and iterates through it using a regular expression.
  -   Regular exxpressions could be installed based on FTP server system
  -   id's, so when a user runs across an unsupported server, he can
  -   register a regular expression rather than create a completely new
  -   hand parsesd FTPFileLister implementation.
  -
  -2. Make buffer size settable for FTP data transfers using
  -   retrieveFile().  retrieveFile() uses Util.copyStream and a 1024
  -   byte buffer which is too small for some applications (Solaris SMP).
  -
  -3. Divorce FTPClient from TelnetClient, getting rid of the
  -   TelnetClient threads which cause problems on some platforms (e.g.,
  -   MacOS).
  -
  -4. Parse the client/server interactions without creating so many
  -   strings.  Many operations are slow because of this.
  -
  -5. Add ESMTP and extended NNTP commands (e.g., NNTP authentication).
  -
  -6. Make NNTPClient.listNewsgropus() and NNTPClient.listNewNews() more
  -   efficient.  Don't preparse into lots of little objects.
  -
  -7. TLS for FTP
  -
  -Contact Information
  --------------------
  -
  -All correspondence regarding NetComponents should be sent to
  -netcomponents at oroinc.com.  I will not answer support questions,
  -but I will accept patches and post information you provide, such as
  -the address of a developer mailing list.
  +o Building
  +
  +To build, you must have ant and maven installed.  Just type 'ant' -- the default
  +target will compile the classes, run the tests and build the jar
  +
  +Maven can be downloaded from the main site and there is good documentation
  +on the targets for building and installation instructions:
  +
  +http://jakarta.apache.org/turbine/maven
  +
  +o Documentation
  +
  +You can build the documenation with:
  +
  +ant maven:site
  
  
  
  1.2       +92 -150   jakarta-commons-sandbox/net/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/net/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	3 Apr 2002 01:04:22 -0000	1.1
  +++ build.xml	3 Apr 2002 03:14:47 -0000	1.2
  @@ -1,161 +1,103 @@
   <?xml version="1.0"?>
  -<!-- $Id: build.xml,v 1.1 2002/04/03 01:04:22 brekke Exp $ -->
   
  -<project default="all">
  +<project name="maven" default="maven:jar" basedir=".">
   
  -  <!-- Allow properties following these statements to be overridden -->
  -  <!-- Note that all of these don't have to exist.  They've just been defined
  -       incase they are used. -->
  -  <property file="build.properties"/>
  -<!--
  -  <property file=".ant.properties"/>
  -  <property file="${user.home}/.ant.properties"/>
  -  <property file="default.properties"/>  
  - -->
  -  <!-- Public Targets -->
  -
  -  <target name="all" depends="lib,jar,examples,javadocs"/>
  -
  -  <!-- prepare target.  Creates build directory. -->
  -
  -  <target name="prepare">
  -     <mkdir dir="${build.lib.dir}"/>
  -     <mkdir dir="${build.doc.java.dir}"/>
  -     <mkdir dir="${build.doc.java.dir}/images"/>
  -     <mkdir dir="${build.dir}/examples"/>
  -  </target>
  -
  -  <!-- lib target.  Compiles the library classes only -->
  -
  -  <target name="lib" depends="prepare">
  -     <javac srcdir="${src.java.dir}"
  -         destdir="${build.lib.dir}"
  -         excludes="examples/**"
  -         debug="${build.debug}"
  -         deprecation="${build.deprecation}"
  -         optimize="${build.optimize}"/>
  -  </target>
  -
  -  <!-- examples target.  Compiles the example classes. -->
  -
  -  <target name="examples" depends="prepare,jar">
  -     <javac srcdir="${src.java.dir}/examples"
  -         classpath="${build.lib.dir}/${project.name}.jar"
  -         destdir="${build.dir}/examples"
  -         debug="${build.debug}"
  -         deprecation="${build.deprecation}"
  -         optimize="${build.optimize}"/>
  -  </target>
  -
  -  <!-- jar target.  Compiles the source directory and creates a .jar file -->
  -
  -  <target name="jar" depends="lib">
  -      <jar jarfile="${build.lib.dir}/${project.name}.jar"
  -          basedir="${build.lib.dir}"
  -          includes="com/**"
  -          excludes="**/package.html,**/overview.html"/>
  -  </target>
  -  
  +  <!-- Give user a chance to override without editing this file
  +       (and without typing -D each time they invoke a target) -->
   
  -  <!-- javadocs target.  Creates the API documentation -->
  +  <!-- Allow any user specific values to override the defaults -->
  +  <property file="${user.home}/build.properties" />
  +  <!-- Allow user defaults for this project -->
  +  <property file="build.properties" />
  +  <!-- Set default values for the build -->
  +  <property file="project.properties" />
   
  -    <target name="javadocs" depends="prepare">
  -        <javadoc packagenames="com.oroinc.io,com.oroinc.util,com.oroinc.net,com.oroinc.net.bsd,com.oroinc.net.ftp,com.oroinc.net.nntp,com.oroinc.net.pop3,com.oroinc.net.smtp,com.oroinc.net.telnet,com.oroinc.net.tftp"
  -            sourcepath="${src.java.dir}"
  -            destdir="${build.doc.java.dir}"
  -            author="true"
  -            version="true"
  -            windowtitle="${name} ${version} API"
  -            doctitle="${name} ${version} API"
  -            header="&lt;map name=&apos;_logoMap&apos;&gt;&lt;area href=&apos;http://www.savarese.org/&apos;
alt=&apos;Savarese.Org Home&apos; shape=rect coords=&apos;0,0,66,14&apos;&gt;&lt;area
href=&apos;http://www.savarese.org/oro/&apos; alt=&apos;ORO Home&apos;shape=rect
coords=&apos;0,15,66,70&apos;&gt;&lt;/map&gt;&lt;img src=&apos;{@docroot}/../images/soroLogo.gif&apos;
alt=&apos;Savarese.Org/ORO Logo&apos; width=67 height=71 align=left border=0 hspace=1
vspace=0 usemap=&apos;#_logoMap&apos;&gt;"
  -            bottom="${copyright.message}">
  -<!--
  -           overview="${build.src.dir}/com/oroinc/overview.html"
  --->
  -        </javadoc>
  -        <copy todir="${build.doc.dir}/images" filtering="no">
  -           <fileset dir="${doc.dir}/images">
  -             <include name="**/*.gif"/>
  -           </fileset>
  -        </copy>
  -        <replace file="${build.doc.java.dir}/overview-frame.html"
  -                 token="{@docroot}" value="."/>
  -        <replace dir="${build.doc.java.dir}" includes="**/*.html"
  -                 token="@version@" value="${version}"/>
  -    </target>
  -
  -
  -    <target name="package-src">
  -        <delete dir="${build.dir}/${project.name}"
  -                quiet="true"
  -                includeEmptyDirs="true"/>
  -        <mkdir dir="${build.dir}/${project.name}"/>
  -        <copy todir="${build.dir}/${project.name}">
  -            <fileset dir="${top.dir}">
  -              <exclude name="**/CVS/**"/>
  -              <exclude name="build/**"/>
  -            </fileset>
  -        </copy>
  -    </target>
  -
  -    <target name="package-bin" depends="lib,jar,examples,javadocs">
  -        <delete dir="${build.dir}/${project.name}"
  -                quiet="true"
  -                includeEmptyDirs="true"/>
  -        <mkdir dir="${build.dir}/${project.name}"/>
  -        <copy todir="${build.dir}/${project.name}">
  -            <fileset dir="${build.dir}">
  -              <include name="lib/*.jar"/>
  -              <include name="examples/**"/>
  -              <include name="docs/**"/>
  -            </fileset>
  -            <fileset dir="${src.java.dir}">
  -              <include name="examples/**"/>
  -            </fileset>
  -            <fileset dir="${top.dir}">
  -              <exclude name="build/**"/>
  -              <exclude name="docs/**"/>
  -              <exclude name="src/**"/>
  -            </fileset>
  -        </copy>
  -    </target>
  -
  -   <target name="package-src-zip" depends="package-src">
  -        <zip zipfile="${build.dir}/${project.name}-src.zip"
  -             basedir="${build.dir}"
  -             includes="${project.name}/**"/>
  -   </target>
  -
  -   <target name="package-src-tgz" depends="package-src">
  -       <tar tarfile="${build.dir}/${project.name}-src.tar"
  -             basedir="${build.dir}"
  -             includes="${project.name}/**"/>
  -       <gzip zipfile="${build.dir}/${project.name}-src.tar.gz"
  -             src="${build.dir}/${project.name}-src.tar"/>
  -   </target>
  -
  -   <target name="package-bin-zip" depends="package-bin">
  -        <zip zipfile="${build.dir}/${project.name}-bin.zip"
  -             basedir="${build.dir}"
  -             includes="${project.name}/**"/>
  -   </target>
  -
  -   <target name="package-bin-tgz" depends="package-bin">
  -       <tar tarfile="${build.dir}/${project.name}-bin.tar"
  -             basedir="${build.dir}"
  -             includes="${project.name}/**"/>
  -       <gzip zipfile="${build.dir}/${project.name}-bin.tar.gz"
  -             src="${build.dir}/${project.name}-bin.tar"/>
  -   </target>
  -    
  -    <target name="package-all"
  -    depends="package-src-zip,package-src-tgz,package-bin-zip,package-bin-tgz">
  +  <!-- maven:start -->
  +  
  +  <!-- ================================================================== -->
  +  <!-- D E L E G A T O R S                                                -->
  +  <!-- ================================================================== -->
  +        
  +    <target 
  +      name="maven:site">
  +      <ant antfile="${maven.home}/build-docs.xml" target="site"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:jar">
  +      <ant antfile="${maven.home}/build-maven.xml" target="jar"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:install-jar">
  +      <ant antfile="${maven.home}/build-maven.xml" target="install-jar"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:env">
  +      <ant antfile="${maven.home}/build-maven.xml" target="env"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:docs">
  +      <ant antfile="${maven.home}/build-docs.xml" target="docs"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:test">
  +      <ant antfile="${maven.home}/build-test.xml" target="test"/>
       </target>
   
  -    <!-- Makes an attempt to clean up a little. -->
  +    <target 
  +      name="maven:iutest">
  +      <ant antfile="${maven.home}/build-iutest.xml" target="test"/>
  +    </target>
   
  -    <target name="clean">
  -        <delete dir="${build.dir}"/>
  +    <target 
  +      name="maven:singletest">
  +      <ant antfile="${maven.home}/build-test.xml" target="run-singletest"/>
       </target>
  +          
  +    <target 
  +      name="maven:clean">
  +      <ant antfile="${maven.home}/build-maven.xml" target="clean"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:metrics">
  +      <ant antfile="${maven.home}/build-metrics.xml" target="metrics"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:dist">
  +      <ant antfile="${maven.home}/build-maven.xml" target="dist"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:deploy-site">
  +      <ant antfile="${maven.home}/build-docs.xml" target="deploy-site"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:gump-descriptor">
  +      <ant antfile="${maven.home}/build-maven.xml" target="gump-descriptor"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:javadocs">
  +      <ant antfile="${maven.home}/build-docs.xml" target="javadocs"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:compile">
  +      <ant antfile="${maven.home}/build-maven.xml" target="compile"/>
  +    </target>
  +        
  +    <target 
  +      name="maven:update-jars">
  +      <ant antfile="${maven.home}/build-maven.xml" target="update-jars"/>
  +    </target>
  +    
  +  <!-- maven:end -->
   
   </project>
  
  
  
  1.1                  jakarta-commons-sandbox/net/build-legacy.properties
  
  Index: build-legacy.properties
  ===================================================================
  # ------------------------------------------------------------------------
  # build-legacy.properties
  #
  # This file controls various properties which may be set during a build.
  #
  # This file is intended to be modified by users to accomadate their own
  # working practices, or overridden by one of the property files specified
  # in build.xml.
  #
  --------------------------------------------------------------------------
  
  # Name and version information
  name=NetComponents
  version=1.3.8
  
  # Name and version of the project
  project.name=${name}-${version}
  
  top.dir=.
  
  # Temporary working directory.  Specified on a per user basis
  #tmp.dir=/tmp/${user.name}
  tmp.dir=.
  
  # Build directory
  #build.dir=${tmp.dir}/${project.name}/build
  build.dir=${tmp.dir}/build
  src.dir=${top.dir}/src
  src.java.dir=${src.dir}/java
  doc.dir=${top.dir}/docs
  doc.java.dir=${doc.dir}/api
  #doc.user.dir=${doc.dir}/user
  #doc.printer.dir=${doc.dir}/printer
  
  # Test results directory
  #check.dir=${tmp.dir}/${project.name}/check
  
  # Build properties
  build.debug=off
  build.deprecation=off
  build.optimize=on
  build.bin.dir=${build.dir}/bin
  build.lib.dir=${build.dir}/lib
  build.src.dir=${build.dir}/src/java
  build.data.dir=${build.dir}/conf
  build.doc.dir=${build.dir}/docs
  build.doc.java.dir=${build.dir}/docs/api
  
  # Installation properties
  install.dir=./${project.name}
  install.bin.dir=${install.dir}/bin
  install.lib.dir=${install.dir}/lib
  install.src.dir=${install.dir}/src/java
  install.data.dir=${install.dir}/conf
  install.doc.dir=${install.dir}/docs
  install.doc.java.dir=${build.dir}/docs/api
  
  # Document constants
  company.name=Daniel F. Savarese
    
  copyright.date=1997-2002
  copyright.message=Copyright &#169; ${copyright.date} ${company.name}. All Rights Reserved.
  
  # Time stamp patterns
  timestamp.fullTimeDate.pattern=EEEE, d MMMM yyyy hh:mm:ss aa (z)
  timestamp.longTimeDate.pattern=EEEE, d MMMM yyyy hh:mm:ss aa
  timestamp.shortTimeDate.pattern=dd/MM/yyyy HH:mm:ss
  
  
  
  1.1                  jakarta-commons-sandbox/net/build-legacy.xml
  
  Index: build-legacy.xml
  ===================================================================
  <?xml version="1.0"?>
  <!-- $Id: build-legacy.xml,v 1.1 2002/04/03 03:14:47 brekke Exp $ -->
  
  <project default="all">
  
    <!-- Allow properties following these statements to be overridden -->
    <!-- Note that all of these don't have to exist.  They've just been defined
         incase they are used. -->
    <property file="build-legacy.properties"/>
  <!--
    <property file=".ant.properties"/>
    <property file="${user.home}/.ant.properties"/>
    <property file="default.properties"/>  
   -->
    <!-- Public Targets -->
  
    <target name="all" depends="lib,jar,examples,javadocs"/>
  
    <!-- prepare target.  Creates build directory. -->
  
    <target name="prepare">
       <mkdir dir="${build.lib.dir}"/>
       <mkdir dir="${build.doc.java.dir}"/>
       <mkdir dir="${build.doc.java.dir}/images"/>
       <mkdir dir="${build.dir}/examples"/>
    </target>
  
    <!-- lib target.  Compiles the library classes only -->
  
    <target name="lib" depends="prepare">
       <javac srcdir="${src.java.dir}"
           destdir="${build.lib.dir}"
           excludes="examples/**"
           debug="${build.debug}"
           deprecation="${build.deprecation}"
           optimize="${build.optimize}"/>
    </target>
  
    <!-- examples target.  Compiles the example classes. -->
  
    <target name="examples" depends="prepare,jar">
       <javac srcdir="${src.java.dir}/examples"
           classpath="${build.lib.dir}/${project.name}.jar"
           destdir="${build.dir}/examples"
           debug="${build.debug}"
           deprecation="${build.deprecation}"
           optimize="${build.optimize}"/>
    </target>
  
    <!-- jar target.  Compiles the source directory and creates a .jar file -->
  
    <target name="jar" depends="lib">
        <jar jarfile="${build.lib.dir}/${project.name}.jar"
            basedir="${build.lib.dir}"
            includes="com/**"
            excludes="**/package.html,**/overview.html"/>
    </target>
    
  
    <!-- javadocs target.  Creates the API documentation -->
  
      <target name="javadocs" depends="prepare">
          <javadoc packagenames="com.oroinc.io,com.oroinc.util,com.oroinc.net,com.oroinc.net.bsd,com.oroinc.net.ftp,com.oroinc.net.nntp,com.oroinc.net.pop3,com.oroinc.net.smtp,com.oroinc.net.telnet,com.oroinc.net.tftp"
              sourcepath="${src.java.dir}"
              destdir="${build.doc.java.dir}"
              author="true"
              version="true"
              windowtitle="${name} ${version} API"
              doctitle="${name} ${version} API"
              header="&lt;map name=&apos;_logoMap&apos;&gt;&lt;area href=&apos;http://www.savarese.org/&apos;
alt=&apos;Savarese.Org Home&apos; shape=rect coords=&apos;0,0,66,14&apos;&gt;&lt;area
href=&apos;http://www.savarese.org/oro/&apos; alt=&apos;ORO Home&apos;shape=rect
coords=&apos;0,15,66,70&apos;&gt;&lt;/map&gt;&lt;img src=&apos;{@docroot}/../images/soroLogo.gif&apos;
alt=&apos;Savarese.Org/ORO Logo&apos; width=67 height=71 align=left border=0 hspace=1
vspace=0 usemap=&apos;#_logoMap&apos;&gt;"
              bottom="${copyright.message}">
  <!--
             overview="${build.src.dir}/com/oroinc/overview.html"
  -->
          </javadoc>
          <copy todir="${build.doc.dir}/images" filtering="no">
             <fileset dir="${doc.dir}/images">
               <include name="**/*.gif"/>
             </fileset>
          </copy>
          <replace file="${build.doc.java.dir}/overview-frame.html"
                   token="{@docroot}" value="."/>
          <replace dir="${build.doc.java.dir}" includes="**/*.html"
                   token="@version@" value="${version}"/>
      </target>
  
  
      <target name="package-src">
          <delete dir="${build.dir}/${project.name}"
                  quiet="true"
                  includeEmptyDirs="true"/>
          <mkdir dir="${build.dir}/${project.name}"/>
          <copy todir="${build.dir}/${project.name}">
              <fileset dir="${top.dir}">
                <exclude name="**/CVS/**"/>
                <exclude name="build/**"/>
              </fileset>
          </copy>
      </target>
  
      <target name="package-bin" depends="lib,jar,examples,javadocs">
          <delete dir="${build.dir}/${project.name}"
                  quiet="true"
                  includeEmptyDirs="true"/>
          <mkdir dir="${build.dir}/${project.name}"/>
          <copy todir="${build.dir}/${project.name}">
              <fileset dir="${build.dir}">
                <include name="lib/*.jar"/>
                <include name="examples/**"/>
                <include name="docs/**"/>
              </fileset>
              <fileset dir="${src.java.dir}">
                <include name="examples/**"/>
              </fileset>
              <fileset dir="${top.dir}">
                <exclude name="build/**"/>
                <exclude name="docs/**"/>
                <exclude name="src/**"/>
              </fileset>
          </copy>
      </target>
  
     <target name="package-src-zip" depends="package-src">
          <zip zipfile="${build.dir}/${project.name}-src.zip"
               basedir="${build.dir}"
               includes="${project.name}/**"/>
     </target>
  
     <target name="package-src-tgz" depends="package-src">
         <tar tarfile="${build.dir}/${project.name}-src.tar"
               basedir="${build.dir}"
               includes="${project.name}/**"/>
         <gzip zipfile="${build.dir}/${project.name}-src.tar.gz"
               src="${build.dir}/${project.name}-src.tar"/>
     </target>
  
     <target name="package-bin-zip" depends="package-bin">
          <zip zipfile="${build.dir}/${project.name}-bin.zip"
               basedir="${build.dir}"
               includes="${project.name}/**"/>
     </target>
  
     <target name="package-bin-tgz" depends="package-bin">
         <tar tarfile="${build.dir}/${project.name}-bin.tar"
               basedir="${build.dir}"
               includes="${project.name}/**"/>
         <gzip zipfile="${build.dir}/${project.name}-bin.tar.gz"
               src="${build.dir}/${project.name}-bin.tar"/>
     </target>
      
      <target name="package-all"
      depends="package-src-zip,package-src-tgz,package-bin-zip,package-bin-tgz">
      </target>
  
      <!-- Makes an attempt to clean up a little. -->
  
      <target name="clean">
          <delete dir="${build.dir}"/>
      </target>
  
  </project>
  
  
  
  1.1                  jakarta-commons-sandbox/net/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0"?>
  <project>
    
    <name>Jakarta Commons/Net</name>
    <id>commons-net</id>
    <currentVersion>1.0.0-dev</currentVersion>
    <organization>Apache Software Foundation</organization>
    <inceptionYear>1997</inceptionYear>
    <package>com.oroinc</package>
  
    <!-- Gump integration. -->
    <gumpRepositoryId>jakarta</gumpRepositoryId>
  
    <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.  Yet the library continues to be very popular.  Now
       that certain contract obligations have expired, it is possible to make
       the source code freely available under the LGPL.
    </description>
  
    <url>http://jakarta.apache.org/commons/</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>
    
    <mailingLists>
      <mailingList>
        <name>Commons Developer List</name>
        <subscribe>mailto:commons-dev-subscribe@jakarta.apache.org</subscribe>
        <unsubscribe>mailto:commons-dev-unsubscribe@jakarta.apache.org</unsubscribe>
        <archive>http://nagoya.apache.org:8080/eyebrowse/SummarizeList?listName=commons-dev@jakarta.apache.org</archive>
      </mailingList>
    </mailingLists>
  
    <developers>
  
      <developer>
        <name>Jeff Brekke</name>
        <id>brekke</id>
        <email>brekke@apache.org</email>
        <organization></organization>
      </developer>
  
      <developer>
        <name>Daniel F. Savarese</name>
        <id>savarese</id>
        <email>savarese@apache.org</email>
        <organization>savarese.org</organization>
      </developer>
  
    </developers>
   
    <dependencies>
    </dependencies>
    
    <build>
          
      <sourceDirectories>
        <sourceDirectory>src/java</sourceDirectory>
      </sourceDirectories>  
  
      <testSourceDirectories>
        <testSourceDirectory>src/test</testSourceDirectory>
      </testSourceDirectories>  
  
      <aspectSourceDirectories>
      </aspectSourceDirectories>  
  
      <!-- Unit test classes -->
      <unitTestClassEntries>
        <unitTestClassEntry>include = **/*Test.class</unitTestClassEntry>
      </unitTestClassEntries>  
  
      <!-- Runtime unit test classes -->
      <runtimeTestClassEntries>
      </runtimeTestClassEntries>  
  
      <!-- J A R  R E S O U R C E S -->
      <!-- Resources that are packaged up inside the JAR file -->
      
      <jarResources>
      </jarResources>
  
      <jars>
      </jars>  
    </build>
  </project>
  
  
  
  

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