[DS-1043] Split code installation out of fresh_install.

This commit is contained in:
Mark H. Wood
2012-06-07 11:51:09 -04:00
parent 400dbbd4e9
commit 3a3475b02e

View File

@@ -862,10 +862,13 @@ Common usage:
<!-- ============================================================= --> <!-- ============================================================= -->
<!-- Do a fresh system install --> <!-- Install fresh code but do not touch the database -->
<!-- ============================================================= --> <!-- ============================================================= -->
<target name="fresh_install" depends="init_installation,init_configs,test_database,setup_database,load_registries" description="Do a fresh install of the system, overwriting any data"> <target name="install_code"
depends="init_installation,init_configs"
description="Do a fresh install of the code, preserving any data."
>
<delete failonerror="no"> <delete failonerror="no">
<fileset dir="${dspace.dir}/bin" includes="**/*" /> <fileset dir="${dspace.dir}/bin" includes="**/*" />
@@ -900,6 +903,23 @@ Common usage:
<fileset dir="solr" /> <fileset dir="solr" />
</copy> </copy>
<echo>
====================================================================
The DSpace code has been installed.
====================================================================
</echo>
</target>
<!-- ============================================================= -->
<!-- Do a fresh system install -->
<!-- ============================================================= -->
<target name="fresh_install"
depends="init_installation,init_configs,test_database,setup_database,load_registries,install_code"
description="Do a fresh install of the system, overwriting any data">
<delete failonerror="no"> <delete failonerror="no">
<fileset dir="${dspace.dir}/webapps" includes="**/*" /> <fileset dir="${dspace.dir}/webapps" includes="**/*" />
</delete> </delete>