You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by bu...@apache.org on 2013/07/25 12:07:48 UTC
svn commit: r871123 - in /websites/staging/sis/trunk/content: ./
branches.html
Author: buildbot
Date: Thu Jul 25 10:07:48 2013
New Revision: 871123
Log:
Staging update by buildbot for sis
Modified:
websites/staging/sis/trunk/content/ (props changed)
websites/staging/sis/trunk/content/branches.html
Propchange: websites/staging/sis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Jul 25 10:07:48 2013
@@ -1 +1 @@
-1506871
+1506873
Modified: websites/staging/sis/trunk/content/branches.html
==============================================================================
--- websites/staging/sis/trunk/content/branches.html (original)
+++ websites/staging/sis/trunk/content/branches.html Thu Jul 25 10:07:48 2013
@@ -86,27 +86,27 @@ for making merges easier, then provides
<div class="toc">
<ul>
<li><a href="#development">The development branches</a><ul>
-<li><a href="#branchesjdk7">branches/JDK7</a></li>
-<li><a href="#branchesjdk6">branches/JDK6</a></li>
+<li><a href="#jdk7">branches/JDK7</a></li>
+<li><a href="#jdk6">branches/JDK6</a></li>
<li><a href="#trunk">trunk</a></li>
</ul>
</li>
-<li><a href="#coding-recommendations">Coding recommendations</a><ul>
+<li><a href="#recommendations">Coding recommendations</a><ul>
<li><a href="#formatting">Formatting</a></li>
-<li><a href="#import-statements">Import statements</a></li>
-<li><a href="#replacement-on-non-existent-classes">Replacement on non-existent classes</a></li>
+<li><a href="#imports">Import statements</a></li>
+<li><a href="#substitutions">Substitution for non-existent classes</a></li>
</ul>
</li>
-<li><a href="#performing-the-merges">Performing the merges</a><ul>
-<li><a href="#merging-changes-between-two-branches">Merging changes between two branches</a></li>
-<li><a href="#declaring-that-some-changes-shall-not-be-merged">Declaring that some changes shall not be merged</a></li>
+<li><a href="#merges">Performing the merges</a><ul>
+<li><a href="#merge-two-branches">Merging changes between two branches</a></li>
+<li><a href="#merge-record-only">Declaring that some changes shall not be merged</a></li>
</ul>
</li>
</ul>
</div>
<h1 id="development">The development branches</h1>
<p>Developers are encouraged to select the first branch listed below, in that order, which meet their needs.</p>
-<h2 id="branchesjdk7">branches/JDK7</h2>
+<h2 id="jdk7">branches/JDK7</h2>
<p>The JDK7 branch is the recommended development branch for developers who can use a JDK7 environment.
This branch implements the interfaces defined in the <a href="http://www.geoapi.org/snapshot/index.html">GeoAPI snapshot</a> milestones
and uses some JDK7-specific features like:</p>
@@ -115,7 +115,7 @@ and uses some JDK7-specific features lik
but also on other aspects like <em>diamond operator</em>.</li>
<li>Leveraging of new API (<em>suppressed exceptions</em>, <em>file systems</em>, <em>fork join</em>).</li>
</ul>
-<h2 id="branchesjdk6">branches/JDK6</h2>
+<h2 id="jdk6">branches/JDK6</h2>
<p>The JDK6 branch is a merge of the JDK7 branch ported to the JDK6 platform.
This is the recommended development branch for developers who can not use a JDK7 environment,
but still want to work closely with latest GeoAPI interfaces.
@@ -139,7 +139,7 @@ necessary for implementing an older vers
<li>Usages of non-existent GeoAPI interfaces are replaced by direct usages of the
corresponding Apache SIS implementation.</li>
</ul>
-<h1 id="coding-recommendations">Coding recommendations</h1>
+<h1 id="recommendations">Coding recommendations</h1>
<p>The following recommendations aim to make the merges easier by reducing the extend of potential conflicts.</p>
<h2 id="formatting">Formatting</h2>
<p>Refrain from doing massive code reformatting unless:</p>
@@ -178,7 +178,7 @@ this example we aim to preserve the inde
</pre></div>
-<h2 id="import-statements">Import statements</h2>
+<h2 id="imports">Import statements</h2>
<p>Isolate at the end of the imports section any import statements that are specific to a platform.
This separation allows any branch to re-arrange the common import statements without generating
conflicts with the platform-dependent import statements. Example:</p>
@@ -191,16 +191,16 @@ conflicts with the platform-dependent im
</pre></div>
-<h2 id="replacement-on-non-existent-classes">Replacement on non-existent classes</h2>
+<h2 id="substitutions">Substitution for non-existent classes</h2>
<p>When using a JDK7 class that does not exist on JDK6, define a class of the same name in a
<code>org.apache.sis.internal</code> sub-package with the minimal amount of needed functionalities,
provided that it can be done with reasonable effort. Otherwise just delete the JDK7-dependent
code from the JDK6 branch.</p>
-<h1 id="performing-the-merges">Performing the merges</h1>
+<h1 id="merges">Performing the merges</h1>
<p>Subversion 1.5 and later maintain a <code>svn:mergeinfo</code> property which make merge operations much easier.
In order to get those merge information properly maintained, no merge operation shall be performed
with older Subversion tools.</p>
-<h2 id="merging-changes-between-two-branches">Merging changes between two branches</h2>
+<h2 id="merge-two-branches">Merging changes between two branches</h2>
<p>The branches and trunk checkout directories can be located anywhere on the developer machine.
The following example assumes that the current directory contains the following sub-directories:</p>
<ul>
@@ -243,7 +243,7 @@ mvn install
</pre></div>
-<h2 id="declaring-that-some-changes-shall-not-be-merged">Declaring that some changes shall not be merged</h2>
+<h2 id="merge-record-only">Declaring that some changes shall not be merged</h2>
<p>If a developers wants to apply some changes specific to the JDK7 platform and tells
Subversion to not propagate those changes to the JDK6 branch, then the following
procedure shall be applied:</p>