Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)
This isn't involving Ant directly, the stage where you are building Maven is failing. Because you are not in the proper directory that would have been created by Maven when running Ant, that stage fails as well later on. This might be a typical file permissions error, Make sure you have full write access to the dspace-source directory under the user you are building as. Cheers, Mark On Jun 1, 2008, at 9:28 PM, Twaha Daudi wrote: Dale, Thank you for your reply. I'm using java version 1.6 and Ant version is 1.7.0. If I run the java -version and ant version on the command terminal it works fine Tried again to run ant diagnostic,here is the output. please forgive me if am not supposed to post the whole result.Just want to make my problem clear to you. - Ant diagnostics report --- Apache Ant version 1.7.0 compiled on December 13 2006 --- Implementation Version --- core tasks : 1.7.0 optional tasks : not available --- ANT PROPERTIES --- ant.version: Apache Ant version 1.7.0 compiled on December 13 2006 ant.java.version: 1.6 ant.core.lib: /usr/local/ant/lib/ant.jar ant.home: /usr/local/ant/ --- ANT_HOME/lib jar listing --- ant.home: /usr/local/ant/ ant-apache-bsf.jar (3980 bytes) ant-javamail.jar (7011 bytes) ant-jdepend.jar (8152 bytes) ant-junit.jar (92792 bytes) ant-commons-net.jar (47163 bytes) ant.jar (1289806 bytes) ant-jsch.jar (30122 bytes) ant-starteam.jar (35404 bytes) ant-apache-oro.jar (39591 bytes) ant-launcher.jar (11734 bytes) ant-jmf.jar (6609 bytes) ant-commons-logging.jar (3943 bytes) ant-trax.jar (6897 bytes) xml-apis.jar (195119 bytes) ant-apache-log4j.jar (3074 bytes) xercesImpl.jar (1212965 bytes) ant-nodeps.jar (430311 bytes) ant-testutil.jar (14919 bytes) ant-apache-resolver.jar (4080 bytes) ant-stylebook.jar (2334 bytes) ant-antlr.jar (5769 bytes) ant-swing.jar (6713 bytes) ant-apache-bcel.jar (8627 bytes) ant-apache-regexp.jar (3737 bytes) ant-jai.jar (21368 bytes) ant-weblogic.jar (14254 bytes) ant-netrexx.jar (9895 bytes) --- USER_HOME/.ant/lib jar listing --- user.home: /home/library No such directory. --- Tasks availability --- image : Missing dependency javax.media.jai.PlanarImage sshexec : Missing dependency com.jcraft.jsch.UserInfo scp : Missing dependency com.jcraft.jsch.UserInfo jdepend : Missing dependency jdepend.xmlui.JDepend A task being missing/unavailable should only matter if you are trying to use it --- org.apache.env.Which diagnostics --- Not available. Download it at http://xml.apache.org/commons/ --- XML Parser information --- XML Parser : org.apache.xerces.jaxp.SAXParserImpl XML Parser Location: /usr/share/java/xercesImpl.jar Namespace-aware parser : org.apache.xerces.jaxp.SAXParserImpl $JAXPSAXParser Namespace-aware parser Location: /usr/share/java/xercesImpl.jar --- System properties --- java.runtime.name : Java(TM) SE Runtime Environment sun.boot.library.path : /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386 java.vm.version : 1.6.0-b105 ant.library.dir : /usr/local/ant//lib java.vm.vendor : Sun Microsystems Inc. java.vendor.url : http://java.sun.com/ path.separator : : java.vm.name : Java HotSpot(TM) Client VM file.encoding.pkg : sun.io user.country : US sun.java.launcher : SUN_STANDARD sun.os.patch.level : unknown java.vm.specification.name : Java Virtual Machine Specification user.dir : /home/library java.runtime.version : 1.6.0-b105 java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment java.endorsed.dirs : /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/endorsed os.arch : i386 java.io.tmpdir : /tmp line.separator : java.vm.specification.vendor : Sun Microsystems Inc. os.name : Linux ant.home : /usr/local/ant/ sun.jnu.encoding : UTF-8 java.library.path : /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/ client:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386:/usr/lib/jvm/ java-6-sun-1.6.0.00/jre/../lib/i386:/usr/java/packages/lib/i386:/ lib:/usr/lib java.specification.name : Java Platform API Specification java.class.version : 50.0 sun.management.compiler : HotSpot Client Compiler os.version : 2.6.20-16-generic user.home : /home/library user.timezone : (removed) java.awt.printerjob : sun.print.PSPrinterJob file.encoding : UTF-8 java.specification.version : 1.6 user.name : library java.class.path : /usr/local/ant//lib/ant-launcher.jar:/usr/share/ java/xmlParserAPIs.jar:/usr/share/java/xer
Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)
Dale, Thank you for your reply. I'm using java version 1.6 and Ant version is 1.7.0. If I run the java -version and ant version on the command terminal it works fine Tried again to run ant diagnostic,here is the output. please forgive me if am not supposed to post the whole result.Just want to make my problem clear to you. - Ant diagnostics report --- Apache Ant version 1.7.0 compiled on December 13 2006 --- Implementation Version --- core tasks : 1.7.0 optional tasks : not available --- ANT PROPERTIES --- ant.version: Apache Ant version 1.7.0 compiled on December 13 2006 ant.java.version: 1.6 ant.core.lib: /usr/local/ant/lib/ant.jar ant.home: /usr/local/ant/ --- ANT_HOME/lib jar listing --- ant.home: /usr/local/ant/ ant-apache-bsf.jar (3980 bytes) ant-javamail.jar (7011 bytes) ant-jdepend.jar (8152 bytes) ant-junit.jar (92792 bytes) ant-commons-net.jar (47163 bytes) ant.jar (1289806 bytes) ant-jsch.jar (30122 bytes) ant-starteam.jar (35404 bytes) ant-apache-oro.jar (39591 bytes) ant-launcher.jar (11734 bytes) ant-jmf.jar (6609 bytes) ant-commons-logging.jar (3943 bytes) ant-trax.jar (6897 bytes) xml-apis.jar (195119 bytes) ant-apache-log4j.jar (3074 bytes) xercesImpl.jar (1212965 bytes) ant-nodeps.jar (430311 bytes) ant-testutil.jar (14919 bytes) ant-apache-resolver.jar (4080 bytes) ant-stylebook.jar (2334 bytes) ant-antlr.jar (5769 bytes) ant-swing.jar (6713 bytes) ant-apache-bcel.jar (8627 bytes) ant-apache-regexp.jar (3737 bytes) ant-jai.jar (21368 bytes) ant-weblogic.jar (14254 bytes) ant-netrexx.jar (9895 bytes) --- USER_HOME/.ant/lib jar listing --- user.home: /home/library No such directory. --- Tasks availability --- image : Missing dependency javax.media.jai.PlanarImage sshexec : Missing dependency com.jcraft.jsch.UserInfo scp : Missing dependency com.jcraft.jsch.UserInfo jdepend : Missing dependency jdepend.xmlui.JDepend A task being missing/unavailable should only matter if you are trying to use it --- org.apache.env.Which diagnostics --- Not available. Download it at http://xml.apache.org/commons/ --- XML Parser information --- XML Parser : org.apache.xerces.jaxp.SAXParserImpl XML Parser Location: /usr/share/java/xercesImpl.jar Namespace-aware parser : org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser Namespace-aware parser Location: /usr/share/java/xercesImpl.jar --- System properties --- java.runtime.name : Java(TM) SE Runtime Environment sun.boot.library.path : /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386 java.vm.version : 1.6.0-b105 ant.library.dir : /usr/local/ant//lib java.vm.vendor : Sun Microsystems Inc. java.vendor.url : http://java.sun.com/ path.separator : : java.vm.name : Java HotSpot(TM) Client VM file.encoding.pkg : sun.io user.country : US sun.java.launcher : SUN_STANDARD sun.os.patch.level : unknown java.vm.specification.name : Java Virtual Machine Specification user.dir : /home/library java.runtime.version : 1.6.0-b105 java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment java.endorsed.dirs : /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/endorsed os.arch : i386 java.io.tmpdir : /tmp line.separator : java.vm.specification.vendor : Sun Microsystems Inc. os.name : Linux ant.home : /usr/local/ant/ sun.jnu.encoding : UTF-8 java.library.path : /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib java.specification.name : Java Platform API Specification java.class.version : 50.0 sun.management.compiler : HotSpot Client Compiler os.version : 2.6.20-16-generic user.home : /home/library user.timezone : (removed) java.awt.printerjob : sun.print.PSPrinterJob file.encoding : UTF-8 java.specification.version : 1.6 user.name : library java.class.path : /usr/local/ant//lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:/usr/local/ant/lib/ant-apache-bsf.jar:/usr/local/ant/lib/ant-javamail.jar:/usr/local/ant/lib/ant-jdepend.jar:/usr/local/ant/lib/ant-junit.jar:/usr/local/ant/lib/ant-commons-net.jar:/usr/local/ant/lib/ant.jar:/usr/local/ant/lib/ant-jsch.jar:/usr/local/ant/lib/ant-starteam.jar:/usr/local/ant/lib/ant-apache-oro.jar:/usr/local/ant/lib/ant-launcher.jar:/usr/local/ant/lib/ant-jmf.jar:/usr/local/ant/lib/ant-commons-logging.jar:/usr/local/ant/lib/ant-trax.jar
Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)
What version of ant are you running? If I remember correctly, I encountered this issue with either an earlier version of ant or java. I upgrade java to 1.6 and ant to 1.7. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Twaha Daudi Sent: Sunday, June 01, 2008 10:10 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries) Hello here is what I have done so far to see if my environment is ok [EMAIL PROTECTED]:/dspace-source/dspace$ ant --execdebug exec "/usr/java/jdk/bin/java" -classpath "/usr/local/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/ usr/share/java/xercesImpl.jar" -Dant.home="/usr/local/ant" -Dant.library.dir="/usr/local/ant/lib" org.apache.tools.ant.launch.Launcher -cp "" Buildfile: build.xml does not exist! Build failed Please,any help appreciated ud - Original Message From: Twaha Daudi <[EMAIL PROTECTED]> To: dspace-tech@lists.sourceforge.net Sent: Sunday, June 1, 2008 5:27:42 PM Subject: [Dspace-tech] dspace 1.5 ant error Hello all, Greetings to all Iam trying to implement it on ubuntu 7.04.I have installed all the requred package by following the documentation. In step 6 ,I have done the following: * cd /dspace-source/dspace/ * /dspace-source/dspace/mvn package * it downloaded the packages with some errors as shown below: [INFO] Assembling webapp[xmlui] in [/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] [INFO] Processing war project [WARNING] Not copying webapp webResources[/dspace-source/dspace/modules/xmlui/src/main/webapp]: webapp directory[/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] does not exist! [INFO] Copy webapp webResources[/dspace-source/dspace/modules/xmlui/src/main/webapp] to[/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to copy file for artifact[org.dspace:dspace-xmlui-api:jar:1.5.0:compile] Embedded error: /dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0/WEB-INF/lib/dspac e-xmlui-api-1.5.0.jar (No such file or directory) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Sun Jun 01 15:05:07 EAT 2008 [INFO] Final Memory: 13M/24M [INFO] in step 7 I have done the following * cd /dspace-source/dspace/ * /dspace-source/dspace/ ant fresh_install I got the following error [EMAIL PROTECTED]:/dspace-source/dspace$ ant fresh_install Buildfile: build.xml does not exist! Build failed What am I doing wrong? I appreciate for your help huu - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] dspace 1.5 ant error(building the dspace binaries)
Hello here is what I have done so far to see if my environment is ok [EMAIL PROTECTED]:/dspace-source/dspace$ ant --execdebug exec "/usr/java/jdk/bin/java" -classpath "/usr/local/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar" -Dant.home="/usr/local/ant" -Dant.library.dir="/usr/local/ant/lib" org.apache.tools.ant.launch.Launcher -cp "" Buildfile: build.xml does not exist! Build failed Please,any help appreciated ud - Original Message From: Twaha Daudi <[EMAIL PROTECTED]> To: dspace-tech@lists.sourceforge.net Sent: Sunday, June 1, 2008 5:27:42 PM Subject: [Dspace-tech] dspace 1.5 ant error Hello all, Greetings to all Iam trying to implement it on ubuntu 7.04.I have installed all the requred package by following the documentation. In step 6 ,I have done the following: * cd /dspace-source/dspace/ * /dspace-source/dspace/mvn package * it downloaded the packages with some errors as shown below: [INFO] Assembling webapp[xmlui] in [/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] [INFO] Processing war project [WARNING] Not copying webapp webResources[/dspace-source/dspace/modules/xmlui/src/main/webapp]: webapp directory[/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] does not exist! [INFO] Copy webapp webResources[/dspace-source/dspace/modules/xmlui/src/main/webapp] to[/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to copy file for artifact[org.dspace:dspace-xmlui-api:jar:1.5.0:compile] Embedded error: /dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0/WEB-INF/lib/dspace-xmlui-api-1.5.0.jar (No such file or directory) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Sun Jun 01 15:05:07 EAT 2008 [INFO] Final Memory: 13M/24M [INFO] in step 7 I have done the following * cd /dspace-source/dspace/ * /dspace-source/dspace/ ant fresh_install I got the following error [EMAIL PROTECTED]:/dspace-source/dspace$ ant fresh_install Buildfile: build.xml does not exist! Build failed What am I doing wrong? I appreciate for your help huu - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] dspace 1.5 ant error
Hello all, Greetings to all Iam trying to implement it on ubuntu 7.04.I have installed all the requred package by following the documentation. In step 6 ,I have done the following: * cd /dspace-source/dspace/ * /dspace-source/dspace/mvn package * it downloaded the packages with some errors as shown below: [INFO] Assembling webapp[xmlui] in [/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] [INFO] Processing war project [WARNING] Not copying webapp webResources[/dspace-source/dspace/modules/xmlui/src/main/webapp]: webapp directory[/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] does not exist! [INFO] Copy webapp webResources[/dspace-source/dspace/modules/xmlui/src/main/webapp] to[/dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to copy file for artifact[org.dspace:dspace-xmlui-api:jar:1.5.0:compile] Embedded error: /dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0/WEB-INF/lib/dspace-xmlui-api-1.5.0.jar (No such file or directory) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Sun Jun 01 15:05:07 EAT 2008 [INFO] Final Memory: 13M/24M [INFO] in step 7 I have done the following * cd /dspace-source/dspace/ * /dspace-source/dspace/ ant fresh_install I got the following error [EMAIL PROTECTED]:/dspace-source/dspace$ ant fresh_install Buildfile: build.xml does not exist! Build failed What am I doing wrong? I appreciate for your help huu - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech