Author: desruisseaux
Date: Fri Oct 6 23:02:06 2017
New Revision: 1811374
URL: http://svn.apache.org/viewvc?rev=1811374&view=rev
Log:
Update the build instructions for the changes in the way to create the
distribution file.
Modified:
sis/site/trunk/content/build.mdtext
Modified: sis/site/trunk/content/build.mdtext
URL:
http://svn.apache.org/viewvc/sis/site/trunk/content/build.mdtext?rev=1811374&r1=1811373&r2=1811374&view=diff
==============================================================================
--- sis/site/trunk/content/build.mdtext [UTF-8] (original)
+++ sis/site/trunk/content/build.mdtext [UTF-8] Fri Oct 6 23:02:06 2017
@@ -33,7 +33,7 @@ The remaining of this page provides more
Distribution file and Pack200 bundle {#dist}
==============================================
-The Pack200 bundle is a file with the `.pack.gz` extension containing all SIS
modules except `sis-webapp`
+The Pack200 bundle is a file with the `.pack.gz` extension containing most SIS
modules except `sis-webapp`
(because Web applications use an other packaging) together with their
dependencies.
Pack200 files are uncompressed by the `unpack200` command provided in JDK/JRE
installation.
However for users convenience, we provide a shell script for uncompressing and
launching the SIS
@@ -41,9 +41,11 @@ command line tool in a single step. That
files (`README`, `LICENSE`, <i>etc.</i>) are bundled in a ZIP file created as
below:
:::bash
- mvn org.apache.sis.core:sis-build-helper:dist --non-recursive
+ cd application/sis-console
+ mvn package org.apache.sis.core:sis-build-helper:dist
-Do not forget the `--non-recursive` option, otherwise the Mojo will waste CPU
by executing itself many time.
+This task is executed automatically if the `apache-release` profile is
activated at build time.
+Above command is for the cases where the developer wants the distribution file
without rebuilding the whole project.
Optionally, the Apache SIS version can be inserted as a 4th element between
`sis-build-helper:` and `:dist`
if there is many versions of the plugin in the local repository.
@@ -55,8 +57,8 @@ The Pack200 file will be automatically u
Generating the Pack200 file alone {#pack200}
----------------------------------------------
-If only the Pack200 file is desired, without the distribution ZIP file,
-one can use the following command:
+If only the Pack200 file is desired, without the distribution ZIP file, one
can use the following command
+(do not forget the `--non-recursive` option, otherwise the Mojo will waste CPU
by executing itself many time):
:::bash
mvn org.apache.sis.core:sis-build-helper:pack --non-recursive