Hi, Lewatle, thank you for bringing this to our attention. There appears to be
a problem with our distribution packaging configuration (confirmed by myself
and Mark Wood). We are looking into it. The gist of the problem is, the Maven
overlay folders are not getting packaged up in the distributions. These overlay
folders are necessary to build DSpace, as our Maven configuration expects to
find these folders, even if they are empty.
Since this is a "packaging" error, we should be able to produce new
distribution packages that *do* work, and I expect that will happen later
today. I hope we'll have a solution for the problem with the packaging
configuration as well. In the mean time, if you'd like to manually fix your own
distribution, and you're using the BASH shell (Linux or OSX), run this from
your dspace-5.2-src-release folder:
cd dspace/modules; for X in jspui lni oai rdf rest sword swordv2 xmlui; do
mkdir -p $X/src/main/webapp; done
Thanks to Mark Wood for the one-line BASH script. If you're using Windows or
some other shell, the general idea is: create empty src/main/webapp folders in
each folder in dspace/modules.
Sorry for the mix-up, I'm sure we'll have this sorted out later today.
--Hardy
PS: if you or anyone else would like to pitch in with the packaging debugging,
here is how:
https://wiki.duraspace.org/display/DSPACE/Release+Procedure#ReleaseProcedure-CreatetheDistributionZipsforSourceForge
Follow along with the instructions in the block that begins "what if I
deleted..." The gist of it is: start with a fresh clone of DSpace from GitHub,
check out the 5.2 tag, build the distributions, and then see that they are
indeed missing the overlay folders...
________________________________
From: Lewatle Phaladi [[email protected]]
Sent: Friday, May 22, 2015 4:43 AM
To: [email protected]
Subject: [Dspace-tech] BUILD FAILURE DSpace5.2
Hi Dspace Team,
I am getting the following error while running :
$ mvn -U clean package
from dspace-5.2-src-release/dspace
see error message that follows
<https://email.wits.ac.za/owa/?ae=Item&a=New&t=IPM.Note&cc=MTQuMi4zOTAuMSxlbi1VUyw0Mjk0OTY3Mjk1LEhUTUwsMCww&pspid=_1432287539935_867364774#>
BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:13.958s
[INFO] Finished at: Fri May 22 11:34:32 SAST 2015
[INFO] Final Memory: 37M/191M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project
xmlui: Execution default-war of goal
org.apache.maven.plugins:maven-war-plugin:2.4:war failed: basedir
/dspace/src/dspace-5.2-src-release/dspace/modules/xmlui/src/main/webapp does
not exist -> [Help 1]
Regards,
Lewatle
This communication is intended
for the addressee only. It is confidential. If you have received this
communication in error, please notify us immediately and destroy the original
message. You may not copy or disseminate this communication without the
permission of the University. Only authorised
signatories are competent to enter into agreements on behalf of the University
and recipients are thus advised that the content of this message may not be
legally binding on the University and may contain the personal views and
opinions of the author, which
are not necessarily the views and opinions of The University of the
Witwatersrand, Johannesburg. All agreements between the University and
outsiders are subject to South African Law unless the University agrees in
writing to the contrary.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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