mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-23 18:03:11 +00:00
[DS-1043] Split code installation out of fresh_install.
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user