I've been trying to get embargoes working using DSpace 1.5.1, but I'm not getting very far. Please could someone give me a push in the right direction.
I've been following the instructions at: http://wiki.dspace.org/index.php/User:Emetsger:Embargo:Downloads_here 1) Start postgres and create new database (the patch uses the default database settings) 2) Check out 1.5.1 from https://dspace.svn.sourceforge.net/svnroot/dspace/tags/dspace-1_5_1 3) Apply the DSpace Media:Embargo-151.patch.gz file from the base dspace source directory (You'll need to gzip -d the file first). [patch -p0 < Embargo-151.patch] 4) cd dspace && mvn package assembly:assembly I get as far as mvn package asssembly:assembly, which downloads all the ~/.m2 files but then fails to compile: dsp...@esal-lr:~/dspace-1_5_1/dspace$ mvn -e package assembly:assembly + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] DSpace XML-UI (Manakin) [INFO] DSpace XML-UI (Manakin) :: Wing-Framework [INFO] DSpace Kernel :: API and Implementation [INFO] DSpace XML-UI (Manakin) :: API and Core Aspects [INFO] DSpace XML-UI (Manakin) :: Web Application Resources [INFO] DSpace Addon Modules [INFO] DSpace XML-UI (Manakin) :: Web Application [INFO] DSpace LNI [INFO] DSpace LNI :: Core Implementation [INFO] DSpace LNI :: Web Application Resources [INFO] DSpace LNI :: Web Application [INFO] DSpace OAI [INFO] DSpace OAI :: API and Implementation [INFO] DSpace OAI :: Web Application Resources [INFO] DSpace OAI :: Web Application [INFO] DSpace JSP-UI [INFO] DSpace JSP-UI :: API and Implementation [INFO] DSpace JSP-UI :: Web Application Resources [INFO] DSpace JSP-UI :: Web Application [INFO] DSpace SWORD [INFO] DSpace SWORD :: API and Implementation [INFO] DSpace SWORD :: Web Application Resources [INFO] DSpace SWORD :: Web Application [INFO] DSpace LNI :: CLI Client Application [INFO] DSpace Assembly and Configuration [INFO] Searching repository for plugin with prefix: 'assembly'. [INFO] ------------------------------------------------------------------------ [INFO] Building DSpace XML-UI (Manakin) [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [site:attach-descriptor] [INFO] ------------------------------------------------------------------------ [INFO] Building DSpace XML-UI (Manakin) :: Wing-Framework [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/dspace/dspace-1_5_1/dspace/../dspace-xmlui/dspace-xmlui-wing/src/main/resources [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/dspace/dspace-1_5_1/dspace/../dspace-xmlui/dspace-xmlui-wing/src/test/resources [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] ------------------------------------------------------------------------ [INFO] Building DSpace Kernel :: API and Implementation [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 3 resources [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/dspace/dspace-1_5_1/dspace/../dspace-api/src/test/resources [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [dependency:copy {execution: jmockit-copy}] [INFO] Configured Artifact: jmockit:jmockit:0.94:jar [INFO] jmockit:jmockit:0.94:jar already exists in /home/dspace/dspace-1_5_1/dspace/../dspace-api/target/dependency [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] ------------------------------------------------------------------------ [INFO] Building DSpace XML-UI (Manakin) :: API and Core Aspects [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 10 resources [INFO] [compiler:compile] [INFO] Compiling 14 source files to /home/dspace/dspace-1_5_1/dspace/../dspace-xmlui/dspace-xmlui-api/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /home/dspace/dspace-1_5_1/dspace/../dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/submit/step/EmbargoProcessor.java:[39,0] class, interface, or enum expected /home/dspace/dspace-1_5_1/dspace/../dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/submit/step/EmbargoProcessor.java:[41,0] class, interface, or enum expected /home/dspace/dspace-1_5_1/dspace/../dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/submit/step/EmbargoProcessor.java:[42,0] class, interface, or enum expected /home/dspace/dspace-1_5_1/dspace/../dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/submit/step/EmbargoProcessor.java:[43,0] class, interface, or enum expected [lots of this ...] /home/dspace/dspace-1_5_1/dspace/../dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/administrative/item/ConfirmEmbargoItemForm.java:[129,0] class, interface, or enum expected [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10 seconds [INFO] Finished at: Tue Feb 10 14:41:58 SAST 2009 [INFO] Final Memory: 24M/44M [INFO] ------------------------------------------------------------------------ dsp...@esal-lr:~/dspace-1_5_1/dspace$ java -version java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing) dsp...@esal-lr:~$ uname -r 2.6.24-16-server Ubuntu 8.04. Postgres 8.3. Sean -- Sean Carte esAL Library Systems Manager +27 72 898 8775 +27 31 373 2490 fax: 0866741254 http://esal.dut.ac.za/ ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech