From ec3351c01244c3f6423a1ba3f39c1b406cf695fb Mon Sep 17 00:00:00 2001 From: Jean-Pierre Huynh Date: Fri, 31 Jul 2015 11:00:48 +0000 Subject: [PATCH] Merged RA-232-HEAD-PACKAGING (Bitrock Resources for Share Installer) to HEAD (5.1/Cloud) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@109277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../resources/bitrock/alfresco-apply-amps.xml | 2 +- .../alfresco-componentselection-java.xml | 2 +- .../alfresco-customstack-build-settings.xml | 1 + ...alfresco-customstack-postgres-settings.xml | 176 ++++++++++--- .../alfresco-customstack-shortcuts.xml | 2 +- .../alfresco-customstack-validations.xml | 12 +- .../resources/bitrock/alfresco-functions.xml | 2 +- .../bitrock/alfresco-postgres-question.xml | 8 +- .../resources/bitrock/alfresco-readme.xml | 2 +- .../bitrock/alfrescodm-postgres-database.xml | 6 +- src/main/resources/bitrock/alfrescodm.xml | 6 +- src/main/resources/bitrock/ctlscript.xml | 1 - .../resources/bitrock/postgres-properties.xml | 5 +- .../resources/bitrock/postgres-service.xml | 58 ++--- src/main/resources/bitrock/postgres.xml | 5 - .../resources/bitrock/postgres_initdb.xml | 3 +- src/main/resources/bitrock/project.xml | 242 +++++++++--------- src/main/resources/bitrock/swftools.xml | 1 - src/main/resources/bitrock/tomcat.xml | 26 +- 19 files changed, 328 insertions(+), 232 deletions(-) diff --git a/src/main/resources/bitrock/alfresco-apply-amps.xml b/src/main/resources/bitrock/alfresco-apply-amps.xml index 48af880680..6f0f40195d 100644 --- a/src/main/resources/bitrock/alfresco-apply-amps.xml +++ b/src/main/resources/bitrock/alfresco-apply-amps.xml @@ -1,6 +1,6 @@ alfrescoapplyamps - //Alfresco Appy AMPs + //Alfresco Apply AMPs 1 1 0 diff --git a/src/main/resources/bitrock/alfresco-componentselection-java.xml b/src/main/resources/bitrock/alfresco-componentselection-java.xml index d0787f8d83..0c4cd67f0e 100644 --- a/src/main/resources/bitrock/alfresco-componentselection-java.xml +++ b/src/main/resources/bitrock/alfresco-componentselection-java.xml @@ -2,7 +2,7 @@ javaalfresco Java 1 - Java Component required to run the Alfresco server. + Java Component required to run ${product_fullname}. 1 1 diff --git a/src/main/resources/bitrock/alfresco-customstack-build-settings.xml b/src/main/resources/bitrock/alfresco-customstack-build-settings.xml index f86cad4e64..9fe8d9f437 100644 --- a/src/main/resources/bitrock/alfresco-customstack-build-settings.xml +++ b/src/main/resources/bitrock/alfresco-customstack-build-settings.xml @@ -1,5 +1,6 @@ alfrescocustombuildsettings + //Alfresco Custom Build Settings 0 diff --git a/src/main/resources/bitrock/alfresco-customstack-postgres-settings.xml b/src/main/resources/bitrock/alfresco-customstack-postgres-settings.xml index c15162c941..961600d9c2 100644 --- a/src/main/resources/bitrock/alfresco-customstack-postgres-settings.xml +++ b/src/main/resources/bitrock/alfresco-customstack-postgres-settings.xml @@ -1,10 +1,8 @@ alfrescocustomstacksettings + //Alfresco Custom Stack Settings 1 0 - - - @@ -14,13 +12,11 @@ - - - + - + @@ -28,6 +24,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + @@ -37,28 +58,52 @@ - - + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -89,9 +134,15 @@ + and - - + + + + + + + @@ -111,8 +162,14 @@ + and - + + + + + + @@ -122,13 +179,18 @@ + and - + + + + + + - alfrescocustomstack_installation_type Installation Type @@ -142,17 +204,37 @@ + alfrescocustomstack_services_startup Service Startup Configuration @@ -192,12 +284,24 @@ - + + + + + - - + + + + + + + + + + diff --git a/src/main/resources/bitrock/alfresco-customstack-shortcuts.xml b/src/main/resources/bitrock/alfresco-customstack-shortcuts.xml index ee1e73807a..65c9b878ea 100644 --- a/src/main/resources/bitrock/alfresco-customstack-shortcuts.xml +++ b/src/main/resources/bitrock/alfresco-customstack-shortcuts.xml @@ -1,6 +1,6 @@ shortcuts - Alfresco Shortcuts + //Alfresco Shortcuts 0 1 0 diff --git a/src/main/resources/bitrock/alfresco-customstack-validations.xml b/src/main/resources/bitrock/alfresco-customstack-validations.xml index e3efa89347..b9f0b31ce8 100644 --- a/src/main/resources/bitrock/alfresco-customstack-validations.xml +++ b/src/main/resources/bitrock/alfresco-customstack-validations.xml @@ -1,6 +1,6 @@ alfrescovalidations - Alfresco Validations + //Alfresco Validations 1 0 @@ -10,8 +10,14 @@ You need to select at least one of the Solr components - - + + + + + + + + diff --git a/src/main/resources/bitrock/alfresco-functions.xml b/src/main/resources/bitrock/alfresco-functions.xml index 45e22a27fb..e5ca85ded7 100644 --- a/src/main/resources/bitrock/alfresco-functions.xml +++ b/src/main/resources/bitrock/alfresco-functions.xml @@ -1,6 +1,6 @@ alfrescofunctions - + //Alfresco Functions 0 1 0 diff --git a/src/main/resources/bitrock/alfresco-postgres-question.xml b/src/main/resources/bitrock/alfresco-postgres-question.xml index 12305a8c32..7cbe4f30fe 100644 --- a/src/main/resources/bitrock/alfresco-postgres-question.xml +++ b/src/main/resources/bitrock/alfresco-postgres-question.xml @@ -1,12 +1,12 @@ alfrescopostgresquestion + //Alfresco PostgreSQL Question 1 0 - + - alfrescopostgresquestion_existing Database Configuration @@ -55,7 +55,6 @@ - @@ -69,7 +68,6 @@ - @@ -82,7 +80,6 @@ - @@ -104,7 +101,6 @@ - diff --git a/src/main/resources/bitrock/alfresco-readme.xml b/src/main/resources/bitrock/alfresco-readme.xml index c4bc4d7cb3..77566677f9 100644 --- a/src/main/resources/bitrock/alfresco-readme.xml +++ b/src/main/resources/bitrock/alfresco-readme.xml @@ -1,6 +1,6 @@ readme - README Folder Component + //README Folder Component 1 0 1 diff --git a/src/main/resources/bitrock/alfrescodm-postgres-database.xml b/src/main/resources/bitrock/alfrescodm-postgres-database.xml index 983a71862f..945120be6e 100644 --- a/src/main/resources/bitrock/alfrescodm-postgres-database.xml +++ b/src/main/resources/bitrock/alfrescodm-postgres-database.xml @@ -1,13 +1,11 @@ alfrescopostgresdbcreation + //Alfresco PostgreSQL DB Creation 1 0 - + - - - diff --git a/src/main/resources/bitrock/alfrescodm.xml b/src/main/resources/bitrock/alfrescodm.xml index 3067ca284e..57681e9297 100644 --- a/src/main/resources/bitrock/alfrescodm.xml +++ b/src/main/resources/bitrock/alfrescodm.xml @@ -1,6 +1,6 @@ alfresco - Alfresco + ${product_fullname} Alfresco Enterprise Content Management (ECM) system featuring Document Management, Collaboration Management and Image Management. 0 1 @@ -20,7 +20,7 @@ - + @@ -368,7 +368,7 @@ <Context> <Context> -<Valve className="org.apache.catalina.authenticator.SSLAuthenticator" securePagesWithPragma="false" /> +<Valve className="org.apache.catalina.authenticator.SSLAuthenticator" securePagesWithPragma="false" /> diff --git a/src/main/resources/bitrock/ctlscript.xml b/src/main/resources/bitrock/ctlscript.xml index f44f14e8ff..bff874ca73 100644 --- a/src/main/resources/bitrock/ctlscript.xml +++ b/src/main/resources/bitrock/ctlscript.xml @@ -159,6 +159,5 @@ fi - \ No newline at end of file diff --git a/src/main/resources/bitrock/postgres-properties.xml b/src/main/resources/bitrock/postgres-properties.xml index dc8c0cf9a2..454d87ba5f 100644 --- a/src/main/resources/bitrock/postgres-properties.xml +++ b/src/main/resources/bitrock/postgres-properties.xml @@ -5,11 +5,8 @@ 0 1 - + - - - diff --git a/src/main/resources/bitrock/postgres-service.xml b/src/main/resources/bitrock/postgres-service.xml index e92e8ef568..bdbac63b8e 100644 --- a/src/main/resources/bitrock/postgres-service.xml +++ b/src/main/resources/bitrock/postgres-service.xml @@ -5,10 +5,9 @@ 1 0 - + - @@ -44,34 +43,32 @@ start /MIN /WAIT cmd /c "${postgres_root_directory.dos}\bin\pg_ctl.exe register - - sc - config "${postgres_unique_service_name}" start= ${postgres_service_startup} - - - - - - - - ${postgres_root_directory}/scripts/servicerun.bat;${postgres_root_directory}/scripts/serviceinstall.bat - regexp - - - @@BITROCK_POSTGRESQL_SERVICE_NAME@@ - ${postgres_unique_service_name} - - - @@BITROCK_POSTGRESQL_DATADIR@@ - ${postgres_data_directory.dos.unix} - - - @@BITROCK_POSTGRESQL_ROOTDIR@@ - ${postgres_root_directory} - - - - + + sc + config "${postgres_unique_service_name}" start= ${postgres_service_startup} + + + + + + + ${postgres_root_directory}/scripts/servicerun.bat;${postgres_root_directory}/scripts/serviceinstall.bat + regexp + + + @@BITROCK_POSTGRESQL_SERVICE_NAME@@ + ${postgres_unique_service_name} + + + @@BITROCK_POSTGRESQL_DATADIR@@ + ${postgres_data_directory.dos.unix} + + + @@BITROCK_POSTGRESQL_ROOTDIR@@ + ${postgres_root_directory} + + + cmd @@ -94,5 +91,4 @@ start /MIN /WAIT cmd /c "${postgres_root_directory.dos}\bin\pg_ctl.exe register - \ No newline at end of file diff --git a/src/main/resources/bitrock/postgres.xml b/src/main/resources/bitrock/postgres.xml index 2de489f0f9..231a667122 100644 --- a/src/main/resources/bitrock/postgres.xml +++ b/src/main/resources/bitrock/postgres.xml @@ -915,8 +915,6 @@ When installing bundled postgres on windows, add in - ${postgres_root_directory}/bin @@ -1081,7 +1079,6 @@ start /MIN /WAIT cmd /c "${postgres_root_directory.dos}\bin\initdb.exe -U postgr - ${postgres_root_directory}/bin/psql.exe -U SYSTEM -d postgres -p ${postgres_port} -h ${postgres_hostname} -c "CREATE USER postgres SUPERUSER PASSWORD '${postgres_root_password.password}'" @@ -1128,8 +1125,6 @@ start /MIN /WAIT cmd /c "${postgres_root_directory.dos}\bin\initdb.exe -U postgr - - diff --git a/src/main/resources/bitrock/postgres_initdb.xml b/src/main/resources/bitrock/postgres_initdb.xml index 03d9dbe063..d6fdf65f62 100644 --- a/src/main/resources/bitrock/postgres_initdb.xml +++ b/src/main/resources/bitrock/postgres_initdb.xml @@ -28,10 +28,9 @@ System variables provided by this component: 1 0 - + - Database Configuration database_name diff --git a/src/main/resources/bitrock/project.xml b/src/main/resources/bitrock/project.xml index 2732675d60..aec6ee9dea 100644 --- a/src/main/resources/bitrock/project.xml +++ b/src/main/resources/bitrock/project.xml @@ -33,22 +33,22 @@ 1 - - osx - 430 - - - linux - 430 - - - linux-x64 - 430 - - - linux-ia64 - 430 - + + osx + 430 + + + linux + 430 + + + linux-x64 + 430 + + + linux-ia64 + 430 + @@ -231,6 +231,7 @@ ${installdir}/${ctlscript_unix} stop postgresql + @@ -239,6 +240,7 @@ ${postgres_root_directory.dos}\scripts\servicerun.bat STOP + @@ -246,128 +248,128 @@ + - - + + - - - - - - - - Launch ${product_fullname} - - - - - - Starting servers. Please be patient. - ${installdir}/${ctlscript_unix} - start & - - - - - - Starting servers. Please be patient. - ${installdir}/servicerun.bat - START - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - + + + + + + Launch ${product_fullname} + + - - - - - - - - - - - - - - - + + + Starting servers. Please be patient. + ${installdir}/${ctlscript_unix} + start & + + + + + + Starting servers. Please be patient. + ${installdir}/servicerun.bat + START + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + http://${application_server_domain}:${application_server_port}/share + + + + + - - - http://${application_server_domain}:${application_server_port}/share + + - - - - - - - - - - + - - - - http://www.alfresco.com/resources/documentation/getting-started/${alfresco_edition} - - - - - - + + + + http://www.alfresco.com/resources/documentation/getting-started/${alfresco_edition} + + + + + + - - You have chosen Tomcat as the existing installation. To use new installed applications you must restart Tomcat. - - + + You have chosen Tomcat as the existing installation. To use new installed applications you must restart Tomcat. + + - + @@ -418,6 +420,9 @@ Stopping services ${installdir}/postgresql/scripts/servicerun.bat STOP + + + Uninstalling services @@ -459,6 +464,7 @@ + diff --git a/src/main/resources/bitrock/swftools.xml b/src/main/resources/bitrock/swftools.xml index a7eea43262..b0369240f2 100644 --- a/src/main/resources/bitrock/swftools.xml +++ b/src/main/resources/bitrock/swftools.xml @@ -54,7 +54,6 @@ - diff --git a/src/main/resources/bitrock/tomcat.xml b/src/main/resources/bitrock/tomcat.xml index c00332bd23..c656483eb0 100644 --- a/src/main/resources/bitrock/tomcat.xml +++ b/src/main/resources/bitrock/tomcat.xml @@ -42,7 +42,7 @@ System variables provided by this component: bundledAndExisting - + @@ -51,18 +51,18 @@ System variables provided by this component: - - - tomcat_memory_settings_windows - --JvmMs 256 --JvmMx 512 ++JvmOptions="-XX:MaxPermSize=256M" - 0 - - - - tomcat_extra_opts_windows - ++JvmOptions="-Djava.awt.headless=true" ++JvmOptions="-XX:+UseG1GC" ++JvmOptions="-Dfile.encoding=UTF-8" - 0 - + + + tomcat_memory_settings_windows + --JvmMs 256 --JvmMx 512 ++JvmOptions="-XX:MaxPermSize=256M" + 0 + + + + tomcat_extra_opts_windows + ++JvmOptions="-Djava.awt.headless=true" ++JvmOptions="-XX:+UseG1GC" ++JvmOptions="-Dfile.encoding=UTF-8" + 0 +