You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by bl...@apache.org on 2001/12/10 18:21:36 UTC

cvs commit: jakarta-avalon/tools/ext avalon-framework.jar

bloritsch    01/12/10 09:21:35

  Modified:    .        BUILDING build.xml
               tools/ext avalon-framework.jar
  Log:
  fix issues with omitting docs from binary dist and inadequate information in BUILDING.
  
  Revision  Changes    Path
  1.2       +52 -0     jakarta-avalon/BUILDING
  
  Index: BUILDING
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/BUILDING,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BUILDING	2001/11/23 17:51:41	1.1
  +++ BUILDING	2001/12/10 17:21:35	1.2
  @@ -3,6 +3,57 @@
   
                                  Build Instructions
   
  +METHOD 1: From a Distribution
  +
  +If all you are interested in is the Avalon Framework jar file, then all you
  +need is to have Ant installed and type the following command line:
  +
  +$> ant all
  +
  +If you want to regenerate the documentation or build a "distribution" of
  +Avalon Framework, then I highly suggest you use CVS to get the contents
  +of the tools directory.  If you are a masochist, and are hell-bent on
  +doing it the hard way, then the rest of the instructions are here to
  +help you get your build environment set up.
  +
  +The Avalon build script looks for all of it's tools in the tools directory.
  +In order for everything to work for you, please make ${tools.dir} point to
  +your ANT installation directory.  In order to rebuild the documentation,
  +you need to make sure you have the following libraries in the proper location:
  +
  +In ${tools.dir}/lib, you want to make sure you have the following libraries:
  +
  +JUnit 3.7 or newer,
  +BSF.jar,
  +rhino.jar (this is Mozilla.org's Javascript engine)
  +Xalan 2 or newer,
  +Xerces 1.4 or newer
  +
  +Please note that the most recent Xalan 2 requires the "xml-apis.jar" from
  +XML-commons, although it is included with Xalan's installation.
  +
  +In ${tools.dir}/ext, you want to make sure you have the following libraries
  +from the latest Cocoon distribution (which will give you all the jars you
  +need):
  +
  +Avalon Excalibur 4.0 or newer,
  +Avalon Framework 4.0 or newer (if you simply build the library first, you
  +                               can use the one from this distribution),
  +Avalon Logkit 1.0 or newer,
  +Batik-libs.jar (needed to work with FOP),
  +Fop-0.20.2.jar or better,
  +Jimi-1.0.jar,
  +Resolver.jar
  +
  +Lastly, copy the files in the "tools" directory (the stylesheets) to the
  +${tools.dir} root directory.
  +
  +Once your build environment is set up, Ant should be able to find all the
  +jars and dependancies it needs.  At this point, you can type "ant docs"
  +and the new documentation should start building.
  +
  +METHOD 2: From CVS
  +
   In order to build any of the Jakarta Avalon projects, you must check out the
   "jakarta-avalon" CVS module from cvs.apache.org.  You can view the instructions
   for setting up CVS at http://jakarta.apache.org/site/cvsindex.html on the web.
  @@ -36,3 +87,4 @@
   base directory of the proper JDK 1.2 or better Java Developer's Kit.  Please
   note that you must use the developer's kit instead of the runtime environment
   in order to compile the the projects.
  +
  
  
  
  1.109     +12 -10    jakarta-avalon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/build.xml,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- build.xml	2001/12/10 10:52:09	1.108
  +++ build.xml	2001/12/10 17:21:35	1.109
  @@ -134,14 +134,14 @@
         <classpath refid="project.class.path"/>
       </available>
   
  -    <property name="dist.dir" value="dist"/>
  +    <property name="dist.dir" value="${dist.name}"/>
       <property name="dist.bin" value="${dist.dir}/bin"/>
       <property name="dist.apps" value="${dist.dir}/apps"/>
       <property name="dist.lib" value="${dist.dir}/lib"/>
       <property name="dist.docs" value="${dist.dir}/docs"/>
       <property name="dist.javadocs" value="${dist.dir}/docs/api"/>
   
  -    <property name="src.dist.dir" value="dist-src"/>
  +    <property name="src.dist.dir" value="${dist.name}-src"/>
       <property name="src.dist.src" value="${src.dist.dir}/src"/>
       <property name="src.dist.docs" value="${src.dist.dir}/docs"/>
       <property name="src.dist.javadocs" value="${src.dist.dir}/docs/api"/>
  @@ -150,13 +150,13 @@
     </target>
   
     <!-- Prepares the build directory -->
  -  <target name="prepare" depends="setup-properties">
  +  <target name="prepare">
       <tstamp/>
       <mkdir dir="${build.dir}"/>
     </target>
   
     <!-- Compiles the source code -->
  -  <target name="compile" depends="prepare" description="compiles the source code">
  +  <target name="compile" depends="setup-properties,prepare" description="compiles the source code">
   
       <mkdir dir="${build.classes}"/>
   
  @@ -175,7 +175,7 @@
     </target>
   
     <!-- Creates the exceptionutil.jar file -->
  -  <target name="compile-exceptionutil" depends="prepare">
  +  <target name="compile-exceptionutil" depends="setup-properties,prepare">
   
       <mkdir dir="${build.classes}"/>
   
  @@ -448,11 +448,7 @@
       <mkdir dir="${dist.javadocs}"/>
   
       <copy todir="${dist.docs}">
  -      <fileset dir="${build.docs}"/>
  -    </copy>
  -
  -    <copy todir="${dist.javadocs}">
  -      <fileset dir="${build.javadocs}"/>
  +      <fileset dir="${docs.dir}"/>
       </copy>
   
       <copy todir="${dist.dir}">
  @@ -490,6 +486,12 @@
   
       <copy todir="${src.dist.javadocs}">
         <fileset dir="${build.javadocs}"/>
  +    </copy>
  +
  +    <copy todir="${src.dist.dir}/tools">
  +      <fileset dir="${tools.dir}">
  +        <include name="*.xsl"/>
  +      </fileset>
       </copy>
   
       <filter token="version" value="${version}"/>
  
  
  
  1.10      +122 -130  jakarta-avalon/tools/ext/avalon-framework.jar
  
  	<<Binary file>>
  
  

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