Re: [Dspace-tech] problem building dspace 5.x
ath this momment. From: heli...@centrum.sk Date: Tue, 20 Jan 2015 12:03:12 +0100 Subject: Re: [Dspace-tech] problem building dspace 5.x To: rafaelbatisti...@hotmail.com CC: dspace-tech@lists.sourceforge.net Hi Rafael, it should help just to try again. The Mirage2 builds depend on much of external infrastructure and a little downtime in one component will cause your build to fail. If you're getting a failure persisting for more than a day, also try mvn clean package -U -Dmirage2.on=true. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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
Re: [Dspace-tech] problem building dspace 5.x
Hi there guys, When i try to do the command mvn package -Dmirage2.on=true After diggin even more i found this message: '-cp''/home/DSpace/dspace/modules/xmlui-mirage2/target/test-classes:/home/DSpace/dspace/modules/xmlui-mirage2/target/classes''-client''-Xmx384m''-Xbootclasspath/a:/root/.m2/repository/org/jruby/jruby-complete/1.7.12/jruby-complete-1.7.12.jar''org.jruby.Main''-e''load('jar:file:/root/.m2/repository/org/jruby/jruby-complete/1.7.12/jruby-complete-1.7.12.jar!/META-INF/jruby.home/bin/gem')''--''install''--ignore-dependencies''--no-rdoc''--no-ri''--no-user-install''--no-verbose''/root/.m2/repository/rubygems/sass/3.3.14/sass-3.3.14.gem''/root/.m2/repository/rubygems/compass/1.0.1/compass-1.0.1.gem''/root/.m2/repository/rubygems/compass-core/1.0.3/compass-core-1.0.3.gem''/root/.m2/repository/rubygems/multi_json/1.10.1/multi_json-1.10.1.gem''/root/.m2/repository/rubygems/compass-import-once/1.0.5/compass-import-once-1.0.5.gem''/root/.m2/repository/rubygems/chunky_png/1.3.3/chunky_png-1.3.3.gem''/root/.m2/repository/rubygems/rb-fsevent/0.9.4/rb-fsevent-0.9.4.gem''/root/.m2/repository/rubygems/rb-inotify/0.9.5/rb-inotify-0.9.5.gem''/root/.m2/repository/rubygems/ffi/1.9.6/ffi-1.9.6.gem''--bindir''/home/DSpace/dspace/modules/xmlui-mirage2/target/rubygems/bin' The ' characters around the executable and arguments arenot part of the command.[WARNING] ERROR: While executing gem ... (Gem::Package::FormatError)[WARNING] package metadata is missing in /root/.m2/repository/rubygems/sass/3.3.14/sass-3.3.14.gem[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project xmlui-mirage2: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 1 - [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project xmlui-mirage2: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 1 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606)at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 1 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 moreCaused by: Java returned: 1at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)at de.saumya.mojo.ruby.script.AntLauncher.doExecute(AntLauncher.java:107) at de.saumya.mojo.ruby.script.AntLauncher.executeScript(AntLauncher.java:174) at de.saumya.mojo.ruby.script.AntLauncher.executeScript(AntLauncher.java:159) at de.saumya.mojo.ruby.script.AntLauncher.executeScript(AntLauncher.java:153) at de.saumya.mojo.ruby.script.Script.execute(Script.java:81)at de.saumya.mojo.ruby.gems.GemsInstaller.installGems(GemsInstaller.java:196) at de.saumya.mojo.ruby.gems.GemsInstaller.installGems(GemsInstaller.java:114) at de.saumya.mojo.ruby.gems.GemsInstaller.installGems(GemsInstaller.java:102) at
Re: [Dspace-tech] Problem building DSpace
Hi, This was the exact problem. Thank you very much for your help!! -- Michael Souren System Administrator School of Communication and Information Rutgers, The State University of New Jersey 4 Huntington Street Room 120 New Brunswick, NJ (732)932-7500 ext. 8990 On 10/12/2012 8:40 PM, helix84 wrote: On Sat, Oct 13, 2012 at 2:14 AM, Michael Souren msou...@rutgers.edu wrote: Thanks very much for responding. I'm actually trying to build dspace-1.8.2-src-release. I tried what you suggested, and temporarily moved bulkedit.cfg to another directory to see if it had an effect. Here's the error that I'm presented when trying to build again: I see, filtering I was talking about only pertains to 3.0, so it's not relevant here. I noticed you have unusual path there: /usr/local/dspace/target/ Are you sure you know the difference between the [dspace] and [dspace-src] directory? Check here: https://wiki.duraspace.org/display/DSDOC18/Installation#Installation-OverviewofDSpaceDirectories /usr/local/dspace/ looks like where dspace would usually be installed, ie. [dspace]. But target/ should be only in [dspace-src]. Perhaps you extracted the source to [dspace] and are trying to build from there? Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem building DSpace
On Fri, Oct 12, 2012 at 9:27 PM, Michael Souren msou...@rutgers.edu wrote: [INFO] Error creating assembly: Error filtering file '/usr/local/dspace/config/modules/bulkedit.cfg': /usr/local/dspace/target/archive-tmp/fileSetFormatter.182902.tmp/bulkedit.cfg.1035001363.filtered (No such file or directory) What DSpace version are you trying to compile? Is it 3.0-rc1 or Git master HEAD? My best guess is that this has something to do with the new filtering feature: https://jira.duraspace.org/browse/DS-1208 https://github.com/DSpace/DSpace/pull/40 Anyway, did you ever do any customizations to bulkedit.cfg? By default, it contains just comments. So if you don't need to change its content, try deleting it. I'm wondering if maven will choke on another config file instead. If not, maybe there's indeed some problem with it and you should replace it with the default (distributed) version. Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem building DSpace
Hi, Thanks very much for responding. I'm actually trying to build dspace-1.8.2-src-release. I tried what you suggested, and temporarily moved bulkedit.cfg to another directory to see if it had an effect. Here's the error that I'm presented when trying to build again: [ERROR] BUILD ERROR [INFO] [INFO] Error creating assembly: Error filtering file '/usr/local/dspace/config/modules/authentication-shibboleth.cfg': /usr/local/dspace/target/archive-tmp/fileSetFormatter.2043264758.tmp/authentication-shibboleth.cfg.2029666755.filtered (No such file or directory) [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error creating assembly: Error filtering file '/usr/local/dspace/config/modules/authentication-shibboleth.cfg': /usr/local/dspace/target/archive-tmp/fileSetFormatter.2043264758.tmp/authentication-shibboleth.cfg.2029666755.filtered (No such file or directory) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) 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.MojoExecutionException: Error creating assembly: Error filtering file '/usr/local/dspace/config/modules/authentication-shibboleth.cfg': /usr/local/dspace/target/archive-tmp/fileSetFormatter.2043264758.tmp/authentication-shibboleth.cfg.2029666755.filtered (No such file or directory) at org.apache.maven.plugin.assembly.mojos.AbstractDirectoryMojo.createDirectory(AbstractDirectoryMojo.java:95) at org.apache.maven.plugin.assembly.mojos.AbstractDirectoryMojo.execute(AbstractDirectoryMojo.java:65) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: org.apache.maven.plugin.assembly.format.AssemblyFormattingException: Error filtering file '/usr/local/dspace/config/modules/authentication-shibboleth.cfg': /usr/local/dspace/target/archive-tmp/fileSetFormatter.2043264758.tmp/authentication-shibboleth.cfg.2029666755.filtered (No such file or directory) at org.apache.maven.plugin.assembly.format.FileFormatter.doFileFilter(FileFormatter.java:94) at org.apache.maven.plugin.assembly.format.FileFormatter.format(FileFormatter.java:66) at org.apache.maven.plugin.assembly.format.FileSetFormatter.formatFileSetForAssembly(FileSetFormatter.java:100) at org.apache.maven.plugin.assembly.archive.task.AddFileSetsTask.addFileSet(AddFileSetsTask.java:141) at org.apache.maven.plugin.assembly.archive.task.AddFileSetsTask.execute(AddFileSetsTask.java:94) at org.apache.maven.plugin.assembly.archive.phase.FileSetAssemblyPhase.execute(FileSetAssemblyPhase.java:59) at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:189) at org.apache.maven.plugin.assembly.mojos.AbstractDirectoryMojo.createDirectory(AbstractDirectoryMojo.java:87) ... 20 more Caused by: org.apache.maven.shared.filtering.MavenFilteringException: /usr/local/dspace/target/archive-tmp/fileSetFormatter.2043264758.tmp/authentication-shibboleth.cfg.2029666755.filtered (No such file or directory) at
Re: [Dspace-tech] Problem building DSpace
On Sat, Oct 13, 2012 at 2:14 AM, Michael Souren msou...@rutgers.edu wrote: Thanks very much for responding. I'm actually trying to build dspace-1.8.2-src-release. I tried what you suggested, and temporarily moved bulkedit.cfg to another directory to see if it had an effect. Here's the error that I'm presented when trying to build again: I see, filtering I was talking about only pertains to 3.0, so it's not relevant here. I noticed you have unusual path there: /usr/local/dspace/target/ Are you sure you know the difference between the [dspace] and [dspace-src] directory? Check here: https://wiki.duraspace.org/display/DSDOC18/Installation#Installation-OverviewofDSpaceDirectories /usr/local/dspace/ looks like where dspace would usually be installed, ie. [dspace]. But target/ should be only in [dspace-src]. Perhaps you extracted the source to [dspace] and are trying to build from there? Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem building dspace ...
Thanks Gary. Just found that it was my careless mistake. I forgot to uncomment the proxy section after modified the proxy settings. Sorry to all in the list too. Panyarak On Tue, 23 Jun 2009, Gary Browne wrote: Hi Panyarak, Please see my previous post: http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg08196.h tml Kind regards Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Panyarak Ngamsritragul [mailto:pa...@me.psu.ac.th] Sent: Monday, 22 June 2009 7:16 PM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] Problem building dspace ... When I run 'mvn package', I got these messages : [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-site-plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] -- -- [ERROR] BUILD ERROR Is this just temporary network error ? Regards -- Panyarak Ngamsritragul Department of Mechanical Engineering Prince of Songkla University. -- This message has been scanned for viruses and dangerous content by MailScanner. -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://open sourcebridge.org ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Panyarak Ngamsritragul Department of Mechanical Engineering Prince of Songkla University. -- This message has been scanned for viruses and dangerous content by MailScanner. -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech