openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r405501 [3/3] - in /incubator/openjpa/site: ./ docs/ docs/images/ lib/ xdocs/ xdocs/images/ xdocs/stylesheets/
Date Tue, 09 May 2006 18:59:09 GMT
Added: incubator/openjpa/site/xdocs/stylesheets/site_printable.vsl
URL: http://svn.apache.org/viewcvs/incubator/openjpa/site/xdocs/stylesheets/site_printable.vsl?rev=405501&view=auto
==============================================================================
--- incubator/openjpa/site/xdocs/stylesheets/site_printable.vsl (added)
+++ incubator/openjpa/site/xdocs/stylesheets/site_printable.vsl Tue May  9 11:59:06 2006
@@ -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
+        &nbsp;
+        #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
+        &nbsp;
+        #end
+    </font>
+</td>
+#end
+
+#macro ( projectanchor $name $value )
+#if ($value.startsWith("http://"))
+    &#149;&nbsp;<a href="$value">$name</a>
+#elseif ($value.startsWith("/site"))
+    &#149;&nbsp;<a href="http://jakarta.apache.org$value">$name</a>
+#else
+    &#149;&nbsp;<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"))&nbsp;
+        #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 &#169; 2006, Apache Software Foundation
+                    </em></font></div>
+                </td></tr>
+            </table>
+        </body>
+    </html>
+#end

Added: incubator/openjpa/site/xdocs/svn.xml
URL: http://svn.apache.org/viewcvs/incubator/openjpa/site/xdocs/svn.xml?rev=405501&view=auto
==============================================================================
--- incubator/openjpa/site/xdocs/svn.xml (added)
+++ incubator/openjpa/site/xdocs/svn.xml Tue May  9 11:59:06 2006
@@ -0,0 +1,283 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+
+    Copyright 2006 The Apache Software Foundation
+
+    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.
+-->
+
+<document>
+
+<properties>
+<title>Source Code</title>
+<author email="open-jpa-dev@incubator.apache.org">
+ OpenJPA Documentation Team</author>
+</properties>
+
+<body>
+
+<section name="Apache OpenJPA Source Code">
+
+<p>Apache OpenJPA uses 
+<a  class="external" rel="nofollow" href="http://subversion.tigris.org">
+Subversion</a> to manage its source code.
+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>
+<p>
+To receive notice of commits to the repository subscribe to 
+<a  href="mailto:open-jpa-commits@incubator.apache.org">
+open-jpa-commits@incubator.apache.org</a> by sending email to 
+<a  href="mailto:open-jpa-commits-subscribe@incubator.apache.org">
+open-jpa-commits-subscribe@incubator.apache.org</a>. 
+</p>
+
+</section>
+
+<section name="Web Access to Subversion">
+
+<p>
+If you just want to browse the source code, you can use the
+<a class="external" rel="nofollow" 
+href="http://svn.apache.org/viewcvs/incubator/openjpa">
+ViewCVS web interface</a> to Subversion.  This is current at all times.
+</p>
+
+</section>
+
+<section name="Checking Out Code Using Subversion">
+
+<p>Anyone can check code out of Subversion.  You only need to specify a
+username and password to update the Subversion repository, and only
+OpenJPA committers can do that.
+If you are a committer, are working from behind a firewall, or are 
+connected to the internet through a proxy server, please see the sections 
+below for more information.
+</p>
+
+<subsection name="Anonymous check out from Subversion">
+<p>Use a command like:</p>
+<pre>% svn checkout http://svn.apache.org/repos/asf/incubator/openjpa </pre>
+<p>Once you have Apache OpenJPA checked out you can update the source 
+by executing the following command from within the openjpa directory. </p>
+<pre>
+% svn update
+</pre>
+</subsection>
+<subsection name="Access from behind a firewall">
+
+<p>For those users who are stuck behind a corporate firewall which is 
+blocking http access to the Subversion repository, you can try to access it 
+via HTTPS: </p>
+<pre>
+% svn checkout https://svn.apache.org/repos/asf/incubator/openjpa
+</pre>
+
+</subsection>
+<subsection name="Access through a proxy">
+
+<p>The Subversion client can go through a proxy, if you configure it 
+to do so. First, edit your "servers" configuration file to indicate which 
+proxy to use. The files location depends on your operating system. 
+On Linux or Unix it is located in the directory "~/.subversion". 
+On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", 
+note this is a hidden directory.) </p>
+<p>There are comments in the file explaining what to do. If you don't have 
+that file, get the latest Subversion client and run any command; this will 
+cause the configuration directory and template files to be created. 
+</p>
+<p>Example : Edit the 'servers' file and add something like : 
+</p>
+<pre>
+[global]
+http-proxy-host = your.proxy.name
+http-proxy-port = 3128
+</pre>
+
+</subsection>
+
+<subsection name="Committer access">
+
+<p>Everyone can access the Apache OpenJPA Subversion repository via HTTPS, 
+but Apache OpenJPA Committers must checkout the Subversion repository 
+via HTTPS. 
+</p>
+<pre>
+% svn checkout https://svn.apache.org/repos/asf/incubator/openjpa
+</pre>
+</subsection>
+</section>
+
+<section name="Submitting Code Changes">
+<subsection name="Submitting a patch">
+
+<p>If you make changes to Apache OpenJPA, and would like to contribute 
+it to the project, you should open a JIRA issue and discuss the merits
+of the proposal with the developer community. If there is agreement,
+create a patch and attach it to the JIRA issue.
+</p>
+<p>
+To create a patch, execute the svn diff command. This creates a patch that
+can easily be uploaded to a JIRA issue. A good name for the patch includes
+the JIRA issue name, e.g. OPENJPA-104.patch. If there are several patches
+for the same JIRA issue, you might include your initials, e.g.
+OPENJPA-104.clr.patch 
+</p>
+<pre>
+% svn diff &gt; OPENJPA-104.patch
+</pre>
+</subsection>
+
+<subsection name="Committing changes to subversion">
+<p>
+To commit changes to the subversion repository, you must be an Apache 
+OpenJPA committer.  See <a href="get-involved.html">get involved</a> 
+for information on how to become a committer and how to set up your 
+password once you become a committer.
+</p>
+
+<p>
+Once your password is set, you can use a command like this to commit:
+</p>
+<pre>
+$&gt; svn commit --username your-username
+Authentication realm: &lt;https://svn.apache.org:443&gt; ASF Committers
+Password for 'your-username': your-password
+</pre>
+<p>You can also pass your password on the command line directly, but 
+this is a security problem on multiuser unix computers (the command line 
+arguments are available via the ps command).  Here is the command if you 
+are Windows or a single user unix computer: 
+</p>
+<pre>
+$&gt; svn commit --username your-username --password your-password
+</pre>
+<p>Remember to replace 'your-username' and 'your-password' with 
+your actual username and password on svn.apache.org. 
+</p>
+
+</subsection>
+</section>
+
+<section name="Building OpenJPA from Source">
+<p>
+Refer to the <a href="http://wiki.apache.org/incubator/OpenJPA">Wiki
+page</a> for details. Note that the OpenJPA project is subdivided into several
+smaller projects, and each project is built separately. 
+</p>
+
+</section>
+
+<section name="Using Subversion on Windows with cygwin">
+
+<p>If you use Subversion on Windows under cygwin, you may find that the 
+Subversion client automatically assigns the executable property to 
+non-executable files. In that case, you would see this at the bottom of 
+an <em>svn diff</em> of the file: 
+</p>
+<pre>
+Property changes on: test/sql/derby/datastoreidentity/schema1.sql
+___________________________________________________________________
+Name: svn:executable
+   + *
+</pre>
+<p>This section explains the source of the problem and suggests some 
+actions to avoid it. 
+</p>
+
+<subsection name="Background">
+
+<p>Subversion carries executable information in the built-in property 
+called svn:executable.  This property, unlike others,  may be present 
+or absent, but it has no value.  You can add it or delete it, but you 
+cannot change its value. 
+</p>
+<p>In theory, Subversion ignores Windows file permissions and by default 
+does not set svn:executable. However, cygwin svn acts like Unix svn and 
+determines the svn:executable property based on file permissions. 
+</p>
+<p>If you create a file from the cygwin command line, by default it is 
+executable only if the filename ends with .bat, .com or .exe, or if its 
+content starts with #!. [This is what the doc says, but you may see -x 
+for all files.] If you create a file using a Windows tool, by default 
+its Windows permissions are executable by all. Cygwin interprets the 
+Unix-style permissions this way as well. If the file is executable by all, 
+cygwin svn sets the svn:executable property on the file when you invoke 
+<em>svn add</em>. 
+</p>
+</subsection>
+<subsection name="Removing existing executable properties from the repository">
+
+<p>You can use svn propdel to remove the svn:executable property from your 
+working copy. 
+</p>
+<pre>
+    svn propdel -R svn:executable .
+</pre>
+<p>will recursively remove the svn:executable property from all of the 
+files below the current directory.  You can use this and commit the 
+files to clean the repository if necessary. 
+</p>
+
+</subsection>
+<subsection name="Preventing Subversion from adding unwanted executable 
+properties">
+
+<p>Windows/cygwin users who don't want to have to think about using <em>svn 
+propdel</em> or <em>chmod</em> on each added file can use a non-cygwin

+version of svn. The Subversion 1.2.3 Win32 binaries, downloadable from the 
+link at the bottom of <a  rel="nofollow" 
+href="http://subversion.tigris.org/project_packages.html">
+http://subversion.tigris.org/project_packages.html</a>, appear to work 
+well. After installation add the svn.exe location to your Windows PATH 
+variable. If you are switching from cygwin svn to Win32 svn </p>
+<ol type="1">
+<li>
+<p>Remove the subversion component from your cygwin installation 
+because when svn is invoked from a cygwin window, the cygwin version is 
+found even if your cygwin/bin directory is later on the path. (In the 
+Select Packages window of the setup wizard, navigate to the subversion 
+package in the Devel. category.  Click on the status icon until Uninstall 
+is displayed. Click next and continue through the wizard until installation 
+is complete.) 
+</p>
+</li>
+<li>
+<p>Copy the servers file and the auth folder from the sygwin ~/.subversion 
+directory to C:\Documents and 
+Settings\&lt;user&gt;\Application Data\Subversion used by Win32 
+subversion. 
+</p>
+</li>
+</ol>
+<p>Note that windows svn uses backslash as the path separator when 
+displaying file names. You cannot just copy and paste this file name 
+to another svn command when running from within a cygwin shell. 
+You need to enclose the file name into double quotes. 
+</p>
+<p>Alternatively, Windows users can set file permissions in Windows 
+Explorer. (Right-click on the top-level folder &amp; select Properties. 
+Select the Security tab. Click Advanced. Remove all instances of 
+Read &amp; Execute from the Permission Entries. Click "Reset permissions 
+on all child objects and enable propogations of inheritable permissions". 
+Click Apply. OK. OK.) You will have to do this again when you do a clean 
+checkout to a new directory. 
+</p>
+
+</subsection>
+</section>
+</body>
+</document>

Added: incubator/openjpa/site/xdocs/team-list.xml
URL: http://svn.apache.org/viewcvs/incubator/openjpa/site/xdocs/team-list.xml?rev=405501&view=auto
==============================================================================
--- incubator/openjpa/site/xdocs/team-list.xml (added)
+++ incubator/openjpa/site/xdocs/team-list.xml Tue May  9 11:59:06 2006
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+
+<document>
+
+<properties>
+<title>Project Team</title>
+<author email="open-jpa-dev@incubator.apache.org">
+ OpenJPA Documentation Team</author>
+</properties>
+
+<body>
+
+<section name="Apache OpenJPA Committers">
+
+<p>
+The people listed below have made significant contributions to OpenJPA by
+working long and hard to make quality software for the rest of the world to
+use.
+</p>
+
+<p>
+If you would like to contribute to OpenJPA, please see the
+<a href="http://wiki.apache.org/incubator/OpenJPA">wiki</a> 
+ to find areas where you can contribute.
+If there is nothing in there that suits your interest, but you still have
+ideas, please feel free to suggest them on the mailing list.
+</p>
+<p>
+If you would like to become a committer, please see
+<a href="get-involved.html">Get Involved</a>.
+</p>
+
+<table>
+<tr><th>Name</th><th>Organization</th></tr>
+<tr><th>Patrick Linskey</th><th>BEA</th></tr>
+<tr><th>Eddie O'Neil</th><th></th></tr>
+<tr><th>Brian McCallister</th><th></th></tr>
+<tr><th>Geir Magnusson Jr.</th><th>Intel</th></tr>
+<tr><th>Craig Russell</th><th>Sun Microsystems, Inc.</th></tr>
+</table>
+</section>
+
+</body>
+</document>



Mime
View raw message