Added: incubator/harmony/standard/site/xdocs/stylesheets/site.xsl URL: http://svn.apache.org/viewcvs/incubator/harmony/standard/site/xdocs/stylesheets/site.xsl?rev=190482&view=auto ============================================================================== --- incubator/harmony/standard/site/xdocs/stylesheets/site.xsl (added) +++ incubator/harmony/standard/site/xdocs/stylesheets/site.xsl Mon Jun 13 11:53:48 2005 @@ -0,0 +1,277 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$project/title"/> - <xsl:value-of select="properties/title"/> + + + + + + + + + + + + + + + + + PAGE HEADER + + + HEADER SEPARATOR + + + + + + + LEFT SIDE NAVIGATION + + + RIGHT SIDE MAIN BODY + + + + + FOOTER SEPARATOR + + + + + PAGE FOOTER + + +
+ + JAKARTA LOGO + + The Jakarta Project + + + + + + + + + + + + + PROJECT LOGO + + {$alt} + + + +
+
+
+ + + +
+
+
+
+ Copyright © 1999-2004, Apache Software Foundation +
+
+ + + +
+ + + + +

+
    + +
+
+ + + + + + + + + + + http://jakarta.apache.org + + + + + + +
  • +
    + + + + + + + + + + + + +
    + + + +
    + +
    +
    + + + + + + + + + + + + +
    + + + +
    + +
    +
    + + + + +
    + + + + + + + + + + + + + + + + +
    + + + + + +
    + +
    +            
    +          
    + +
    + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Added: incubator/harmony/standard/site/xdocs/stylesheets/site_printable.vsl URL: http://svn.apache.org/viewcvs/incubator/harmony/standard/site/xdocs/stylesheets/site_printable.vsl?rev=190482&view=auto ============================================================================== --- incubator/harmony/standard/site/xdocs/stylesheets/site_printable.vsl (added) +++ incubator/harmony/standard/site/xdocs/stylesheets/site_printable.vsl Mon Jun 13 11:53:48 2005 @@ -0,0 +1,260 @@ + + + + + ## Defined variables + #set ($bodybg = "#ffffff") + #set ($bodyfg = "#000000") + #set ($bodylink = "#525D76") + #set ($bannerbg = "#525D76") + #set ($bannerfg = "#ffffff") + #set ($subbannerbg = "#828DA6") + #set ($subbannerfg = "#ffffff") + #set ($tablethbg = "#039acc") + #set ($tabletdbg = "#a0ddf0") + + +#document() + + +## This is where the macro's live + +#macro ( table $table) + + #foreach ( $items in $table.getChildren() ) + #if ($items.getName().equals("tr")) + #tr ($items) + #end + #end +
    +#end + +#macro ( tr $tr) + + #foreach ( $items in $tr.getChildren() ) + #if ($items.getName().equals("td")) + #td ($items) + #elseif ($items.getName().equals("th")) + #th ($items) + #end + #end + +#end + +#macro ( td $value) +#if ($value.getAttributeValue("colspan")) +#set ($colspan = $value.getAttributeValue("colspan")) +#end +#if ($value.getAttributeValue("rowspan")) +#set ($rowspan = $value.getAttributeValue("rowspan")) +#end + + + #if ($value.getText().length() != 0 || $value.hasChildren()) + $value.getContent() + #else +   + #end + + +#end + +#macro ( th $value) +#if ($value.getAttributeValue("colspan")) +#set ($colspan = $value.getAttributeValue("colspan")) +#end +#if ($value.getAttributeValue("rowspan")) +#set ($rowspan = $value.getAttributeValue("rowspan")) +#end + + + #if ($value.getText().length() != 0 || $value.hasChildren()) + $value.getContent() + #else +   + #end + + +#end + +#macro ( projectanchor $name $value ) +#if ($value.startsWith("http://")) + • $name +#elseif ($value.startsWith("/site")) + • $name +#else + • $name +#end +#end + +#macro ( metaauthor $author $email ) + + +#end + +#macro ( image $value ) +#if ($value.getAttributeValue("width")) +#set ($width=$value.getAttributeValue("width")) +#end +#if ($value.getAttributeValue("height")) +#set ($height=$value.getAttributeValue("height")) +#end +#if ($value.getAttributeValue("align")) +#set ($align=$value.getAttributeValue("align")) +#end + +#end + +#macro ( source $value) +
    +
    $escape.getText($value.getText())
    +
    +#end + +#macro ( subsection $subsection) + + + + + +
    + + $subsection.getAttributeValue("name") + +

    +
    + #foreach ( $items in $subsection.getChildren() ) + #if ($items.getName().equals("img")) + #image ($items) + #elseif ($items.getName().equals("source")) + #source ($items) + #elseif ($items.getName().equals("table")) + #table ($items) + #else + $items + #end + #end +
    +

    +#end + +#macro ( section $section) + + + + + +
    + + $section.getAttributeValue("name") + +

    + + #foreach ( $items in $section.getChildren() ) + #if ($items.getName().equals("img")) + #image ($items) + #elseif ($items.getName().equals("source")) + #source ($items) + #elseif ($items.getName().equals("table")) + #table ($items) + #elseif ($items.getName().equals("subsection")) + #subsection ($items) + #else + $items + #end + #end + +

    +

    +#end + +#macro (getProjectImage) +#if ($project.getChild("logo")) + + + +#set ( $logoString = $project.getChild("logo").getAttributeValue("href") ) +#if ( $logoString.startsWith("/") ) +$project.getChild( +#else +$project.getChild( +#end + +#else + + + +#end +#end + +#macro ( makeHorizontalProject ) + #set ($menus = $project.getChild("body").getChildren("menu")) + + #foreach ( $menu in $menus ) + + + #end +
    + $menu.getAttributeValue("name") + + #foreach ( $item in $menu.getChildren() ) + #set ($name = $item.getAttributeValue("name")) + #projectanchor($name $item.getAttributeValue("href"))  + #end +
    +#end + +#macro (document) + + + + + + + + #set ($authors = $root.getChild("properties").getChildren("author")) + #foreach ( $au in $authors ) + #metaauthor ( $au.getText() $au.getAttributeValue("email") ) + #end + + $project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText() + + + + + + + #getProjectImage() + +
    + + + + + + + + +
    +
    +
    + #set ($allSections = $root.getChild("body").getChildren("section")) + #foreach ( $section in $allSections ) + #section ($section) + #end +
    +
    +
    + + #makeHorizontalProject () + +
    +
    +
    +
    + Copyright © 1999-2004, Apache Software Foundation +
    +
    + + +#end Added: incubator/harmony/standard/site/xdocs/svn.xml URL: http://svn.apache.org/viewcvs/incubator/harmony/standard/site/xdocs/svn.xml?rev=190482&view=auto ============================================================================== --- incubator/harmony/standard/site/xdocs/svn.xml (added) +++ incubator/harmony/standard/site/xdocs/svn.xml Mon Jun 13 11:53:48 2005 @@ -0,0 +1,88 @@ + + + + + + + + Apache Harmony + Harmony Documentation Team + + + + +
    + +

    +The Harmony project uses the +Subversion version control +system. If you're new to Subversion, you can check out the +online book about Subversion. +Note that we are currently using Subversion 1.1.x (there are separate +versions of the book covering 1.0 and 1.1). +

    + + + +

    +If you just want to browse the source code, you can use the +ViewCVS +web interface to Subversion. This is current at all times. +

    + +
    + + + +

    Anyone can check code out of Subversion. You only need to specify a +username and password in order to update the Subversion repository, and only +Harmony committers have the permissions to do that. We run Subversion +over standard HTTPS, so hopefully you won't have problems with intervening +firewalls.

    + +Check out from Subversion +

    Again, anyone can do this. Use a command like:

    +
    svn checkout https://svn.apache.org/repos/asf/incubator/harmony
    + +Commit Changes to Subversion + +

    +Any Harmony committer should have a shell account on +svn.apache.org. Before you can commit, you'll need to set a +Subversion password for yourself. To do that, log in to +svn.apache.org and run the command svnpasswd. +

    + +

    +Once your password is set, you can use a command like this to commit: +

    + +
    svn commit
    + +

    If Subversion can't figure out your username, you can tell it +explicitly:

    +
    svn --username you commit
    +

    Subversion will prompt you for a password, and once you enter it once, it +will remember it for you. Note this is the password you configured with +svnpasswd, not your shell or other password.

    + +
    +
    + +