Hi Iola,
The problem seems to be related to character encoding:
/storage/repos/dspace17/dspace-1.7.0-src-release/dspace-stats/src/main/java/org/dspace/statistics/util/LocationUtils.java:[26,13]
unmappable character for encoding ASCII
There are country names like "Åland Islands" that will cause problems in a
non-UTF-8 environment (eg. ASCII, ISO-8859-1, windows-1252).
I haven't encountered this issue before.. I'm guessing that your environment
(eg. Windows, Linux), maven, or javac itself is not configured to use UTF-8
encoding. Could you give a bit more detail about what OS you're running,
etc?
(it seems from your comments that you're not using an IDE to build, but just
in case you are, that will also need default character encoding changed to
UTF-8)
A possible workaround is to replace some of the non-ASCII characters in
LocationUtils.java with their ASCII equivalents, but the better solution
will be to try and get your environment fully UTF-8 compatible.
Hope this helps! Sorry my answer isn't very precise.
Cheers,
Kim
On 24 March 2011 22:54, Iola Hagen [ioh] <i...@aber.ac.uk> wrote:
> Here is the output from the mvn –e clean build with the solr stats still in
> the pom.xml
>
>
>
> *From:* Kim Shepherd [mailto:kim.sheph...@gmail.com]
> *Sent:* 24 March 2011 8:57 AM
> *To:* Iola Hagen [ioh]
> *Cc:* dspace-tech@lists.sourceforge.net
> *Subject:* Re: [Dspace-tech] 1.7 build failed with Solr Stats
>
>
>
> Hi Iola,
>
>
>
> Could you please reply with the maven error you encountered when trying to
> build with stats?
>
> This will help us figure out what might be going wrong.
>
>
>
> Cheers!
>
>
>
> Kim
>
>
>
>
>
>
>
>
>
> On 24 March 2011 21:45, Iola Hagen [ioh] <i...@aber.ac.uk> wrote:
>
> While trying to build the 1.7 package I got a build failed error, this
> looked to be connected to the Solr Stats and once I commented out the
> following code from the pom.xml the build completed successfully.
>
>
>
> <!--
>
> Builds DSpace Solr Stats for DSpace
>
> -->
>
> <!-- <profile>
>
> <id>dspace-stats</id>
>
> <activation>
>
> <file>
>
> <exists>../dspace-stats/pom.xml</exists>
>
> </file>
>
> </activation>
>
> <modules>
>
> <module>../dspace-stats</module>
>
> </modules>
>
> </profile>
>
> -->
>
> <!--
>
> Builds DSpace discovery for DSpace
>
> -->
>
>
>
> I unpackaged the dspace-1.7.0-src-release.tar.gz and ran the mvn –U clean
> package in the {dspace-soure]/dspace/ directory, I am using maven 2.2.1, has
> anyone else had any problems with this.
>
>
>
> Cheers
>
> Iola
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech