Hi João.

In which folder should I unzip and run the file xoai-masterzip.zip?

I tried to follow steps but I showed this error after mvn install: 

[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ xoai ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ xoai ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /usr/java/xoai/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ xoai ---
[INFO] Compiling 134 source files to /usr/java/xoai/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
javac: invalid target release: 1.7
Usage: javac <options> <source files>
use -help for a list of possible options

[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.717s
[INFO] Finished at: Mon Apr 29 09:47:29 COT 2013
[INFO] Final Memory: 9M/490M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project xoai: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] javac: invalid target release: 1.7
[ERROR] Usage: javac <options> <source files>
[ERROR] use -help for a list of possible options
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

We have Dspace 3.1 and java version "1.6.0_37"


Regards,

Walter Blandón
Analista Técnico
Centro Cultural Biblioteca "Luis Echavarría Villegas"
Tel: (57) (4) 2619500, extensión 9365
E-mail: cblan...@eafit.edu.co
Universidad EAFIT, Medellín, Colombia


El 22/02/13, marco.we...@kesslernetworks.de escribió:

Hi Joao, Ivan and Helix,


thank you very much for that amazing support you giving to us!

It works, i unzipped the xoai, did a mvn install, than mvn -U clean package, an ant upate, copied back my configurations and now i get the item with that time i expected!

Thats all done on my development server, and after verifying it i copied it over to my production system and there it works too.

I'll now give these system to the DNB (German national bibliothec) and i hope they now will accept my OAI interface.

 

Thank you, Marco

 

 

Am 22.02.2013 13:28, schrieb João Melo:

Hi Marco,

zip attached.


> I'm not completely sure, but you might need to update the xoai version
in dspace-oai/pom.xml to correspond to the one you'll have built.

You don't need to modify the pom.xml




On 22 February 2013 12:22, helix84 <heli...@centrum.sk <heli...@centrum.sk>> wrote:
On Fri, Feb 22, 2013 at 1:17 PM, <marco.we...@kesslernetworks.de <marco.we...@kesslernetworks.de>> wrote:
> sorry but i can't connect to git from this network here ;)

You can also use http, https is not necessary.

> Can i use the zip provided there https://github.com/lyncode/xoai ?
>
> I think that is the same or?

Yes. It's the same.

> Does it matter where i unpack that zip?

Not at all, it's just source.

> Can you shortly explain what happen by executing mvn install?

You build the source and create a .jar. This is the the xoai library,
which is a dependency of the oai module in DSpace. It will be stored
in your local maven repository in ~/.m2 and the new version will be
used when you rebuild DSpace.

I'm not completely sure, but you might need to update the xoai version
in dspace-oai/pom.xml to correspond to the one you'll have built.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Thanks, João Melo (My Portfolio)
DSpace Department
LyncodeOfficial website
Follow us on Facebook

 



--

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
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

Reply via email to