Hi Hardy,
Thanks for clear update on the issue.
Regards,
Lewatle
From: Pottinger, Hardy J. [mailto:pottinge...@missouri.edu]
Sent: 22 May 2015 05:38 PM
To: Lewatle Phaladi; DSpace-tech@lists.sourceforge.net
Subject: RE: BUILD FAILURE DSpace5.2
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 [lewatle.phal...@wits.ac.za]
Sent: Friday, May 22, 2015 4:43 AM
To: DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
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
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.
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="width:100%;">
<tr>
<td align="left" style="text-align:justify;"><font face="arial,sans-serif"
size="1" color="#999999"><span style="font-size:11px;">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. </span></font></td>
</tr>
</table
------------------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette