Hi all,
I'm trying out a DSpace 3.2 install and update on a Windows machine and
encounter many problems. Our server will be running on Linux, but I'm looking
into new features using my own laptop, running Windows 7.
Today I finished our JSP customisations, copied those into the [dspace-source]
directories as usual, ran a mvn -Denv=local -U clean package from
[dspace-source]/dspace, followed by a ant update from target\dspace-3.2-build.
Again my [dspace]/config/dspace.cfg is not updated, nor is the backup file
created or are any of the customisations present.
Strangely enough, in the target directory an directory called
${dspace.install.dir} has appeared. This directory contains the subdirectories
commonly found in the [dspace] directory. I did not pipe output from mvn to a
file, so do not have that log anymore, but I have the log of the ant update
command (see attachment).
This process is rather unpredictable, like I explained in my earlier message.
best wishes, Francis Brouns
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan
en gebruik door anderen is niet toegestaan. Open Universiteit sluit iedere
aansprakelijkheid uit die voortvloeit uit elektronische verzending. Aan de
inhoud van deze e-mail en/of eventueel toegevoegde bijlagen kunnen geen rechten
worden ontleend.
This e-mail is intended exclusively for the addressee(s), and may not be passed
on to, or made available for use by any person other than the addressee(s).
Open Universiteit rules out any and every liability resulting from any
electronic transmission. No rights may be derived from the contents of this
message.
D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace
mvn -Denv=local -U clean package
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Addon Modules .............................. SUCCESS [1.060s]
[INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [6.730s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SUCCESS [41.414s]
[INFO] DSpace LNI :: Local Customizations ................ SUCCESS [8.651s]
[INFO] DSpace JSP-UI :: Local Customizations ............. SUCCESS [18.650s]
[INFO] DSpace SWORD :: Local Customizations .............. SUCCESS [14.400s]
[INFO] DSpace SWORD v2 :: Local Customizations ........... SUCCESS [10.750s]
[INFO] DSpace SOLR :: Local Customizations ............... SUCCESS [6.082s]
[INFO] DSpace OAI 2.0 :: Local Customizations ............ SUCCESS [12.718s]
[INFO] DSpace Assembly and Configuration ................. SUCCESS [1:02.907s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:04.072s
[INFO] Finished at: Mon Jan 13 15:59:48 CET 2014
[INFO] Final Memory: 38M/153M
[INFO] ------------------------------------------------------------------------
D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace>cd target
D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\target>cd dspace-3.2-bu
ild
D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\target\dspace-3.2-build
>ant update
Buildfile: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\target\dspac
e-3.2-build\build.xml
prepare_configs:
[mkdir] Created dir: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspac
e\target\dspace-3.2-build\config-temp
[copy] Copying 1 file to D:\celstec\dspace\dspace_3\dspace-3.2-src-release\
dspace\target\dspace-3.2-build\config-temp
[copy] Copying 1 file to D:\celstec\dspace\dspace_3\dspace-3.2-src-release\
dspace\target\dspace-3.2-build\config-temp
[copy] Copying 105 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-relea
se\dspace\target\dspace-3.2-build\config-temp
copy_configs_keep:
overwrite_configs:
[copy] Copying 107 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-relea
se\dspace\target\dspace-3.2-build\${dspace.install.dir}\config
[delete] Deleting directory D:\celstec\dspace\dspace_3\dspace-3.2-src-release
\dspace\target\dspace-3.2-build\config-temp
[echo]
[echo] ====================================================================
[echo] The DSpace configuration has been updated.
[echo]
[echo] During the upgrade process the build has attempted to overwrite the
[echo] previous configuration while preserving your previous changes in fi
les
[echo] suffixed "*.old"
[echo]
[echo] To complete installation, you should do the following:
[echo]
[echo] * Check that you've properly merged any differences in the followin
g files:
[echo]
[echo]
[echo]
[echo]
[echo]
[echo] * To properly merge your previous configuration files, it's
[echo] best to try to take the newer version and copy your
[echo] previous changes into it.
[echo] ====================================================================
[echo]
prepare_solr_configs:
[mkdir] Created dir: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspac
e\target\dspace-3.2-build\solr-config-temp
[copy] Copying 40 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-releas
e\dspace\target\dspace-3.2-build\solr-config-temp
copy_solr_configs_keep:
overwrite_solr_configs:
[copy] Copying 40 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-releas
e\dspace\target\dspace-3.2-build\${dspace.install.dir}\solr
[delete] Deleting directory D:\celstec\dspace\dspace_3\dspace-3.2-src-release
\dspace\target\dspace-3.2-build\solr-config-temp
[echo]
[echo] ====================================================================
[echo] The DSpace configuration has been updated.
[echo]
[echo] During the upgrade process the build has attempted to overwrite the
[echo] previous configuration while preserving your previous changes in fi
les
[echo] suffixed "*.old"
[echo]
[echo] To complete installation, you should do the following:
[echo]
[echo] * Check that you've properly merged any differences in the followin
g files:
[echo]
[echo]
[echo]
[echo]
[echo]
[echo] * To properly merge your previous configuration files, it's
[echo] best to try to take the newer version and copy your
[echo] previous changes into it.
[echo] ====================================================================
[echo]
update_configs:
check_geolite:
init_geolite:
update_geolite:
[echo] Downloading: http://geolite.maxmind.com/download/geoip/database/GeoL
iteCity.dat.gz
[get] Getting: http://geolite.maxmind.com/download/geoip/database/GeoLiteC
ity.dat.gz
[get] To: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\target\
dspace-3.2-build\${dspace.install.dir}\config\GeoLiteCity.dat.gz
[get] ....................................................
[get] ....................................................
[get] ....................................................
[get] ....................................................
[get] ....................................................
[get] ....................................................
[get] ............
[gunzip] Expanding D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\t
arget\dspace-3.2-build\${dspace.install.dir}\config\GeoLiteCity.dat.gz to D:\cel
stec\dspace\dspace_3\dspace-3.2-src-release\dspace\target\dspace-3.2-build\${dsp
ace.install.dir}\config\GeoLiteCity.dat
[delete] Deleting: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\t
arget\dspace-3.2-build\${dspace.install.dir}\config\GeoLiteCity.dat.gz
update_code:
[move] Warning: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\ta
rget\dspace-3.2-build\${dspace.install.dir}\bin does not exist.
[copy] Copying 8 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-release
\dspace\target\dspace-3.2-build\${dspace.install.dir}\bin
[move] Warning: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\ta
rget\dspace-3.2-build\${dspace.install.dir}\lib does not exist.
[copy] Copying 100 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-relea
se\dspace\target\dspace-3.2-build\${dspace.install.dir}\lib
[move] Warning: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\ta
rget\dspace-3.2-build\${dspace.install.dir}\etc does not exist.
[copy] Copying 31 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-releas
e\dspace\target\dspace-3.2-build\${dspace.install.dir}\etc
[echo]
[echo] ====================================================================
[echo] ${dspace.install.dir}/bin was backed up to
[echo]
[echo] ${dspace.install.dir}/bin.bak-20140113-160644
[echo]
[echo] ${dspace.install.dir}/lib was backed up to
[echo]
[echo] ${dspace.install.dir}/lib.bak-20140113-160644
[echo]
[echo] ${dspace.install.dir}/etc was backed up to
[echo]
[echo] ${dspace.install.dir}/etc.bak-20140113-160644
[echo]
[echo] Please review these directories and delete if no longer needed.
[echo] ====================================================================
[echo]
update_webapps:
[move] Warning: D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\ta
rget\dspace-3.2-build\${dspace.install.dir}\webapps does not exist.
[echo]
[echo] ====================================================================
[echo] ${dspace.install.dir}/webapps was backed up to
[echo]
[echo] ${dspace.install.dir}/webapps.bak-20140113-160644
[echo]
[echo] Please review this directory and delete it if it's no longer needed
.
[echo] ====================================================================
[echo]
copy_webapps:
[copy] Copying 2151 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-rele
ase\dspace\target\dspace-3.2-build\${dspace.install.dir}\webapps
[copy] Copied 269 empty directories to 1 empty directory under D:\celstec\d
space\dspace_3\dspace-3.2-src-release\dspace\target\dspace-3.2-build\${dspace.in
stall.dir}\webapps
[copy] Copying 7 files to D:\celstec\dspace\dspace_3\dspace-3.2-src-release
\dspace\target\dspace-3.2-build\${dspace.install.dir}\webapps
build_webapps_wars:
[echo]
[echo] ====================================================================
[echo] Updated DSpace Web application directories are in the
[echo] '${dspace.install.dir}/webapps' directory.
[echo]
[echo] * Stop your Web servlet container (Tomcat, Jetty, Resin etc.)
[echo]
[echo] * If your Web servlet container already loads the DSpace
[echo] UI web applications from ${dspace.install.dir}/webapps/, then you
[echo] can jump straight to restarting your Web servlet container
[echo]
[echo] * Otherwise, you will need to copy any web applications from
[echo] ${dspace.install.dir}/webapps/ to the appropriate place for your
servlet
[echo] container. (e.g. '$CATALINA_HOME/webapps' for Tomcat)
[echo]
[echo] If you're using Tomcat, you should first delete any existing
[echo] DSpace directories in '$CATALINA_HOME/webapps/' (e.g. you would
[echo] delete an existing $CATALINA_HOME/webapps/dspace/ directory).
[echo] Otherwise, Tomcat may continue to use old code in that directory.
[echo]
[echo] * Start up your Web servlet container again.
[echo] ====================================================================
[echo]
update:
BUILD SUCCESSFUL
Total time: 37 seconds
D:\celstec\dspace\dspace_3\dspace-3.2-src-release\dspace\target\dspace-3.2-build
>
within target\dspace-3.2-build an ${dspace.install.dir}
with subdirectories
bin
config
etc
lib
solr
webapps
in [dspace]\config directory no dspace.default-currentdate.old
and none of the customisations
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette