You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by ru...@apache.org on 2001/09/25 04:30:35 UTC

cvs commit: jakarta-alexandria/proposal/gump/stylesheet jakarta.xsl

rubys       01/09/24 19:30:35

  Modified:    proposal/gump rubypad.xml
               proposal/gump/project jakarta-alexandria.xml xml-batik.xml
               proposal/gump/site build.xml
               proposal/gump/site/xdocs index.xml
               proposal/gump/site/xdocs/stylesheets project.xml
               proposal/gump/stylesheet jakarta.xsl
  Added:       proposal/gump/site/xdocs module.xml overview.xml profile.xml
                        project.xml repository.xml workspace.xml
  Removed:     proposal/gump/site/xdocs/stylesheets templates.vm
  Log:
  Rough in more of the web site
  
  Revision  Changes    Path
  1.42      +1 -4      jakarta-alexandria/proposal/gump/rubypad.xml
  
  Index: rubypad.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/rubypad.xml,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- rubypad.xml	2001/08/16 23:53:35	1.41
  +++ rubypad.xml	2001/09/25 02:30:34	1.42
  @@ -8,10 +8,7 @@
   
     <!-- Project overrides -->
   
  -  <project name="commons-cactus-22" target="jar">
  -    <jar name="foo"/>
  -    <jar name="bar"/>
  -  </project>
  +  <project name="jakarta-cactus-22" target="jar"/>
   
     <!-- Repository overrides -->
   
  
  
  
  1.6       +12 -0     jakarta-alexandria/proposal/gump/project/jakarta-alexandria.xml
  
  Index: jakarta-alexandria.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/project/jakarta-alexandria.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- jakarta-alexandria.xml	2001/08/28 06:22:09	1.5
  +++ jakarta-alexandria.xml	2001/09/25 02:30:34	1.6
  @@ -33,4 +33,16 @@
       <jar name="bin/maven-gump.jar"/>
     </project>
   
  +  <project name="gump-site">
  +    <ant basedir="proposal/gump/site">
  +      <property name="site.dir" reference="srcdir" project="jakarta-site2"/>
  +      <property name="batik.dir" reference="home" project="xml-batik"/>
  +    </ant>
  +
  +    <depend project="jakarta-ant"/>
  +    <depend project="jakarta-velocity"/>
  +    <depend project="jdom"/>
  +    <depend project="xml-xerces"/>
  +    <depend project="xml-batik-rasterizer"/>
  +  </project>
   </module>
  
  
  
  1.8       +10 -1     jakarta-alexandria/proposal/gump/project/xml-batik.xml
  
  Index: xml-batik.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/project/xml-batik.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- xml-batik.xml	2001/08/18 07:03:16	1.7
  +++ xml-batik.xml	2001/09/25 02:30:34	1.8
  @@ -8,12 +8,16 @@
     <cvs repository="xml"/>
     
     <project name="xml-batik">
  -    <ant target="jars">
  +    <ant target="dist-zip">
         <property name="version" value="gump"/>
       </ant>
  +
       <depend project="jakarta-ant"/>
       <depend project="xml-xerces"/>
       <depend project="rhino"/>
  +    <depend project="xml-stylebook2"/>
  +    <depend project="xml-xalan2"/>
  +
       <home nested="batik-gump"/>
       <jar name="lib/batik-awt-util.jar"/>
       <jar name="lib/batik-bridge.jar"/>
  @@ -27,4 +31,9 @@
       <jar name="lib/batik-util.jar"/>
     </project>
   
  +  <project name="xml-batik-rasterizer">
  +    <depend project="xml-batik"/>
  +    <home nested="batik-gump"/>
  +    <jar name="batik-rasterizer.jar"/>
  +  </project>
   </module>
  
  
  
  1.3       +1 -1      jakarta-alexandria/proposal/gump/site/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/site/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml	2001/09/24 03:25:28	1.2
  +++ build.xml	2001/09/25 02:30:35	1.3
  @@ -26,7 +26,7 @@
           <fileset dir="${site.dir}/lib">
               <include name="*.jar"/>
           </fileset>
  -        <fileset dir="${batik.dir}/lib">
  +        <fileset dir="${batik.dir}">
               <include name="batik-rasterizer.jar"/>
           </fileset>
       </path>
  
  
  
  1.2       +2 -2      jakarta-alexandria/proposal/gump/site/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/site/xdocs/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	2001/09/24 01:04:23	1.1
  +++ index.xml	2001/09/25 02:30:35	1.2
  @@ -87,7 +87,7 @@
       <p>
         Recently, I have been experimenting with a second server kindly donated
         by Sun and administered by Pier Fumagalli and Justyna Horwat.  After
  -      I'd complained quite a bit, Pier took pitty on my and made available
  +      I'd complained quite a bit, Pier took pitty on me and made available
         a LOT of tmp space - backed by 3 gigs of RAM.  Doing my builds from
         there positively flies!.  For now, I've timed
         an automated run to be kicked off at noon Pacific time - exactly the
  @@ -123,7 +123,7 @@
         A number of other fortunate coincidences have convinced me that this
         was the right choice for a name.  From the role of the feather in the
         opening and closing scenes (something I have adapted to the Apache
  -      feature for the Gump icon), the catch phase of "Stupid is as Stupid
  +      feature for the Gump icon), to the catch phase of "Stupid is as Stupid
         does" - something that captures the spirit of a large number of build
         errors caught by this process.  And most significantly to me - the
         wisdom passed on from Gump's mother that "Life is like a box of
  
  
  
  1.1                  jakarta-alexandria/proposal/gump/site/xdocs/module.xml
  
  Index: module.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="rubys@us.ibm.com">Sam Ruby</author>
      <title>Gump</title>
    </properties>
  
  <body>
  
    <section name="module">
      <p>TBD</p>
  
      <subsection name="url">
        <p></p>
      </subsection>
  
      <subsection name="description">
        <p></p>
      </subsection>
  
      <subsection name="cvs">
        <p></p>
      </subsection>
  
      <subsection name="project">
        <p></p>
      </subsection>
    </section>
  </body>
  </document>
  
  
  
  
  1.1                  jakarta-alexandria/proposal/gump/site/xdocs/overview.xml
  
  Index: overview.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="rubys@us.ibm.com">Sam Ruby</author>
      <title>Gump</title>
    </properties>
  
  <body>
  
    <section name="Data Definition Overview">
      <p>The data definitions for Gump are organized around the various
      roles a developer may perform.  The overall approach is that elements
      (e.g. project definitions) can be repeated in multiple contexts (e.g.,
      modules, profiles, and workspaces), with definitions in "higher"
      level contructs extending or overriding the previous definitions.</p>
  
      <p>The way extending or overriding works is quite simple.  If two like
      kind elements (e.g., project) are located with the same value for the
      "name" attribute, they are combined.  Combining of attributes results
      in like named attributes overriding previous values.  Combining of
      elements results in concatenation.  These rules allow for the easy
      overriding of a target and the adding of a dependency.</p>
  
      <p>An area for future exploration is "anti-elements", which cancel out
      the effect of other elements</p> 
  
      <p>An area where designers of XML DTDs have differing opinions is whether
      a given piece of information should be modelled as an attribute or an
      element.  A design goal of Gump was to try to reinvent as little as 
      possible - resulting in a bit of inconsistency.  Project definitions are
      done in a style reminicent of Ant - with element and attribute names 
      chosen to match whenever possible.  Repository definitions were done in
      a style consistent with Alexandria.  In a few cases, information can
      be represented as either a nested element or an attribute - this was
      generally done to make that piece of information easier to override.</p>
  
      <p>The subsections below represent a "bottoms up" introduction to the
      individual XML data elements, and contain links to more full
      descriptions</p>
  
      <subsection name="project">
        <p></p>
      </subsection>
  
      <subsection name="module">
        <p></p>
      </subsection>
  
      <subsection name="profile">
        <p></p>
      </subsection>
  
      <subsection name="workspace">
        <p></p>
      </subsection>
  
    </section>
  </body>
  </document>
  
  
  
  
  1.1                  jakarta-alexandria/proposal/gump/site/xdocs/profile.xml
  
  Index: profile.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="rubys@us.ibm.com">Sam Ruby</author>
      <title>Gump</title>
    </properties>
  
  <body>
  
    <section name="profile">
      <p>TBD</p>
  
      <subsection name="module">
        <p></p>
      </subsection>
  
      <subsection name="project">
        <p></p>
      </subsection>
  
      <subsection name="repository">
        <p></p>
      </subsection>
  
    </section>
  </body>
  </document>
  
  
  
  
  1.1                  jakarta-alexandria/proposal/gump/site/xdocs/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="rubys@us.ibm.com">Sam Ruby</author>
      <title>Gump</title>
    </properties>
  
  <body>
  
    <section name="project">
      <p>TBD</p>
  
      <subsection name="ant">
        <p></p>
      </subsection>
  
      <subsection name="depend">
        <p></p>
      </subsection>
  
      <subsection name="option">
        <p></p>
      </subsection>
  
      <subsection name="work">
        <p></p>
      </subsection>
  
      <subsection name="home">
        <p></p>
      </subsection>
  
      <subsection name="jar">
        <p></p>
      </subsection>
  
    </section>
  </body>
  </document>
  
  
  
  
  1.1                  jakarta-alexandria/proposal/gump/site/xdocs/repository.xml
  
  Index: repository.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="rubys@us.ibm.com">Sam Ruby</author>
      <title>Gump</title>
    </properties>
  
  <body>
  
    <section name="Repository">
      <p>This represents the location from which modules can be obtained.</p>
  
      <table>
        <tr>
          <th>Attribute</th>
          <th>Description</th>
          <th>Required?</th>
        </tr>
        <tr>
          <td>name</td>
          <td>Name by which this repository will be referenced by module
            definitions.
          </td>
          <td>Yes</td>
        </tr>
        <tr>
          <td>type</td>
          <td>Type of repository.</td>
          <td>Yes, though cvs is the only type supported currently.</td>
        </tr>
      </table>
      <p/>
  
      <table>
        <tr>
          <th>Entity</th>
          <th>Description</th>
          <th>Required?</th>
        </tr>
        <tr>
          <td>title</td>
          <td>Descriptive name for the repository</td>
          <td>No</td>
        </tr>
        <tr>
          <td>home-page</td>
          <td>Where to find out more information about the repository</td>
          <td>No</td>
        </tr>
        <tr>
          <td>cvsweb</td>
          <td>Web interface to the repository</td>
          <td>No</td>
        </tr>
      </table>
      <p/>
  
      <subsection name="root">
        <p>This specifies all of the elements which are combined to form
        a CVSROOT.  They are split out into separate entities so that each
        can be individually overridden in a workspace definition.  When an
        entity is listed a required below, it means that when all of the
        definitions are compined the entity must have a value - a workspace
        or profile, for example, only needs to contain the values which it
        overrides.</p>
  
        <table>
          <tr>
            <th>Entity</th>
            <th>Description</th>
            <th>Required?</th>
          </tr>
          <tr>
            <td>method</td>
            <td></td>
            <td>Yes</td>
          </tr>
          <tr>
            <td>user</td>
            <td></td>
            <td>Yes</td>
          </tr>
          <tr>
            <td>password</td>
            <td></td>
            <td>Yes</td>
          </tr>
          <tr>
            <td>hostname</td>
            <td></td>
            <td>Yes</td>
          </tr>
          <tr>
            <td>path</td>
            <td></td>
            <td>Yes</td>
          </tr>
        </table>
      </subsection>
  
    </section>
  </body>
  </document>
  
  
  
  
  1.1                  jakarta-alexandria/proposal/gump/site/xdocs/workspace.xml
  
  Index: workspace.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <author email="rubys@us.ibm.com">Sam Ruby</author>
      <title>Gump</title>
    </properties>
  
  <body>
  
    <section name="Workspace">
      <p>This represents the combination of projects (either referenced 
      directly or indirectly, via profiles) that are to be built together.
      By default, workspaces are named after the hostname of the computer
      which you are building on.</p>
  
      <table>
        <tr>
          <th>Attribute</th>
          <th>Description</th>
          <th>Required?</th>
        </tr>
        <tr>
          <td>Basedir</td>
          <td>Fully qualified directory into which all projects will be
            extracted built.
          </td>
          <td>No</td>
        </tr>
        <tr>
          <td>pkgdir</td>
          <td>Default directory in which to find projects which are installed
            as packages instead of being built.  Examples being various jars
            which can be downloaded from Sun's web site.
          </td>
          <td>No</td>
        </tr>
        <tr>
          <td>cvsdir</td>
          <td>Workarea for cvs extracts.  The generated update script will
            do the cvs checkouts or updates into this directory.  The generated
            build script will copy the results into the basedir prior to 
            building.
          </td>
          <td>No.  Defaults to ${basedir}/cvs</td>
        </tr>
        <tr>
          <td>logdir</td>
          <td>Directory into which the generated html logs are placed.</td>
          <td>No.  Defaults to ${basedir}/log</td>
        </tr>
        <tr>
          <td>version</td>
          <td>Which version of the Gump dtd this workspace was defined against.
            The current version is "0.3".
          </td>
          <td>Yes</td>
        </tr>
      </table>
      <p/>
  
      <subsection name="property">
        <p>Global properties which are to be applied to every Ant execution.
        Commonly used to specify the "build.sysclasspath" property which
        tells Ant how to deal with classpaths specified inside the build.xml
        files</p>
  
        <table>
          <tr>
            <th>Attribute</th>
            <th>Description</th>
            <th>Required?</th>
          </tr>
          <tr>
            <td>Name</td>
            <td>Name of the property to set.</td>
            <td>Yes</td>
          </tr>
          <tr>
            <td>Value</td>
            <td>Desired value</td>
            <td>Yes</td>
          </tr>
        </table>
      </subsection>
  
      <subsection name="profile">
        <p>Collections of projects and repositories.  While a complete
        profile can be defined here, typically one is referenced via
        href.  For a complete description, see the documentation for
        <a href="profile.html">profile</a>.</p>
  
        <table>
          <tr>
            <th>Attribute</th>
            <th>Description</th>
            <th>Required?</th>
          </tr>
          <tr>
            <td>href</td>
            <td>URI of the file containing the profile definition</td>
            <td>No.</td>
          </tr>
        </table>
      </subsection>
  
      <subsection name="module">
        <p>An individual module to be included.  While a complete
        module can be defined here, typically one is referenced via
        href.  For a complete description, see the documentation for
        <a href="module.html">module</a>.</p>
  
        <table>
          <tr>
            <th>Attribute</th>
            <th>Description</th>
            <th>Required?</th>
          </tr>
          <tr>
            <td>href</td>
            <td>URI of the file containing the module definition</td>
            <td>No.</td>
          </tr>
        </table>
      </subsection>
  
      <subsection name="project">
        <p>An individual project to be included.  While a complete
        project can be defined here, typically one is referenced via
        href.  For a complete description, see the documentation for
        <a href="project.html">project</a>.</p>
  
        <table>
          <tr>
            <th>Attribute</th>
            <th>Description</th>
            <th>Required?</th>
          </tr>
          <tr>
            <td>href</td>
            <td>URI of the file containing the project definition</td>
            <td>No.</td>
          </tr>
          <tr>
            <td>home</td>
            <td>Convenient way to specify an override for a root/home 
              element.
            </td>
            <td>No.</td>
          </tr>
        </table>
      </subsection>
  
      <subsection name="repository">
        <p>An repository from which one or more modules may be obtained
        While a complete repository can be defined here, typically one is 
        referenced via href.  For a complete description, see the documentation 
        for <a href="repository.html">repository</a>.</p>
  
        <table>
          <tr>
            <th>Attribute</th>
            <th>Description</th>
            <th>Required?</th>
          </tr>
          <tr>
            <td>href</td>
            <td>URI of the file containing the repository definition</td>
            <td>No.</td>
          </tr>
          <tr>
            <td>method</td>
            <td>Convenient way to specify an override for a root/method 
              element
            </td>
            <td>No.</td>
          </tr>
          <tr>
            <td>user</td>
            <td>Convenient way to specify an override for a root/user 
              element
            </td>
            <td>No.</td>
          </tr>
          <tr>
            <td>path</td>
            <td>Convenient way to specify an override for a root/path 
              element
            </td>
            <td>No.</td>
          </tr>
        </table>
      </subsection>
  
    </section>
  </body>
  </document>
  
  
  
  
  1.2       +56 -25    jakarta-alexandria/proposal/gump/site/xdocs/stylesheets/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/site/xdocs/stylesheets/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml	2001/09/24 01:04:23	1.1
  +++ project.xml	2001/09/25 02:30:35	1.2
  @@ -1,36 +1,67 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
  -<project name="Jakarta Site"
  -        href="http://jakarta.apache.org/gump/">
  +<project name="Jakarta Site" href="http://jakarta.apache.org/gump/">
   
  -    <title>The Jakarta Site</title>
  -    <logo href="images/bench.png">Gump</logo>
  +  <title>The Jakarta Site</title>
  +  <logo href="images/bench.png">Gump</logo>
       
  -    <body>
  +  <body>
       <menu name="Gump">
  -        <item name="Front Page" href="/index.html"/>
  -        <item name="Results"    href="http://jakarta.apache.org/builds/gump/latest/"/>
  -        <item name="Status"     href="/status.html"/>
  -        <item name="Source"     href="http://cvs.apache.org/viewcvs/jakarta-alexandria/proposal/gump/"/>
  +      <item name="Front Page" 
  +        href="/index.html"/>
  +      <item name="Results"    
  +        href="http://jakarta.apache.org/builds/gump/latest/"/>
  +      <item name="Status"     
  +        href="/status.html"/>
  +      <item name="Source"     
  +        href="http://cvs.apache.org/viewcvs/jakarta-alexandria/proposal/gump/"/>
       </menu>
   
  -    <menu name="Sources">
  -        <item name="dbxml"     href="http://www.dbxml.org/"/>
  -        <item name="devworks"  href="http://oss.software.ibm.com/developerworks/opensource/"/>
  -        <item name="exolab"    href="http://www.exolab.org/"/>
  -        <item name="jakarta"   href="http://jakarta.apache.org/"/>
  -        <item name="jdom"      href="http://www.jdom.org/"/>
  -        <item name="mozilla"   href="http://www.mozilla.org/"/>
  -        <item name="sourceforge" href="http://sourceforge.net/"/>
  -        <item name="tigris"    href="http://www.tigris.org/"/>
  -        <item name="whichever" href="http://share.shichever.org/"/>
  -        <item name="xml"       href="http://xml.apache.org/"/>
  +    <menu name="Data Definitions">
  +      <item name="overview"     
  +        href="/overview.html"/>
  +      <item name="workspace"  
  +        href="/workspace.html"/>
  +      <item name="profile"  
  +        href="/profile.html"/>
  +      <item name="module"  
  +        href="/module.html"/>
  +      <item name="project"  
  +        href="/project.html"/>
  +      <item name="repository"  
  +        href="/repository.html"/>
       </menu>
   
  +    <menu name="Sources">
  +      <item name="dbxml"     
  +        href="http://www.dbxml.org/"/>
  +      <item name="devworks"  
  +        href="http://oss.software.ibm.com/developerworks/opensource/"/>
  +      <item name="exolab"    
  +        href="http://www.exolab.org/"/>
  +      <item name="jakarta"   
  +        href="http://jakarta.apache.org/"/>
  +      <item name="jdom"      
  +        href="http://www.jdom.org/"/>
  +      <item name="mozilla"   
  +        href="http://www.mozilla.org/"/>
  +      <item name="sourceforge" 
  +        href="http://sourceforge.net/"/>
  +      <item name="tigris"    
  +        href="http://www.tigris.org/"/>
  +      <item name="whichever" 
  +        href="http://share.shichever.org/"/>
  +      <item name="xml"       
  +        href="http://xml.apache.org/"/>
  +    </menu>
  +  
       <menu name="Get Involved">
  -        <item name="Overview"              href="/site/getinvolved.html"/>
  -        <item name="Join Mailing lists"    href="http://jakarta.apache.org/getinvolved/mail.html"/>
  -        <item name="Search Mailing lists"  href="http://marc.theaimsgroup.com/?l=alexandria-dev&amp;r=1&amp;w=2"/>
  +      <item name="Overview"              
  +        href="/site/getinvolved.html"/>
  +      <item name="Join Mailing lists"    
  +        href="http://jakarta.apache.org/getinvolved/mail.html"/>
  +      <item name="Search Mailing lists"  
  +        href="http://marc.theaimsgroup.com/?l=alexandria-dev&amp;r=1&amp;w=2"/>
       </menu>
  -
  -    </body>
  +  
  +  </body>
   </project>
  
  
  
  1.10      +7 -1      jakarta-alexandria/proposal/gump/stylesheet/jakarta.xsl
  
  Index: jakarta.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/jakarta.xsl,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- jakarta.xsl	2001/08/29 02:42:39	1.9
  +++ jakarta.xsl	2001/09/25 02:30:35	1.10
  @@ -48,9 +48,15 @@
   
           <table border="0" width="100%" cellspacing="0">
             <tr>
  -            <td colspan="2">
  +            <td>
                 <a href="{@banner-link}">
                   <img src="{@banner-image}" align="left" border="0"/>
  +              </a>
  +            </td>
  +            <td>
  +              <a href="http://jakarta.apache.org/gump/">
  +                <img src="http://jakarta.apache.org/gump/images/bench.png" 
  +                  align="right" border="0"/>
                 </a>
               </td>
             </tr>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org