You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by da...@apache.org on 2017/02/15 11:23:32 UTC
svn commit: r1783095 - /jackrabbit/site/live/oak/docs/diagnostic-builds.html
Author: davide
Date: Wed Feb 15 11:23:32 2017
New Revision: 1783095
URL: http://svn.apache.org/viewvc?rev=1783095&view=rev
Log:
OAK-5665 - use of -R in diagnostic-build.md
Modified:
jackrabbit/site/live/oak/docs/diagnostic-builds.html
Modified: jackrabbit/site/live/oak/docs/diagnostic-builds.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/diagnostic-builds.html?rev=1783095&r1=1783094&r2=1783095&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/diagnostic-builds.html (original)
+++ jackrabbit/site/live/oak/docs/diagnostic-builds.html Wed Feb 15 11:23:32 2017
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 2017-01-31
+ | Generated by Apache Maven Doxia at 2017-02-15
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="Date-Revision-yyyymmdd" content="20170131" />
+ <meta name="Date-Revision-yyyymmdd" content="20170215" />
<meta http-equiv="Content-Language" content="en" />
<title>Jackrabbit Oak - Cutting diagnostic builds</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,8 +216,8 @@
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2017-01-31</li>
- <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
+ <li id="publishDate">Last Published: 2017-02-15</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.8-SNAPSHOT</li>
@@ -516,7 +516,7 @@
See the License for the specific language governing permissions and
limitations under the License. --><h1>Cutting diagnostic builds</h1>
<p>The cutting of a diagnostic build, is the process where you want to deliver one or more oak bundles, let’s say <tt>oak-core</tt> into a specific environment in order to assess whether it actually solves the issues.</p>
-<p>What you are aiming is to eventually produce a bundle in the format of, for example, <tt>oak-core-1.0.22-r1707077</tt>.</p>
+<p>What you are aiming is to eventually produce a bundle in the format of, for example, <tt>oak-core-1.0.22-R2707077</tt>.</p>
<p>Let’s see it through an example.</p>
<p>We want to produce a diagnostic build of <tt>oak-core</tt> for what it will be Oak <b>1.0.23</b>. It means we currently have in our <tt>pom.xml</tt> a version of <tt><version>1.0.23-SNAPSHOT</version></tt>.</p>
<div class="section">
@@ -542,16 +542,17 @@ Last Changed Rev: 1708547
Last Changed Date: 2015-10-14 06:56:40 +0100 (Wed, 14 Oct 2015)
</pre></div>
<p>what you’re interested is the revision number. In our case: <tt>1708581</tt>.</p>
-<p>This means you’ll produce a bundle with a version of <tt>1.0.22-r1708581</tt>.</p>
+<p>This means you’ll produce a bundle with a version of <tt>1.0.22-R2708581</tt>.</p>
<p><b>Note that the produced version is lower then the official release you’re working on. 1.0.22 vs 1.0.23</b></p>
+<p><b>Note to use the ‘-R’ (uppercase) instead of ‘-r’ (lowercase) as it will be lower than ‘-SNAPSHOT’. Doing otherwise will result in troubles when trying to apply a ‘-SNAPSHOT’ version on top of the internal build</b></p>
<p>If you’re in doubt about what versioning and how OSGi or Maven will behave have a look at the <a class="externalLink" href="http://versionatorr.appspot.com/">Versionatorr App</a>. You want your diagnostic build to be <b>always less than</b> the oak version where your fix is going to be released.</p></div>
<div class="section">
<h2>Changing the version in all the poms.<a name="Changing_the_version_in_all_the_poms."></a></h2>
-<p>Now that you know you want to produce <tt>1.0.22-r1708581</tt> you have to change all the poms accordingly.</p>
+<p>Now that you know you want to produce <tt>1.0.22-R2708581</tt> you have to change all the poms accordingly.</p>
<p>Go into <tt>oak-parent</tt> and issue the following maven command.</p>
<div class="source">
-<pre>oak-parent$ mvn versions:set -DnewVersion=1.0.22-r1708581
+<pre>oak-parent$ mvn versions:set -DnewVersion=1.0.22-R2708581
</pre></div>
<p>you may encounter the following exception. Simply ignore it. Nothing went wrong.</p>
@@ -565,7 +566,7 @@ Last Changed Date: 2015-10-14 06:56:40 +
<div class="source">
<pre>jackrabbit-oak$ mvn clean install
</pre></div>
-<p>and you’ll have a full oak build with the version <tt>1.0.22-r1708581</tt>. Go into <tt>oak-core/target</tt> and take the produced jar.</p></div>
+<p>and you’ll have a full oak build with the version <tt>1.0.22-R2708581</tt>. Go into <tt>oak-core/target</tt> and take the produced jar.</p></div>
<div class="section">
<h2>Re-setting the svn branch<a name="Re-setting_the_svn_branch"></a></h2>
<p>You don’t want to commit the changes back to svn so we reset the branch as the original state</p>