mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
RA-548: First implementation of Alfresco Platform url prompt in Share installer.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@109978 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -49,6 +49,13 @@
|
||||
</ruleList>
|
||||
</setInstallerVariable>
|
||||
|
||||
<!-- Alfresco Share specifics -->
|
||||
<setInstallerVariable name="component(alfresco).parameter(repository_url_port).ask" value="1">
|
||||
<ruleList>
|
||||
<compareText text="${product_fullname}" logic="equals" value="Alfresco Share"/>
|
||||
</ruleList>
|
||||
</setInstallerVariable>
|
||||
|
||||
</preBuildActionList>
|
||||
<initializationActionList>
|
||||
<setInstallerVariable name="alfresco_installer_bitness" value="64"/>
|
||||
|
@@ -28,6 +28,17 @@
|
||||
<directoryParameter name="alfresco_shared_library_directory" value="${tomcat_server_directory}/shared/lib" ask="0"/>
|
||||
<stringParameter name="alfresco_database_name" value="alfresco" ask="0"/>
|
||||
<stringParameter name="alfresco_database_validate_query" value="SELECT 1" ask="0"/>
|
||||
|
||||
<!-- Repository URL for Alfresco Share Installer -->
|
||||
<stringParameter>
|
||||
<name>repository_url_port</name>
|
||||
<title>Connect Alfresco Share to Alfresco Platform</title>
|
||||
<explanation>Please enter your Alfresco Platform Url, Port and context.</explanation>
|
||||
<default>http://localhost:8080/alfresco</default>
|
||||
<ask>0</ask>
|
||||
<description>Alfresco Platform location: </description>
|
||||
</stringParameter>
|
||||
|
||||
<!-- Ports: FTP, RMI -->
|
||||
<stringParameter>
|
||||
<name>alfresco_ftp_port</name>
|
||||
@@ -401,6 +412,20 @@
|
||||
</substitution>
|
||||
</substitutionList>
|
||||
</substitute>
|
||||
<!-- Substitute repository url -->
|
||||
<substitute>
|
||||
<files>${installdir}/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml</files>
|
||||
<type>exact</type>
|
||||
<substitutionList>
|
||||
<substitution>
|
||||
<pattern>http://localhost:8080/alfresco</pattern>
|
||||
<value>${repository_url_port}</value>
|
||||
</substitution>
|
||||
</substitutionList>
|
||||
<ruleList>
|
||||
<compareText text="${product_fullname}" logic="equals" value="Alfresco Share"/>
|
||||
</ruleList>
|
||||
</substitute>
|
||||
<propertiesFileSet>
|
||||
<file>${application_server_conf_directory}/logging.properties</file>
|
||||
<key>org.apache.catalina.loader.WebappClassLoader.level</key>
|
||||
|
Reference in New Issue
Block a user