Author: jleroux
Date: Tue Jan 8 08:49:48 2019
New Revision: 1850718
URL: http://svn.apache.org/viewvc?rev=1850718&view=rev
Log:
Update for wiki
Modified:
ofbiz/tools/wiki-files/BuildBot/BuildBot.md.html
ofbiz/tools/wiki-files/README.html
ofbiz/tools/wiki-files/demos/README.md.html
Modified: ofbiz/tools/wiki-files/BuildBot/BuildBot.md.html
URL:
http://svn.apache.org/viewvc/ofbiz/tools/wiki-files/BuildBot/BuildBot.md.html?rev=1850718&r1=1850717&r2=1850718&view=diff
==============================================================================
--- ofbiz/tools/wiki-files/BuildBot/BuildBot.md.html (original)
+++ ofbiz/tools/wiki-files/BuildBot/BuildBot.md.html Tue Jan 8 08:49:48 2019
@@ -37,7 +37,7 @@ under the License.
<h2 id="what-is-builbbot-and-why-using-it">What is BuilbBot and why using
it?</h2>
<p>OFBiz uses <a href="https://en.wikipedia.org/wiki/Buildbot">BuilbBot</a> as
its Continuous Integration (CI) tool. There are other CI tools <a
href="https://ci.apache.org/">used at the ASF</a>.</p>
<h2 id="ofbiz-and-buildbot">OFBiz and BuildBot</h2>
-<p><a
href="https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/ofbiz.conf">Here
is the OFBiz BuildBot script</a>. If you are interested on modifying it,
please understand its content and read the BuildBot documentation. Note that
the Infra team is always there to help you.</p>
+<p><a
href="https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/ofbiz.conf">Here
is the OFBiz BuildBot script</a>. If you are interested on modifying it,
please understand its content and read the BuildBot documentation. Note that
the Infra team is always there to help you. There is also <a
href="C:\projectsASF\infrastructure-puppet\modules\subversion_server\files\hooks\buildbot_project_paths"
title="buildbot_project_paths">a file in Git for project paths</a>.</p>
<h3 id="schedulers-and-builders">Schedulers and Builders</h3>
<p>BuildBot uses schedulers and builders. Schedulers decide which builders to
trigger on svn commits.</p>
<p>You can see the OFBiz builders and their states in the <a
href="https://ci.apache.org/waterfall">common Buildbot waterfall view</a> (look
for âofbâ).</p>
@@ -64,5 +64,12 @@ under the License.
<p>Note though that with our last config (see <a
href="https://issues.apache.org/jira/browse/INFRA-15394">INFRA-15394</a>) the
ofbizTrunkFrameworkPlugins and ofbizBranch17FrameworkPlugins builders are
dependent and respectively automatically launched by the ofbizTrunkFramework
and ofbizBranch17Framework builders but only on commits. So if you use an IRC
command like <code>force build ofbizTrunkFramework</code> only this builder
will be launched not the dependent ofbizTrunkFrameworkPlugins. We canât call
a scheduler from IRC. It needs a svn commit.</p>
<h3 id="randon-conflicts-on-port-8080-during-tests">Randon conflicts on port
8080 during tests</h3>
<p>One case which comes back from time to time is a conflit on port 8080 due
to the automatic startup of tomcat. Itâs due to security patches being
applied on Silvanus (one of 3 the servers BuildBot uses for OFBiz, hence the
random aspect, only Sylvanus is concerned). In such case we need to ask infra
to manually disable Tomcat on Silvanus. This happened 4th already, last case
was <a
href="https://issues.apache.org/jira/browse/INFRA-15829">INFRA-15829</a>) where
things are best explained.</p>
+<h3 id="adding-a-new-branch">Adding a new branch</h3>
+<ol type="1">
+<li>Copy and adapt an existing branch scheduler and builder in <a
href="https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/ofbiz.conf">the
OFBiz BuildBot script</a>.</li>
+<li>Ask Infra for a new directories structure for the tests (eg
https://issues.apache.org/jira/browse/INFRA-17513)<br />
+</li>
+<li>Adds the new branches <a
href="C:\projectsASF\infrastructure-puppet\modules\subversion_server\files\hooks\buildbot_project_paths"
title="buildbot_project_paths">in the Git file for project paths</a>.</li>
+</ol>
</body>
</html>
Modified: ofbiz/tools/wiki-files/README.html
URL:
http://svn.apache.org/viewvc/ofbiz/tools/wiki-files/README.html?rev=1850718&r1=1850717&r2=1850718&view=diff
==============================================================================
--- ofbiz/tools/wiki-files/README.html (original)
+++ ofbiz/tools/wiki-files/README.html Tue Jan 8 08:49:48 2019
@@ -1238,12 +1238,13 @@ verbose:</p>
</div>
</div>
<div class="sect3">
-<h4 id="compile-java-using-xlint-output">Compile Java using Xlint output</h4>
+<h4 id="compile-java-without-using-xlint-output">Compile Java without using
Xlint output</h4>
<div class="paragraph">
-<p>Xlint prints output of all warnings detected by the compiler</p>
+<p>By default Xlint prints output of all warnings detected by the compiler, if
you
+want to silence them</p>
</div>
<div class="paragraph">
-<p><code>gradlew -PXlint build</code></p>
+<p><code>gradlew -PXlint:none build</code></p>
</div>
</div>
<div class="sect3">
@@ -1644,7 +1645,7 @@ Secure Sockets Extension) API</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2018-09-14 08:19:31 Paris, Madrid (heure dÃÃtÃ)
+Last updated 2018-12-14 14:19:22 Paris, Madrid
</div>
</div>
</body>
Modified: ofbiz/tools/wiki-files/demos/README.md.html
URL:
http://svn.apache.org/viewvc/ofbiz/tools/wiki-files/demos/README.md.html?rev=1850718&r1=1850717&r2=1850718&view=diff
==============================================================================
--- ofbiz/tools/wiki-files/demos/README.md.html (original)
+++ ofbiz/tools/wiki-files/demos/README.md.html Tue Jan 8 08:49:48 2019
@@ -29,7 +29,14 @@
<li>https://demo-stable.ofbiz.apache.org</li>
<li>https://demo-old.ofbiz.apache.org</li>
</ul>
-<p>The Puppet configuration is at
https://github.com/apache/infrastructure-puppet/blob/deployment/data/nodes/ofbiz-vm2.apache.org.yaml</p>
+<p>The Puppet configuration is at
https://github.com/apache/infrastructure-puppet/blob/deployment/data/nodes/ofbiz-vm2.apache.org.yaml
To modify it there is 2 possibilities. 1. You know what you are doing or have
a idea about it: * Create your own fork of
https://github.com/apache/infrastructure-puppet/, * make the modifications, *
push them, * ask for a Pull Request 2. You donât know how to change things.
Just create an Infra Jira asking for the wanted changeâ¦and be patient ;)</p>
+<p>To help you here is <a
href="https://github.com/apache/infrastructure-puppet/commits/deployment/data/nodes/ofbiz-vm2.apache.org.yaml"
title="changes history">the changes history</a></p>
+<blockquote>
+<p><em>Note</em>: To update your fork with command line:</p>
+</blockquote>
+<pre><code> git fetch upstream
+ If it does not work: git remote add upstream
https://github.com/apache/infrastructure-puppet.git
+ git merge upstream/deployment</code></pre>
<blockquote>
<p><em>Note</em>: <strong>Only run the ofbiz demos using the âofbizDemoâ
user, never run as root.</strong></p>
</blockquote>
@@ -49,7 +56,6 @@ being run as - it should say ofbizDemo (
Type 'exit' to exit the ofbizDemo user and return to your normal
user.</code></pre>
<p>Also note that the demos are usually updated and started/stopped
automatically using the check-svn-update.sh script in this directory, it is run
by an ofbiz cron job every 24 hours at 3 AM. You should therefore only need to
start/stop manually if there is a problem.</p>
-<p>If you want to restart only a single instance you can respectively use</p>
-<p>trunk-manual-nicely.sh stable-manual-nicely.sh old-manual-nicely.sh</p>
+<p><del>If you want to restart only a single instance you can respectively use
trunk-manual-nicely.sh stable-manual-nicely.sh old-manual-nicely.sh</del> This
does not work (at least for instances using Gradle. So currently R13.07 is not
affected you can use old-manual.sh). See why at
https://issues.apache.org/jira/browse/OFBIZ-10287 So you need to use
trunk-manual-nicely.sh for now and restart all instances even if only one is
changed.</p>
</body>
</html>