You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by ge...@apache.org on 2007/01/02 18:13:15 UTC
svn commit: r491855 [3/3] - in /incubator/river/site: ./ bin/ docs/ lib/
xdocs/ xdocs/images/ xdocs/stylesheets/
Added: incubator/river/site/xdocs/license.xml
URL: http://svn.apache.org/viewvc/incubator/river/site/xdocs/license.xml?view=auto&rev=491855
==============================================================================
--- incubator/river/site/xdocs/license.xml (added)
+++ incubator/river/site/xdocs/license.xml Tue Jan 2 09:13:12 2007
@@ -0,0 +1,243 @@
+<?xml version="1.0"?>
+
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<document>
+ <properties>
+ <title>Apache License</title>
+ <author email="river-dev@incbator.apache.org">
+ Documentation Team</author>
+ </properties>
+
+<body>
+<section name="Apache License v2.0">
+
+<source test=""><![CDATA[
+
+
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+
+ ]]></source>
+
+</section>
+</body>
+</document>
+
Added: incubator/river/site/xdocs/mailing.xml
URL: http://svn.apache.org/viewvc/incubator/river/site/xdocs/mailing.xml?view=auto&rev=491855
==============================================================================
--- incubator/river/site/xdocs/mailing.xml (added)
+++ incubator/river/site/xdocs/mailing.xml Tue Jan 2 09:13:12 2007
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<document>
+
+ <properties>
+ <title>Apache Mailing Lists</title>
+ <author email="river-dev@incubator.apache.org">Documentation Team</author>
+ </properties>
+
+<body>
+<section name="Apache River Mailing Lists">
+
+<p>
+Apache Harmony mailing lists operate under the following terms :
+</p>
+
+<blockquote>
+This forum has been created for public communication about projects
+of The Apache Software Foundation (the "Foundation"), a Delaware
+nonprofit corporation classified as a public charity under 501(c)(3).
+All communication intentionally submitted to the Foundation on this
+forum is considered a Contribution to the Foundation unless otherwise
+noted in the communication. The terms and conditions that apply to
+your Contributions are defined by either a contributor license
+agreement (CLA) signed by you and/or your employer or, if no such CLA
+is on file at the Foundation, by the terms and conditions of
+Contributions as defined by the Apache License, Version 2.0.
+</blockquote>
+>
+
+<p>
+Further :
+</p>
+
+<blockquote>
+<ul>
+<li>
+If you do not wish your post to be a Contribution, we would prefer that you do not post it. However, in the
+event that you do, please mark as "NOT A CONTRIBUTION" at the top of the posting.
+</li>
+<li>
+Do not post any code that is not your original work, or code that you do not have
+clear authorization to contribute.
+</li>
+<li>
+Do not engage in detailed discussion of any implementation that you have been exposed
+to unless such implementation is available to everyone under an open source license or is
+your own implementation.
+</li>
+</ul>
+</blockquote>
+<p>
+There are currently three publicly available mailing lists for River :
+</p>
+
+<subsection name="Developer Mailing List">
+
+<p>The developer mailing list is used by the developers to discuss
+plans, make decisions, vote on technical issues, etc.
+</p>
+<ul>
+ <li><a href="mailto:river-dev-subscribe@incubator.apache.org">Subscribe</a> to river-dev@incubator.apache.org</li>
+ <li><a href="mailto:river-dev-unsubscribe@incubator.apache.org">Unsubscribe</a> from river-dev@incubator.apache.org</li>
+ <li>View the <a href="http://mail-archives.apache.org/mod_mbox/incubator-river-dev/">river-dev@incubator.apache.org archives</a></li>
+</ul>
+
+</subsection>
+
+<subsection name="User Mailing List">
+
+<p>The user mailing list is used by the users to discuss using the
+project software.
+</p>
+<ul>
+ <li><a href="mailto:river-user-subscribe@incubator.apache.org">Subscribe</a> to river-user@incubator.apache.org</li>
+ <li><a href="mailto:river-user-unsubscribe@incubator.apache.org">Unsubscribe</a> from river-user@incubator.apache.org</li>
+ <li>View the <a href="http://mail-archives.apache.org/mod_mbox/incubator-river-user/">river-user@incubator.apache.org archives</a></li>
+</ul>
+
+</subsection>
+
+<subsection name="Source Control Mailing List">
+
+<p>This list receives notifications (with diffs) every time a change is
+committed to the River source tree. It also receives change notices
+for changes to the River Wiki and whenever issues are added to or
+updated in our
+<a href="http://issues.apache.org/jira/browse/RIVER">JIRA issue tracking system</a>.</p>
+
+<ul>
+ <li><a href="mailto:river-commits-subscribe@incubator.apache.org">Subscribe</a> to river-commits@incubator.apache.org</li>
+ <li><a href="mailto:river-commits-unsubscribe@incubator.apache.org">Unsubscribe</a> from river-commits@incubator.apache.org</li>
+ <li>View the <a href="http://mail-archives.apache.org/mod_mbox/incubator-river-commits/">river-commits@incubator.apache.org archives</a></li>
+</ul>
+</subsection>
+
+<subsection name="Other Mailing Lists">
+
+<p>The Harmony PMC has a mailing list to resolve any administrative issues,
+This list is limited to PMC members (most committers on the project).</p>
+
+</subsection>
+</section>
+</body>
+</document>
+
+
Added: incubator/river/site/xdocs/roadmap.xml
URL: http://svn.apache.org/viewvc/incubator/river/site/xdocs/roadmap.xml?view=auto&rev=491855
==============================================================================
--- incubator/river/site/xdocs/roadmap.xml (added)
+++ incubator/river/site/xdocs/roadmap.xml Tue Jan 2 09:13:12 2007
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<document>
+
+ <properties>
+ <title>Project Roadmap</title>
+ <author email="river-dev@incubator.apache.org">Documentation Team</author>
+ </properties>
+
+ <body>
+ <section name="Roadmap and TODO">
+
+ <p>
+ Are roadmap and goals are always subject to discussion on the
+ <a href="mailing.html">developer's list.</a> As new people join with new focus and
+ interests, the things we do as a project adapt.
+ </p>
+
+ <p>
+ If you have an idea, come join the community and talk about it. Note that you will
+ need to subscribe to the <a href="mailing.html">mail list</a>
+ </p>
+
+ </section>
+
+ <section name="High-Level Roadmap">
+
+ <p>
+ </p>
+ </section>
+
+ <section name="TODO List">
+
+ <p>
+ The following is a collection of things that the project community
+ has listed as needing to be done. This list is not exhaustive. If
+ you wish to add an item to this list, or discuss or even volunteer
+ to work on an item, please join us on the <a href="mailing.html">River
+ mail list.</a>
+ </p>
+
+ <p>
+ The following sections describe the high-level areas of effort, and
+ tasks that have been identified for those areas.
+ </p>
+
+</section>
+
+</body>
+</document>
+
Added: incubator/river/site/xdocs/site.css
URL: http://svn.apache.org/viewvc/incubator/river/site/xdocs/site.css?view=auto&rev=491855
==============================================================================
--- incubator/river/site/xdocs/site.css (added)
+++ incubator/river/site/xdocs/site.css Tue Jan 2 09:13:12 2007
@@ -0,0 +1,242 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+body {
+ background-color: white;
+ color: black;
+ text-align: left;
+ text-align: left;
+ font: "Times New Roman", serif;
+}
+
+.menuItem {
+ vertical-align: top;
+ padding: 0pt;
+ margin-top: 4pt;
+ margin-bottom: 4pt;
+ margin-right: 0pt;
+ margin-left: 0pt;
+}
+
+h1 {
+ font-family: Arial, helvetica, sans-serif;
+ font-weight: bold;
+ font-size: 12pt;
+ background-color: #525D76;
+ color: white;
+ text-indent: 2pt;
+ margin-left: 0pt;
+}
+
+h2 {
+ font-family: Arial, helvetica, sans-serif;
+ font-weight: bold;
+ font-size: 12pt;
+ background-color: #828DA6;
+ color: white;
+ text-indent: 2pt;
+ margin-left: 10pt;
+}
+
+h3 {
+ font-weight: bold;
+ margin-left: 20pt;
+ margin-top: 5pt;
+ margin-right: 0pt;
+ margin-bottom: 5pt;
+ text-transform: uppercase;
+ font-size: 11pt;
+}
+
+a:link {
+ color:#525D76;
+}
+
+p {
+ padding-left: 2pt;
+ margin-left: 20pt;
+}
+
+td.TableCell {
+ vertical-align: top;
+ text-align: left;
+ background-color: #a0ddf0;
+}
+
+th.TableHeading {
+ background-color: #039acc;
+ text-align: center;
+ color: black;
+ font-family: Arial, Helvetica, sans-serif;
+ padding: 2pt;
+}
+
+table {
+ margin-left: 0pt;
+ margin-right: 0pt;
+}
+
+img {
+ border: none;
+}
+
+pre {
+ background: #F3F5F7;
+ border: thin solid;
+ border-color: #828DA6;
+ padding: 12pt;
+ font-size: 11.0pt;
+ font-family: Courier;
+ margin-right: 10pt;
+ margin-left: 25pt;
+}
+
+.class {
+ font-weight: bold;
+ font-size: 10pt;
+ font-family: Arial;
+ border-top: none;
+ border-right: none;
+ border-left: none;
+ border-bottom: solid #525D76 2px;
+}
+
+.special {
+ font-weight: bold;
+ text-align: center;
+ color: #525D76;
+ margin-top: 3pt;
+ margin-bottom: 3pt;
+ font-family: Arial, helvetica, sans-serif;
+ font-size: 10pt;
+}
+
+.backtotop {
+ font-weight: bold;
+ margin-left: 0pt;
+}
+
+.note {
+ color: red;
+ font-weight: bolder;
+ font-family: Arial, helvetica, sans-serif;
+ font-size: 10pt;
+}
+
+.notetext {
+ padding-left: 20pt;
+ margin-top: 0pt;
+ margin-bottom: 0pt;
+ font-family: Arial, helvetica, sans-serif;
+ font-size: 10pt;
+}
+
+.example {
+ font-weight: bolder;
+ font-family: Arial, helvetica, sans-serif;
+ font-size: 10pt;
+}
+
+.exampletext {
+ margin-left: 40pt;
+}
+
+.TOCHeading {
+ font-weight: bold;
+ font-size: 12pt;
+ text-align: left;
+ color: #000000;
+ font-family: Arial, helvetica, sans-serif;
+ padding-left: 15px;
+ margin-bottom: 5pt;
+ margin-top: 5pt;
+ margin-left: 5px;
+ margin-right: 0pt;
+}
+
+.TOC {
+ font-size: 11pt;
+ text-indent: 15pt;
+ color: white;
+ padding-left: 15px;
+ margin-left: 5px;
+ margin-right: 0.00px;
+ margin-top: 0px;
+ margin-bottom: 0px;
+ font-family: Arial, helvetica, sans-serif;
+}
+
+.update {
+ color: #A9A9A9;
+ font-size: smaller;
+ font-style: italic;
+}
+
+li {
+ margin-left: 20pt;
+ padding-left: 1pt;
+ padding-top: 1pt;
+ padding-bottom: 1pt;
+ padding-right: 0pt;
+}
+
+ol li {
+ list-style-type: decimal;
+}
+
+ul li {
+ list-style-type: square;
+}
+
+li ul li {
+ list-style-type: disc;
+}
+
+dl {
+ margin: 5pt;
+}
+
+dd {
+ margin-left: 30pt;
+ margin-top: 5pt;
+ margin-right: 20pt;
+ margin-bottom: 5pt;
+ border-right: none;
+ border-bottom: none;
+ border-left: none;
+ border-top: none;
+ padding-bottom: 8px;
+}
+
+dd p {
+ margin-left: 0pt;
+}
+
+dt {
+ font-size: 10pt;
+ font-family: Arial, helvetica, sans-serif;
+ font-weight: bolder;
+ margin-left: 20pt;
+ margin-top: 5pt;
+ margin-right: 0pt;
+ margin-bottom: 5pt;
+ border-top: none;
+ border-right: none;
+ border-bottom: solid #828DA6 1px;
+ border-left: none;
+ padding-bottom: 3px;
+}
Added: incubator/river/site/xdocs/stylesheets/project.xml
URL: http://svn.apache.org/viewvc/incubator/river/site/xdocs/stylesheets/project.xml?view=auto&rev=491855
==============================================================================
--- incubator/river/site/xdocs/stylesheets/project.xml (added)
+++ incubator/river/site/xdocs/stylesheets/project.xml Tue Jan 2 09:13:12 2007
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="River"
+ href="http://incubator.apache.org/river">
+
+ <title>Apache River</title>
+ <logo href="/images/harmony-logo-new.png">Apache River (we need a logo)</logo>
+
+ <body>
+
+ <menu name="General">
+ <item name="Home" href="/index.html"/>
+ <item name="License" href="/license.html"/>
+ <item name="Contribution Policy" href="/contribution_policy.html"/>
+ <item name="Project Guidelines" href="/guidelines.html"/>
+ <item name="ASF" href="http://www.apache.org/"/>
+ <item name="Downloads" href="/downloads.html"/>
+ </menu>
+
+ <menu name="Community">
+ <item name="Get Involved" href="/get-involved.html"/>
+ <item name="Committers" href="/contributors.html"/>
+ <item name="Mailing Lists" href="/mailing.html"/>
+ <item name="Documentation" href="/documentation.html"/>
+ <item name="Wiki" href="http://wiki.apache.org/river"/>
+ </menu>
+
+ <menu name="Development">
+ <item name="Road Map / TODO" href="/roadmap.html"/>
+ <item name="Source Code" href="/svn.html"/>
+ <item name="JIRA" href="http://issues.apache.org/jira/browse/RIVER"/>
+ </menu>
+
+ <menu name="Subcomponents">
+ </menu>
+
+ </body>
+</project>
Added: incubator/river/site/xdocs/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/incubator/river/site/xdocs/stylesheets/site.vsl?view=auto&rev=491855
==============================================================================
--- incubator/river/site/xdocs/stylesheets/site.vsl (added)
+++ incubator/river/site/xdocs/stylesheets/site.vsl Tue Jan 2 09:13:12 2007
@@ -0,0 +1,313 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+
+<!-- start the processing -->
+#document()
+<!-- end the processing -->
+
+## This is where the macro's live
+
+#macro ( table $table)
+<table>
+ #foreach ( $items in $table.getChildren() )
+ #if ($items.getName().equals("tr"))
+ #tr ($items)
+ #end
+ #end
+</table>
+#end
+
+#macro ( tr $tr)
+<tr>
+ #foreach ( $items in $tr.getChildren() )
+ #if ($items.getName().equals("td"))
+ #td ($items)
+ #elseif ($items.getName().equals("th"))
+ #th ($items)
+ #end
+ #end
+</tr>
+#end
+
+#macro ( td $value)
+#if ($value.getAttributeValue("colspan"))
+#set ($colspan = $value.getAttributeValue("colspan"))
+#end
+#if ($value.getAttributeValue("rowspan"))
+#set ($rowspan = $value.getAttributeValue("rowspan"))
+#end
+<td class="TableCell" colspan="$!colspan" rowspan="$!rowspan" >
+
+ #if ($value.getText().length() != 0 || $value.hasChildren())
+ $value.getContent()
+ #else
+
+ #end
+</td>
+#end
+
+#macro ( th $value)
+#if ($value.getAttributeValue("colspan"))
+#set ($colspan = $value.getAttributeValue("colspan"))
+#end
+#if ($value.getAttributeValue("rowspan"))
+#set ($rowspan = $value.getAttributeValue("rowspan"))
+#end
+<th class="TableHeading" colspan="$!colspan" rowspan="$!rowspan">
+ #if ($value.getText().length() != 0 || $value.hasChildren())
+ $value.getContent()
+ #else
+
+ #end
+</th>
+#end
+
+#macro ( projectanchor $name $value )
+#if ($value.startsWith("http://"))
+ <a href="$value">$name</a>
+#elseif ($value.startsWith("/site/"))
+ <a href="http://harmony.apache.org$value">$name</a>
+#else
+ <a href="$relativePath$value">$name</a>
+#end
+#end
+
+#macro ( metaauthor $author $email )
+ <meta name="author" value="$author">
+ <meta name="email" value="$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
+<img src="$relativePath$value.getAttributeValue("src")" width="$!width" height="$!height" align="$!align">
+#end
+
+#macro ( source $value)
+<pre>$escape.getText($value.getText())</pre>
+#end
+
+#macro ( subsection $subsection)
+
+ <h2>
+ <a name="$subsection.getAttributeValue("name")">$subsection.getAttributeValue("name")</a>
+ </h2>
+
+ #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 (docinclude $name)
+<div>
+#include($name)
+</div>
+#end
+
+#macro ( section $section)
+ <h1>
+ <a name="$section.getAttributeValue("name")">$section.getAttributeValue("name")</a>
+ </h1>
+ #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
+ <p><a href="#top">Back to top</a></p>
+#end
+
+#macro ( makeProject )
+
+ <!-- ============================================================ -->
+
+ #set ($menus = $project.getChild("body").getChildren("menu"))
+ #foreach ( $menu in $menus )
+ <p class="menuItem"><strong>$menu.getAttributeValue("name")</strong></p>
+ <ul>
+ #foreach ( $item in $menu.getChildren() )
+ #set ($name = $item.getAttributeValue("name"))
+ <li class="menuItem">#projectanchor($name $item.getAttributeValue("href"))</li>
+
+ #foreach ( $subitem in $item.getChildren() )
+ #set ($name = $subitem.getAttributeValue("name"))
+ <table>
+ <tr><td class="menuItem">
+ #projectanchor($name $subitem.getAttributeValue("href"))
+ </td></tr>
+ </table>
+ #end
+
+ #end
+
+ </ul>
+ #end
+#end
+
+#macro (getProjectImage)
+#if ($project.getChild("logo"))
+#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
+<td>
+#if ( $logoString.startsWith("/") )
+<a href="$project.getAttributeValue("href")"><img src="$relativePath$logoString" alt="$project.getChild("logo").getText()" /></a>
+#else
+<a href="$project.getAttributeValue("href")"><img src="$relativePath/$logoString" alt="$project.getChild("logo").getText()" /></a>
+#end
+</td>
+#end
+#end
+
+#macro (printMeta $metaElement)
+<meta #set ($attribs = $metaElement.getAttributes())
+#foreach ($a in $attribs) $a.getName()="$a.getValue()" #end />
+#end
+
+#macro (document)
+ <!-- ====================================================================== -->
+ <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
+ <!-- Main Page Section -->
+ <!-- ====================================================================== -->
+ <html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+
+ #set ($authors = $root.getChild("properties").getChildren("author"))
+ #foreach ( $au in $authors )
+ #metaauthor ( $au.getText() $au.getAttributeValue("email") )
+ #end
+
+ #set ($metas = $root.getChildren("meta"))
+
+ ## Parse meta directives such as
+ ## <meta name="keyword" content="harmony, java"/>
+ #foreach ($meta in $metas) #printMeta($meta) #end
+
+ ## Support for <base> tags.
+ #if ($root.getChild("properties").getChild("base"))
+ #set ($url = $root.getChild("properties").getChild("base").getAttributeValue("href"))
+ <base href="$url"/>
+ #end
+
+ <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
+
+ #set ($links = $root.getChild("properties").getChildren("link"))
+ #foreach ( $link in $links )
+ $link
+ #end
+
+ #set ($csspath = "")
+ #if (!$relativePath.equals("."))
+ #set ($csspath = "${relativePath}/")
+ #end
+
+ <link rel="stylesheet" type="text/css" href="${csspath}site.css"/>
+ </head>
+
+ <body>
+ <table width="100%" cellspacing="0">
+ <!-- TOP IMAGE -->
+ <tr>
+ <td align='LEFT'>
+ <table><tr><td>
+ #getProjectImage()</td>
+ </td></tr></table>
+ </td>
+ <td align='RIGHT'>
+ <a href="$project.getAttributeValue("href")">
+ <img src="http://harmony.apache.org/images/apache-incubator-logo.png"
+ alt="$project.getChild("logo").getText()" /></a>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" cellspacing="4">
+ <tr><td colspan="2">
+ <hr noshade="" size="1"/>
+ </td></tr>
+
+ <tr>
+ <!-- LEFT SIDE NAVIGATION -->
+ <td class="menuItem" width="20%" nowrap="true">
+
+ <!-- special ACon Logo - leave here for next time
+ <a href="http://www.us.apachecon.com/">
+ <img src="http://www.apache.org/ads/ApacheCon/240x120-2006-us.gif"
+ alt="ApacheCon US 2006" />
+ </a> -->
+
+ <!-- regular menu -->
+
+ #makeProject()
+ </td>
+ <td width="80%" valign="top"><a name="top"></a>
+ #set ($allSections = $root.getChild("body").getChildren("section"))
+ #foreach ( $section in $allSections )
+ #section ($section)
+ #end
+
+ #set ($allInclude = $root.getChild("body").getChildren("docinclude"))
+ #foreach($inc in $allInclude)
+ #docinclude($inc.getAttributeValue("name"))
+ #end
+ </td>
+ </tr>
+
+ <!-- FOOTER -->
+ <tr><td colspan="2">
+ <hr noshade="" size="1"/>
+ </td></tr>
+ <tr><td colspan="2">
+ <div class="special"><em>
+ Copyright © 2003-2006, The Apache Software Foundation
+ </em></div>
+ </td></tr>
+ </table>
+ </body>
+ </html>
+#end
+
+
+
+
+
+
Added: incubator/river/site/xdocs/stylesheets/site.xsl
URL: http://svn.apache.org/viewvc/incubator/river/site/xdocs/stylesheets/site.xsl?view=auto&rev=491855
==============================================================================
--- incubator/river/site/xdocs/stylesheets/site.xsl (added)
+++ incubator/river/site/xdocs/stylesheets/site.xsl Tue Jan 2 09:13:12 2007
@@ -0,0 +1,277 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- Content Stylesheet for "jakarta-site2" Documentation -->
+<!-- NOTE: Changes here should also be reflected in "site.vsl" and vice
+ versa, so either Anakia or XSLT can be used for document generation. -->
+
+
+<!-- Outstanding Compatibility Issues (with Anakia-based stylesheets):
+
+* Handling of the <image> element to insert relative path prefixes
+
+* Functional equivalent of "site_printable.vsl" not yet started.
+
+-->
+
+
+<!-- $Id: site.xsl,v 1.7 2003/12/31 14:42:28 tetsuya Exp $ -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+
+ <!-- Output method -->
+ <xsl:output method="html"
+ encoding="iso-8859-1"
+ indent="no"/>
+
+
+ <!-- Defined parameters (overrideable) -->
+ <xsl:param name="relative-path" select="'.'"/>
+
+ <!-- Defined variables (non-overrideable) -->
+ <xsl:variable name="body-bg" select="'#ffffff'"/>
+ <xsl:variable name="body-fg" select="'#000000'"/>
+ <xsl:variable name="body-link" select="'#525D76'"/>
+ <xsl:variable name="banner-bg" select="'#525D76'"/>
+ <xsl:variable name="banner-fg" select="'#ffffff'"/>
+ <xsl:variable name="sub-banner-bg" select="'#828DA6'"/>
+ <xsl:variable name="sub-banner-fg" select="'#ffffff'"/>
+ <xsl:variable name="table-th-bg" select="'#039acc'"/>
+ <xsl:variable name="table-td-bg" select="'#a0ddf0'"/>
+ <xsl:variable name="source-color" select="'#023264'"/>
+
+
+ <!-- Process an entire document into an HTML page -->
+ <xsl:template match="document">
+ <xsl:variable name="project"
+ select="document('project.xml')/project"/>
+
+ <html>
+ <head>
+ <xsl:apply-templates select="meta"/>
+ <title><xsl:value-of select="$project/title"/> - <xsl:value-of select="properties/title"/></title>
+ <xsl:for-each select="properties/author">
+ <xsl:variable name="name">
+ <xsl:value-of select="."/>
+ </xsl:variable>
+ <xsl:variable name="email">
+ <xsl:value-of select="@email"/>
+ </xsl:variable>
+ <meta name="author" value="{$name}"/>
+ <meta name="email" value="{$email}"/>
+ </xsl:for-each>
+ </head>
+
+ <body bgcolor="{$body-bg}" text="{$body-fg}" link="{$body-link}"
+ alink="{$body-link}" vlink="{$body-link}">
+
+ <table border="0" width="100%" cellspacing="4">
+
+ <xsl:comment>PAGE HEADER</xsl:comment>
+ <tr><td colspan="2">
+
+ <xsl:comment>JAKARTA LOGO</xsl:comment>
+ <a href="http://jakarta.apache.org/">
+ <img src="http://jakarta.apache.org/images/jakarta-logo.gif"
+ align="left" alt="The Jakarta Project" border="0"/>
+ </a>
+ <xsl:if test="$project/logo">
+ <xsl:variable name="alt">
+ <xsl:value-of select="$project/logo"/>
+ </xsl:variable>
+ <xsl:variable name="home">
+ <xsl:value-of select="$project/@href"/>
+ </xsl:variable>
+ <xsl:variable name="src">
+ <xsl:value-of select="$project/logo/@href"/>
+ </xsl:variable>
+
+ <xsl:comment>PROJECT LOGO</xsl:comment>
+ <a href="{$home}">
+ <img src="{$src}" align="right" alt="{$alt}" border="0"/>
+ </a>
+ </xsl:if>
+
+ </td></tr>
+
+ <xsl:comment>HEADER SEPARATOR</xsl:comment>
+ <tr>
+ <td colspan="2">
+ <hr noshade="" size="1"/>
+ </td>
+ </tr>
+
+ <tr>
+
+ <xsl:comment>LEFT SIDE NAVIGATION</xsl:comment>
+ <td width="20%" valign="top" nowrap="true">
+ <xsl:apply-templates select="$project/body/menu"/>
+ </td>
+
+ <xsl:comment>RIGHT SIDE MAIN BODY</xsl:comment>
+ <td width="80%" valign="top" align="left">
+ <xsl:apply-templates select="body/section"/>
+ </td>
+
+ </tr>
+
+ <xsl:comment>FOOTER SEPARATOR</xsl:comment>
+ <tr>
+ <td colspan="2">
+ <hr noshade="" size="1"/>
+ </td>
+ </tr>
+
+ <xsl:comment>PAGE FOOTER</xsl:comment>
+ <tr><td colspan="2">
+ <div align="center"><font color="{$body-link}" size="-1"><em>
+ Copyright © 1999-2004, Apache Software Foundation
+ </em></font></div>
+ </td></tr>
+
+ </table>
+ </body>
+ </html>
+
+ </xsl:template>
+
+
+ <!-- Process a menu for the navigation bar -->
+ <xsl:template match="menu">
+ <p><strong><xsl:value-of select="@name"/></strong></p>
+ <ul>
+ <xsl:apply-templates select="item"/>
+ </ul>
+ </xsl:template>
+
+
+ <!-- Process a menu item for the navigation bar -->
+ <xsl:template match="item">
+ <xsl:variable name="href">
+ <xsl:choose>
+ <xsl:when test="starts-with(@href, 'http://')">
+ <xsl:value-of select="@href"/>
+ </xsl:when>
+ <xsl:when test="starts-with(@href, '/site')">
+ <xsl:text>http://jakarta.apache.org</xsl:text><xsl:value-of select="@href"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$relative-path"/><xsl:value-of select="@href"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <li><a href="{$href}"><xsl:value-of select="@name"/></a></li>
+ </xsl:template>
+
+
+ <!-- Process a documentation section -->
+ <xsl:template match="section">
+ <xsl:variable name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:variable>
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <!-- Section heading -->
+ <tr><td bgcolor="{$banner-bg}">
+ <font color="{$banner-fg}" face="arial,helvetica.sanserif">
+ <a name="{$name}">
+ <strong><xsl:value-of select="@name"/></strong></a></font>
+ </td></tr>
+ <!-- Section body -->
+ <tr><td><blockquote>
+ <xsl:apply-templates/>
+ </blockquote></td></tr>
+ </table>
+ </xsl:template>
+
+
+ <!-- Process a documentation subsection -->
+ <xsl:template match="subsection">
+ <xsl:variable name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:variable>
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <!-- Subsection heading -->
+ <tr><td bgcolor="{$sub-banner-bg}">
+ <font color="{$sub-banner-fg}" face="arial,helvetica.sanserif">
+ <a name="{$name}">
+ <strong><xsl:value-of select="@name"/></strong></a></font>
+ </td></tr>
+ <!-- Subsection body -->
+ <tr><td><blockquote>
+ <xsl:apply-templates/>
+ </blockquote></td></tr>
+ </table>
+ </xsl:template>
+
+
+ <!-- Process a source code example -->
+ <xsl:template match="source">
+ <div align="left">
+ <table cellspacing="4" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="{$source-color}" width="1" height="1">
+ <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+ </td>
+ <td bgcolor="{$source-color}" height="1">
+ <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+ </td>
+ <td bgcolor="{$source-color}" width="1" height="1">
+ <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="{$source-color}" width="1">
+ <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+ </td>
+ <td bgcolor="#ffffff" height="1"><pre>
+ <xsl:value-of select="."/>
+ </pre></td>
+ <td bgcolor="{$source-color}" width="1">
+ <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="{$source-color}" width="1" height="1">
+ <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+ </td>
+ <td bgcolor="{$source-color}" height="1">
+ <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+ </td>
+ <td bgcolor="{$source-color}" width="1" height="1">
+ <img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </xsl:template>
+
+ <!-- specially process td tags ala site.vsl -->
+ <xsl:template match="td">
+ <td bgcolor="{$table-td-bg}" valign="top" align="left">
+ <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
+ <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ <xsl:apply-templates/>
+ </font>
+ </td>
+ </xsl:template>
+
+ <!-- handle th ala site.vsl -->
+ <xsl:template match="th">
+ <td bgcolor="{$table-th-bg}" valign="top">
+ <xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
+ <xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ <xsl:apply-templates />
+ </font>
+ </td>
+ </xsl:template>
+
+ <!-- Process everything else by just passing it through -->
+ <xsl:template match="*|@*">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|*|text()"/>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
Added: incubator/river/site/xdocs/stylesheets/site_printable.vsl
URL: http://svn.apache.org/viewvc/incubator/river/site/xdocs/stylesheets/site_printable.vsl?view=auto&rev=491855
==============================================================================
--- incubator/river/site/xdocs/stylesheets/site_printable.vsl (added)
+++ incubator/river/site/xdocs/stylesheets/site_printable.vsl Tue Jan 2 09:13:12 2007
@@ -0,0 +1,260 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+
+<!-- Content Stylesheet for Site -->
+
+ ## 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")
+
+<!-- start the processing -->
+#document()
+<!-- end the processing -->
+
+## This is where the macro's live
+
+#macro ( table $table)
+<table>
+ #foreach ( $items in $table.getChildren() )
+ #if ($items.getName().equals("tr"))
+ #tr ($items)
+ #end
+ #end
+</table>
+#end
+
+#macro ( tr $tr)
+<tr>
+ #foreach ( $items in $tr.getChildren() )
+ #if ($items.getName().equals("td"))
+ #td ($items)
+ #elseif ($items.getName().equals("th"))
+ #th ($items)
+ #end
+ #end
+</tr>
+#end
+
+#macro ( td $value)
+#if ($value.getAttributeValue("colspan"))
+#set ($colspan = $value.getAttributeValue("colspan"))
+#end
+#if ($value.getAttributeValue("rowspan"))
+#set ($rowspan = $value.getAttributeValue("rowspan"))
+#end
+<td bgcolor="$tabletdbg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ #if ($value.getText().length() != 0 || $value.hasChildren())
+ $value.getContent()
+ #else
+
+ #end
+ </font>
+</td>
+#end
+
+#macro ( th $value)
+#if ($value.getAttributeValue("colspan"))
+#set ($colspan = $value.getAttributeValue("colspan"))
+#end
+#if ($value.getAttributeValue("rowspan"))
+#set ($rowspan = $value.getAttributeValue("rowspan"))
+#end
+<td bgcolor="$tablethbg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
+ <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+ #if ($value.getText().length() != 0 || $value.hasChildren())
+ $value.getContent()
+ #else
+
+ #end
+ </font>
+</td>
+#end
+
+#macro ( projectanchor $name $value )
+#if ($value.startsWith("http://"))
+ • <a href="$value">$name</a>
+#elseif ($value.startsWith("/site"))
+ • <a href="http://jakarta.apache.org$value">$name</a>
+#else
+ • <a href="$relativePath$value">$name</a>
+#end
+#end
+
+#macro ( metaauthor $author $email )
+ <meta name="author" value="$author">
+ <meta name="email" value="$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
+<img src="$relativePath$value.getAttributeValue("src")" width="$!width" height="$!height" align="$!align">
+#end
+
+#macro ( source $value)
+ <div align="left">
+ <font size="2"><pre>$escape.getText($value.getText())</pre></font>
+ </div>
+#end
+
+#macro ( subsection $subsection)
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="$subbannerbg">
+ <font color="$subbannerfg" face="arial,helvetica,sanserif">
+ <a name="$subsection.getAttributeValue("name")"><strong>$subsection.getAttributeValue("name")</strong></a>
+ </font>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ <tr><td>
+ <blockquote>
+ #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
+ </blockquote>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
+#end
+
+#macro ( section $section)
+ <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="$bannerbg">
+ <font color="$bannerfg" face="arial,helvetica,sanserif">
+ <a name="$section.getAttributeValue("name")"><strong>$section.getAttributeValue("name")</strong></a>
+ </font>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ <tr><td>
+ <!--<blockquote>-->
+ #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
+ <!--</blockquote>-->
+ </p>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
+#end
+
+#macro (getProjectImage)
+#if ($project.getChild("logo"))
+<td align="left">
+<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" border="0"/></a>
+
+#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
+#if ( $logoString.startsWith("/") )
+<a href="$project.getAttributeValue("href")"><img src="$relativePath$logoString" alt="$project.getChild("logo").getText()" border="0"/></a>
+#else
+<a href="$project.getAttributeValue("href")"><img src="$relativePath/$logoString" alt="$project.getChild("logo").getText()" border="0"/></a>
+#end
+</td>
+#else
+<td>
+<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
+</td>
+#end
+#end
+
+#macro ( makeHorizontalProject )
+ #set ($menus = $project.getChild("body").getChildren("menu"))
+ <table cellspacing="4">
+ #foreach ( $menu in $menus )
+ <tr><td>
+ <strong>$menu.getAttributeValue("name")</strong>
+ </td><td>
+ #foreach ( $item in $menu.getChildren() )
+ #set ($name = $item.getAttributeValue("name"))
+ #projectanchor($name $item.getAttributeValue("href"))
+ #end
+ </td>
+ </tr>
+ #end
+ </table>
+#end
+
+#macro (document)
+ <!-- ====================================================================== -->
+ <!-- Main Page Section -->
+ <!-- ====================================================================== -->
+ <html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+
+ #set ($authors = $root.getChild("properties").getChildren("author"))
+ #foreach ( $au in $authors )
+ #metaauthor ( $au.getText() $au.getAttributeValue("email") )
+ #end
+
+ <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
+ </head>
+
+ <body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">
+ <table border="0" width="100%" cellspacing="0">
+ <!-- TOP IMAGE -->
+ <tr>
+ #getProjectImage()
+ </tr>
+ </table>
+ <table border="0" width="100%" cellspacing="4">
+ <tr><td>
+ <hr noshade="" size="1"/>
+ </td></tr>
+ <tr>
+ <td align="left" valign="top">
+ #set ($allSections = $root.getChild("body").getChildren("section"))
+ #foreach ( $section in $allSections )
+ #section ($section)
+ #end
+ </td>
+ </tr>
+ <tr><td>
+ <hr noshade="" size="1"/>
+ </td></tr>
+ <tr><td>
+ <!-- FOOT Navigation -->
+ #makeHorizontalProject ()
+ <!-- FOOTER -->
+ <tr><td>
+ <hr noshade="" size="1"/>
+ </td></tr>
+ <tr><td>
+ <div align="center"><font color="$bodylink" size="-1"><em>
+ Copyright © 1999-2004, Apache Software Foundation
+ </em></font></div>
+ </td></tr>
+ </table>
+ </body>
+ </html>
+#end
Added: incubator/river/site/xdocs/svn.xml
URL: http://svn.apache.org/viewvc/incubator/river/site/xdocs/svn.xml?view=auto&rev=491855
==============================================================================
--- incubator/river/site/xdocs/svn.xml (added)
+++ incubator/river/site/xdocs/svn.xml Tue Jan 2 09:13:12 2007
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<document>
+
+ <properties>
+ <title>Apache River</title>
+ <author email="river-dev@incubator.apache.org">Documentation Team</author>
+ </properties>
+
+ <body>
+
+<section name="Apache River Source Code">
+
+<p>
+The River project uses the
+<a href="http://subversion.tigris.org/">Subversion</a> version control
+system. If you're new to Subversion, you can check out the
+<a href="http://svnbook.red-bean.com/">online book</a> 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).
+</p>
+
+<subsection name="Web Access to Subversion">
+
+<p>
+If you just want to browse the source code, you can use the
+<a
+href="http://svn.apache.org/viewcvs.cgi/incubator/river/?root=Apache-SVN">ViewCVS
+web interface</a> to Subversion. This is current at all times.
+</p>
+
+</subsection>
+
+<subsection name="Normal Subversion Access">
+
+<p>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.</p>
+
+<strong>Check out from Subversion</strong>
+<p>Again, anyone can do this. Use a command like:</p>
+<pre>svn checkout https://svn.apache.org/repos/asf/incubator/river/trunk</pre>
+
+<strong>Commit Changes to Subversion</strong>
+
+<p>
+Any River committer should have a shell account on
+<tt>svn.apache.org</tt>. Before you can commit, you'll need to set a
+Subversion password for yourself. To do that, log in to
+<tt>svn.apache.org</tt> and run the command <i>svnpasswd</i>.
+</p>
+
+<p>
+Once your password is set, you can use a command like this to commit:
+</p>
+
+<pre>svn commit</pre>
+
+<p>If Subversion can't figure out your username, you can tell it
+explicitly:</p>
+<pre>svn --username you commit</pre>
+<p>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
+<tt>svnpasswd</tt>, not your shell or other password.</p>
+
+</subsection>
+</section>
+</body>
+</document>