You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/09/08 08:04:34 UTC

cvs commit: jakarta-avalon-phoenix/src/xdocs/bdg creating-a-block.xml

donaldp     2002/09/07 23:04:34

  Modified:    src/java/org/apache/avalon/phoenix/tools/xdoclet Tag:
                        RELEASE_402-branch ManifestSubTask.java
               src/pdk  Tag: RELEASE_402-branch build.xml
               src/xdocs Tag: RELEASE_402-branch changes.xml
                        guide-example-configuration.xml
               src/xdocs/bdg Tag: RELEASE_402-branch creating-a-block.xml
  Removed:     src/pdk/src/manifest Tag: RELEASE_402-branch
                        block-archive.mf
  Log:
  Remove references to manifest component of block authoring. It has never been required and never will be required.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.9.2.1   +4 -1      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/xdoclet/ManifestSubTask.java
  
  Index: ManifestSubTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/xdoclet/ManifestSubTask.java,v
  retrieving revision 1.9
  retrieving revision 1.9.2.1
  diff -u -r1.9 -r1.9.2.1
  --- ManifestSubTask.java	25 Aug 2002 05:56:40 -0000	1.9
  +++ ManifestSubTask.java	8 Sep 2002 06:04:33 -0000	1.9.2.1
  @@ -28,6 +28,9 @@
   
       public ManifestSubTask()
       {
  +        System.out.println( "WARNING: manifest generation has " +
  +                            "never been required by Phoenix and is considered, " +
  +                            "a deprecated practice." );
           setupParams();
       }
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.8.2.1   +1 -2      jakarta-avalon-phoenix/src/pdk/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/pdk/build.xml,v
  retrieving revision 1.8
  retrieving revision 1.8.2.1
  diff -u -r1.8 -r1.8.2.1
  --- build.xml	5 Jul 2002 07:08:55 -0000	1.8
  +++ build.xml	8 Sep 2002 06:04:33 -0000	1.8.2.1
  @@ -57,8 +57,7 @@
       <mkdir dir="build/lib"/>
   
       <!-- block for Phoenix-Demo -->
  -    <jar jarfile="build/lib/${name}-block.jar"
  -         manifest="src/manifest/block-archive.mf">
  +    <jar jarfile="build/lib/${name}-block.jar">
         <fileset dir="build/classes">
           <include name="**"/>
           <exclude name="phoenixdemo/client/**"/>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.16.2.6  +5 -0      jakarta-avalon-phoenix/src/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/changes.xml,v
  retrieving revision 1.16.2.5
  retrieving revision 1.16.2.6
  diff -u -r1.16.2.5 -r1.16.2.6
  --- changes.xml	7 Sep 2002 04:56:29 -0000	1.16.2.5
  +++ changes.xml	8 Sep 2002 06:04:33 -0000	1.16.2.6
  @@ -17,6 +17,11 @@
     </devs>
   <release version="4.0b" date="Unreleased">
       <action dev="PD" type="change">
  +        Deprecated Manifest generation xdoclet task. It has never been
  +        used, supported or required by Phoenix and is considered a
  +        deprecated practice.
  +    </action>
  +    <action dev="PD" type="change">
           Moved the default location of DTDs to be based in directory
           http://jakarta.apache.org/avalon/dtds/phoenix/* rather than
           http://jakarta.apache.org/phoenix/*. Old style DTD URIs are
  
  
  
  1.4.2.1   +5 -19     jakarta-avalon-phoenix/src/xdocs/guide-example-configuration.xml
  
  Index: guide-example-configuration.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/guide-example-configuration.xml,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- guide-example-configuration.xml	16 Jun 2002 10:21:45 -0000	1.4
  +++ guide-example-configuration.xml	8 Sep 2002 06:04:33 -0000	1.4.2.1
  @@ -17,25 +17,11 @@
         <p>The orginal post was written by Stephen McConnell from OSM.</p>
       </section>
       <section name="The example">
  -      <p>First we start with a manifest file in a jar the contains
  -      a block.  The manifest contains the declaration of the path
  -      to the block implementation.  This path is also used to
  -      resolve the .xinfo file.  In this case the <code>.xinfo</code>
  -      description will be located under
  -      <code>org/apache/acme/hub/gateway/pki/PKIProcessServer.xinfo</code></p>
  -      <source><![CDATA[
  -
  -Manifest-Version: 1.0
  -Created-By: ACME Corporation
  -
  -Name: org/apache/acme/hub/gateway/pki/PKIProcessServer.class
  -Avalon-Block: true
  -
  -      ]]>
  -      </source>
  -      <p>The <code>.xinfo</code> file contains a description of a
  -      reasonably simple block that serves as a factory for business
  -      processes that handle PKI certification requests:</p>
  +      <p>Each Block has an associated xinfo file and the xinfo file
  +      is stored alongside the block in a jar file. The <code>.xinfo</code>
  +      file contains a description of a reasonably simple block that serves
  +      as a factory for business processes that handle PKI certification
  +      requests:</p>
         <source><![CDATA[
   <?xml version="1.0"?>
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.1   +1 -11     jakarta-avalon-phoenix/src/xdocs/bdg/creating-a-block.xml
  
  Index: creating-a-block.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/bdg/creating-a-block.xml,v
  retrieving revision 1.5
  retrieving revision 1.5.2.1
  diff -u -r1.5 -r1.5.2.1
  --- creating-a-block.xml	6 Aug 2002 11:13:42 -0000	1.5
  +++ creating-a-block.xml	8 Sep 2002 06:04:34 -0000	1.5.2.1
  @@ -44,18 +44,8 @@
       <section name="Create the jar package">
         <p>
           The final step is packaging up the implementation files, BlockInfos and other
  -        resources into a jar file. The jar file is a standard jar file with special manifest
  -        entries. For each Block that is included in the jar, a new manifest attribute
  -        must be added, namely &quot;Avalon-Block: true&quot;. An example manifest file is
  -        displayed below.
  +        resources into a jar file.
         </p>
  -      <source>
  -Manifest-Version: 1.0
  -Created-By: Apache Avalon Project
  -
  -Name: com/biz/cornerstone/blocks/MyBlock.class
  -Avalon-Block: true
  -      </source>
       </section>
        <section name="Guide Contents">
          <ol>
  
  
  

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