Hi All,
After googling for a while, I came across this listserv message
http://osdir.com/ml/dspace-users-digital-asset-management/2013-12/msg00029.h
tml and the problem was resolved. The issue was :
When upgrading, the "mvn -U clean package" command MUST be run from the
[dspace-source] directory (NOT from [dspace-source]/dspace/).
Running the command from [dspace-source] ensures that *all* DSpace
modules are recompiled/rebuilt for DSpace 4.0. (Whereas, running the
build from [dspace-source]/dspace/ performs a "quick build", which does
NOT recompile all modules.)
For more information visit
https://wiki.duraspace.org/display/DSDOC4x/Upgrading+From+3.x+to+4.0
From: amutsik...@uzlib.uz.ac.zw [mailto:amutsik...@uzlib.uz.ac.zw]
Sent: Tuesday, February 11, 2014 8:41 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Error installing dspace on Ubuntu
Hi All
I am installing dspace4.0 on Ubuntu. Everthing seems to have run well but
on about to complete the mvn package stage, it is giving me the
following error:
main:
fileset: Setup scanner in dir
/home/dspace/dspace-4.0-src-release/dspace/modules/xmlui with patternSet{
includes: [*.properties] excludes: [] }
[native2ascii] No sources found.
[INFO] Executed tasks
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-resources-plugin:2.3:resources' -->
[DEBUG] (f) encoding = UTF-8
[DEBUG] (f) filters =
[/home/dspace/dspace-4.0-src-release/dspace/modules/xmlui/../../../target/bu
ild.properties]
[DEBUG] (s) includeEmptyDirs = false
[DEBUG] (s) outputDirectory =
/home/dspace/dspace-4.0-src-release/dspace/modules/xmlui/target/classes
[DEBUG] (s) overwrite = false
[DEBUG] (f) project = MavenProject: org.dspace.modules:xmlui:4.0 @
/home/dspace/dspace-4.0-src-release/dspace/modules/xmlui/pom.xml
[DEBUG] (s) resources = [Resource {targetPath: null, filtering: false,
FileSet {directory:
/home/dspace/dspace-4.0-src-release/dspace/modules/xmlui/src/main/resources,
PatternSet [includes: {}, excludes: {}]}}]
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@15b55bc
[DEBUG] -- end configuration --
[INFO] [resources:resources {execution: default-resources}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error loading property file
'/home/dspace/dspace-4.0-src-release/dspace/modules/xmlui/../../../target/bu
ild.properties'
I tried to copy the file
/home/dspace/dspace-4.0-src-release/build.properties to
/home/dspace/dspace-4.0-src-release/dspace/modules/xmlui/../../../target/bui
ld.properties and re-run mvn packages to no avail
I will appreciate any pointers
Kind Regards,
Admire Mutsikiwa
ICT Projects Manager
LibrariesUniversity of Zimbabwe
--
This message has been scanned for viruses and
dangerous content by <http://www.mailscanner.info/> MailScanner, and is
believed to be clean.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette