[Dspace-tech] mvn package build failure.
We are attempting to build from scratch a Dspace installation to begin the task of learning Maven and its capabilities. We ran into this error and wanted to know if there is something we have done wrong. I haven't seen this one out there before. [INFO] [compiler:compile] [INFO] Compiling 63 source files to /dspace-1.5.0-src-release/dspace- xmlui/dspace-xmlui-wing/target/classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure Failure executing javac, but could not parse the error: javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ dspace-xmlui-wing/target/classes Usage: javac options source files use -help for a list of possible options Failure executing javac, but could not parse the error: javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ dspace-xmlui-wing/target/classes Usage: javac options source files use -help for a list of possible options [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 9 minutes 39 seconds [INFO] Finished at: Mon Apr 21 11:12:43 EDT 2008 [INFO] Final Memory: 11M/23M [INFO] Again, Thanks in Advance for all your assistance out there. Jeffrey Trimble Systems Librarian Maag Library Youngstown State University 330-941-2483 (Office) [EMAIL PROTECTED] http://www.maag.ysu.edu http://digital.maag.ysu.edu - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] mvn package build failure.
Exactly which command are you running from which directory? cheers, Jim On Mon, Apr 21, 2008 at 03:57:50PM +, Jeffrey Trimble wrote: We are attempting to build from scratch a Dspace installation to begin the task of learning Maven and its capabilities. We ran into this error and wanted to know if there is something we have done wrong. I haven't seen this one out there before. [INFO] [compiler:compile] [INFO] Compiling 63 source files to /dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-wing/target/classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure Failure executing javac, but could not parse the error: javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-wing/target/classes Usage: javac options source files use -help for a list of possible options Failure executing javac, but could not parse the error: javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-wing/target/classes Usage: javac options source files use -help for a list of possible options [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 9 minutes 39 seconds [INFO] Finished at: Mon Apr 21 11:12:43 EDT 2008 [INFO] Final Memory: 11M/23M [INFO] Again, Thanks in Advance for all your assistance out there. Jeffrey Trimble Systems Librarian Maag Library Youngstown State University 330-941-2483 (Office) [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] http://www.maag.ysu.edu http://digital.maag.ysu.edu Content-Description: ATT1.txt - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone Content-Description: ATT2.txt ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- James Rutherford | Hewlett-Packard Limited registered Office: Research Engineer | Cain Road, HP Labs | Bracknell, Bristol, UK | Berks +44 117 312 7066 | RG12 1HN. [EMAIL PROTECTED] | Registered No: 690597 England The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as HP CONFIDENTIAL. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] mvn package build failure.
Mark and Jim asked for some details, and so I submit: 1. As per documentation we ran mvn package in the [dsace-source]/ dspace directory, as the dspace user 2. Environment. We are running Tomcat 5.5., JDK 6 [i.e. 1.6], postgresl 8.0.12, mavin 2.0.9 3. PATH settings: bash: /usr/local/pgsql/bin:/usr/local/apache- maven/apache-maven-2.0.9/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/ usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/ jdk1.6.0/bin:/usr/local/ant/bin:/usr/local/tomcat/apache- tomcat-5.5.20/bin:/root/bin: 4. I re-ran mvn package, and here are the results: [EMAIL PROTECTED] dspace]$ mvn package [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] [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] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 63 source files to /dspace-1.5.0-src-release/dspace- xmlui/dspace-xmlui-wing/target/classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure Failure executing javac, but could not parse the error: javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ dspace-xmlui-wing/target/classes Usage: javac options source files use -help for a list of possible options Failure executing javac, but could not parse the error: javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ dspace-xmlui-wing/target/classes Usage: javac options source files use -help for a list of possible options [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 5 seconds [INFO] Finished at: Mon Apr 21 12:41:30 EDT 2008 [INFO] Final Memory: 11M/22M [INFO] [EMAIL PROTECTED] dspace]$ I didn't run Maven with the -e switch. Jeffrey Trimble Systems Librarian Maag Library Youngstown State University 330-941-2483 (Office) [EMAIL PROTECTED] http://www.maag.ysu.edu http://digital.maag.ysu.edu - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] mvn package build failure.
Sounds like Maven having issues on compilation, I'd check your file permissions and make sure its able to produce dspace-xmlui/dspace- xmlui-wing/target/classes ? Otherwise, something is very wrong with your javac install. -Mark On Apr 21, 2008, at 10:04 AM, Jeffrey Trimble wrote: Mark and Jim asked for some details, and so I submit: 1. As per documentation we ran mvn package in the [dsace-source]/ dspace directory, as the dspace user 2. Environment. We are running Tomcat 5.5., JDK 6 [i.e. 1.6], postgresl 8.0.12, mavin 2.0.9 3. PATH settings: bash: /usr/local/pgsql/bin:/usr/local/apache- maven/apache-maven-2.0.9/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/ usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/ java/jdk1.6.0/bin:/usr/local/ant/bin:/usr/local/tomcat/apache- tomcat-5.5.20/bin:/root/bin: 4. I re-ran mvn package, and here are the results: [EMAIL PROTECTED] dspace]$ mvn package [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] -- -- [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] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 63 source files to /dspace-1.5.0-src-release/ dspace-xmlui/dspace-xmlui-wing/target/classes [INFO] -- -- [ERROR] BUILD FAILURE [INFO] -- -- [INFO] Compilation failure Failure executing javac, but could not parse the error: javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ dspace-xmlui-wing/target/classes Usage: javac options source files use -help for a list of possible options Failure executing javac, but could not parse the error: javac: directory not found: /dspace-1.5.0-src-release/dspace-xmlui/ dspace-xmlui-wing/target/classes Usage: javac options source files use -help for a list of possible options [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 5 seconds [INFO] Finished at: Mon Apr 21 12:41:30 EDT 2008 [INFO] Final Memory: 11M/22M [INFO] -- -- [EMAIL PROTECTED] dspace]$ I didn't run Maven with the -e switch. Jeffrey Trimble Systems Librarian Maag Library Youngstown State University 330-941-2483 (Office) [EMAIL PROTECTED] http://www.maag.ysu.edu http://digital.maag.ysu.edu -- --- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http:// java.sun.com/javaone___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code