mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
add automation target directories to cache, download installer to target instead of rm-automation root
This commit is contained in:
@@ -147,12 +147,12 @@
|
||||
<target>
|
||||
<echo>Recreating database...</echo>
|
||||
<sql driver="org.postgresql.Driver" url="jdbc:postgresql:template1" userid="alfresco" password="alfresco" autocommit="true">drop database if exists alfresco; create database alfresco</sql>
|
||||
<chmod file="alf-installer.bin" perm="a+x" verbose="true" />
|
||||
<chmod file="target/alf-installer.bin" perm="a+x" verbose="true" />
|
||||
<echo>Installing Alfresco...</echo>
|
||||
<exec executable="${basedir}/alf-installer.bin" dir="${basedir}" failonerror="true">
|
||||
<exec executable="${basedir}/target/alf-installer.bin" dir="target" failonerror="true">
|
||||
<arg line="--mode unattended --alfresco_admin_password admin --disable-components postgres,alfrescowcmqs --jdbc_username alfresco --jdbc_password alfresco --prefix ${basedir}/target/alf-installation" />
|
||||
</exec>
|
||||
<delete file="${basedir}/alf-installer.bin" verbose="true" />
|
||||
<delete file="target/alf-installer.bin" verbose="true" />
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
Reference in New Issue
Block a user