Author: buildbot
Date: Thu Apr 9 07:04:00 2015
New Revision: 946852
Log:
Staging update by buildbot for olingo
Modified:
websites/staging/olingo/trunk/content/ (props changed)
websites/staging/olingo/trunk/content/doc/javascript/project-build.html
Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Apr 9 07:04:00 2015
@@ -1 +1 @@
-1672248
+1672249
Modified:
websites/staging/olingo/trunk/content/doc/javascript/project-build.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/javascript/project-build.html
(original)
+++ websites/staging/olingo/trunk/content/doc/javascript/project-build.html Thu
Apr 9 07:04:00 2015
@@ -89,7 +89,7 @@
</div><!-- Main component for a primary marketing message or call to
action --><h1 id="building-the-olingo-odata-client-for-javascript">Building the
Olingo OData Client for JavaScript</h1>
<h3 id="test-tool-prerequisites">Test tool prerequisites</h3>
<p>Open your (git-)bash and navigate to the folder
-<code>olingo-odata4-js/odatajs/</code></p>
+<code>olingo-odata4-js/</code></p>
<p>Entry the <em>grunt -version</em> command to show the version of the
globaly installed grund-client and the local grunt installation:</p>
<div class="codehilite"><pre>$ <span class="n">grunt</span> <span
class="o">-</span><span class="n">version</span>
<span class="n">grunt</span><span class="o">-</span><span class="n">cli</span>
<span class="n">v0</span><span class="p">.</span>1<span class="p">.</span>13
@@ -100,33 +100,41 @@
<h3 id="build">Build</h3>
<p>To build the odatajs library use the grunt task chain
<strong>build</strong>.</p>
<p><strong><code>grunt build</code></strong></p>
-<p>This task chain will perform the following grunt tasks:</p>
+<p>This task builds the odatajs library</p>
+<p>The files are created in the ./_build folder:</p>
<ul>
-<li>
-<p><code>browserify:src</code>
- Browserify parses the main file of the library <em>src/index.js</em> and
collects all required node modules to build an single monolitic file for easy
use in the browser. While doing this all license headers from the seperate
filed will be removed.
- The file will be saved in <em>build/odatajs.<version>.js</em></p>
-</li>
-<li>
-<p><code>uglify:build</code>
- Minifies and uglifies the file <em>build/odatajs.<version>.js</em> and
writes the minified version to <em>build/odatajs.<version>.min.js</em>. Also a
map file <em>build/datajs.2.0.0.map</em> is created to allow debugging</p>
-</li>
-<li>
-<p><code>concat</code>
- Add a final licence header to the files <em>build/odatajs.<version>.js</em>
and <em>build/odatajs.<version>.min.js</em></p>
-</li>
+<li>/doc-src
+ <br/>Documentation</li>
+<li>/lib
+ <br/>The ODataJs library</li>
+<li>/tmp
+ <br/>Folder for temporary build artefacts. E.g. logfile from the
license-check</li>
</ul>
-<p>The files will be createt in the ./build folder:</p>
+<p><strong><code>grunt release</code></strong></p>
+<p>This task builds the odatajs library and creates the files for the
release</p>
+<p>The files are created in the ./_dist/odatajs-<version> folder:</p>
<ul>
-<li>odatajs*.js
- <br/>The uncompressed library</li>
-<li>odatajs*.min.js
- <br/>The minified library</li>
-<li>odatajs*.map
- <br/>The map file used by the browsers to enable debugging of the minified
library</li>
+<li>/doc
+ <br/>Documentation, zipped to file
<strong>odatajs-<version>-doc.zip</strong></li>
+<li>/lib
+ <br/>Library, zipped to file <strong>odatajs-<version>-lib.zip</strong></li>
+<li>/sources
+ <br/>Sources, zipped to file
<strong>odatajs-<version>-sources.zip</strong></li>
+</ul>
+<p><strong><code>release-sign</code></strong></p>
+<p>Signs the zipped files in the /_dist folder. The signing files are also
stored in the /_dist folder.</p>
+<h3 id="sign-the-nugget">Sign the nugget</h3>
+<p>The odatajs.<version>.nupkg filed needs to be signed malually.</p>
+<ul>
+<li>md5
+ <br/>>openssl dgst -md5 odatajs.4.0.0.nupkg >
odatajs.4.0.0.nupkg.md5*</li>
+<li>sha512
+ <br/>>gpg --print-md SHA512 odatajs.4.0.0.nupkg >
odatajs.4.0.0.nupkg.sha512</li>
+<li>asc
+ <br/>>gpg --armor --detach-sign odatajs.4.0.0.nupkg</li>
</ul>
<h3 id="check-the-license-headers">Check the license headers</h3>
-<p>please ensure that the rat tools is properly installe (see project-setup
documentaion)</p>
+<p>please ensure that the rat tools is properly installed (see project-setup
documentaion)</p>
<p><strong><code>grunt license-check</code></strong></p><div align="center">
<p>Copyright © 2013-2014, The Apache Software Foundation<br>
Apache Olingo, Olingo, Apache,
the Apache feather, and