Twaha Daudi | 1 Jun 2008 16:27
Picon
Favicon

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/weba pp]:
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
dspace <at> library-desktop:/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/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Twaha Daudi | 1 Jun 2008 17:09
Picon
Favicon

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

dspace <at> library-desktop:/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 <tdmlwilo-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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
dspace <at> library-desktop:/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/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Poulter, Dale | 1 Jun 2008 17:20
Picon
Favicon

Re: 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: dspace-tech-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:dspace-tech-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Twaha Daudi
Sent: Sunday, June 01, 2008 10:10 AM
To: dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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

dspace <at> library-desktop:/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 <tdmlwilo-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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
dspace <at> library-desktop:/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/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Twaha Daudi | 2 Jun 2008 06:28
Picon
Favicon

Re: 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.UserInfoscp : 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.o rg/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.h ome : /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:/usr/local/ant/lib/xml-apis.jar:/usr/local/ant/lib/ant-apache-log4j.jar:/usr/local/ant/lib/xercesImpl.jar:/usr/local/ant/lib/ant-nodeps.jar:/usr/local/ant/lib/ant-testutil.jar:/usr/local/ant/lib/ant-apache-resolver.jar:/usr/local/ant/lib/ant -stylebook.jar:/usr/local/ant/lib/ant-antlr.jar:/usr/local/ant/lib/ant-swing.jar:/usr/local/ant/lib/ant-apache-bcel.jar:/usr/local/ant/lib/ant-apache-regexp.jar:/usr/l ocal/ant/lib/ant-jai.jar:/usr/local/ant/lib/ant-weblogic.jar:/usr/local/ant/lib/ant-netrexx.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/lib/tools.jar
java.vm.specification.version : 1.0
sun.arch.data.model : 32
java.home : /usr/lib/jvm/java-6-sun-1.6.0.00/jre
java.specification.vendor : Sun Microsystems Inc.
user.language : en
java.vm.info : mixed mode, sharing
java.version : 1.6.0
java.ext.dirs : /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/ext:/usr/java/packages/lib/ext
sun.boot.class.path : /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/classes
java.vendor : Sun Microsystems Inc.
file.separator : /
jav a.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian : little
sun.io.unicode.encoding : UnicodeLittle
sun.desktop : gnome
sun.cpu.isalist :

-------------------------------------------
 Temp dir
-------------------------------------------
Temp dir is /tmp
Te mp dir is writeable
Temp dir alignment with system clock is -352 ms

-------------------------------------------
 Locale information
-------------------------------------------


-------------------------------------------
 Proxy information
-------------------------------------------
Java1.5+ proxy settings:
Direct connection

how about the java1.5+ proxy settings could it be a problem?. maybe it should show java1.6?? not sure
thank you again

udd

----- Original Message ----
From: "Poulter, Dale" <dale.poulter-JUcilPo25Tx/YoLSLghYxw@public.gmane.org>
To: Twaha Daudi <tdmlwilo-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>; dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Sent: Sunday, June 1, 2008 6:20:13 PM
Subject: 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: dspace-tech-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:dspace-tech-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Twaha Daudi
Sent: Sunday, June 01, 2008 10:10 AM
To: dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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

dspace <at> library-desktop:/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 <tdmlwilo-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: dspace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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
dspace <at> library-desktop:/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/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Mark Diggory | 2 Jun 2008 07:15
Picon
Favicon

Re: 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/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:/usr/local/ant/lib/xml-apis.jar:/usr/local/ant/lib/ant-apache-log4j.jar:/usr/local/ant/lib/xercesImpl.jar:/usr/local/ant/lib/ant-nodeps.jar:/usr/local/ant/lib/ant-testutil.jar:/usr/local/ant/lib/ant-apache-resolver.jar:/usr/local/ant/lib/ant-stylebook.jar:/usr/local/ant/lib/ant-antlr.jar:/usr/local/ant/lib/ant-swing.jar:/usr/local/ant/lib/ant-apache-bcel.jar:/usr/local/ant/lib/ant-apache-regexp.jar:/usr/l ocal/ant/lib/ant-jai.jar:/usr/local/ant/lib/ant-weblogic.jar:/usr/local/ant/lib/ant-netrexx.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/lib/tools.jar
java.vm.specification.version : 1.0
sun.arch.data.model : 32
java.home : /usr/lib/jvm/java-6-sun-1.6.0.00/jre
java.specification.vendor : Sun Microsystems Inc.
user.language : en
java.vm.info : mixed mode, sharing
java.version : 1.6.0
java.ext.dirs : /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/ext:/usr/java/packages/lib/ext
sun.boot.class.path : /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/classes
java.vendor : Sun Microsystems Inc.
file.separator : /
java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian : little
sun.io.unicode.encoding : UnicodeLittle
sun.desktop : gnome
sun.cpu.isalist :

-------------------------------------------
 Temp dir
-------------------------------------------
Temp dir is /tmp
Temp dir is writeable
Temp dir alignment with system clock is -352 ms

-------------------------------------------
 Locale information
-------------------------------------------


-------------------------------------------
 Proxy information
-------------------------------------------
Java1.5+ proxy settings:
Direct connection

how about the java1.5+ proxy settings could it be a problem?. maybe it should show java1.6?? not sure
thank you again

udd

----- Original Message ----
From: "Poulter, Dale" <dale.poulter-JUcilPo25Tx/YoLSLghYxw@public.gmane.org>
To: Twaha Daudi <tdmlwilo-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>; dspace-tech-5NWGOfrQmncRDUWM+popnw@public.gmane.orgforge.net
Sent: Sunday, June 1, 2008 6:20:13 PM
Subject: 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: dspace-tech-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:dspace-tech-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Twaha Daudi
Sent: Sunday, June 01, 2008 10:10 AM
To: dspace-tech-5NWGOfrQmncRDUWM+popnw@public.gmane.orgforge.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

dspace <at> library-desktop:/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 <tdmlwilo-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: dspace-tech-5NWGOfrQmncRDUWM+popnw@public.gmane.orgforge.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
dspace <at> library-desktop:/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.
DSpace-tech mailing list



~~~~~~~~~~~~~
Mark R. Diggory - DSpace Developer and Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Twaha Daudi | 2 Jun 2008 10:57
Picon
Favicon

Re: dspace 1.5 ant error(building the dspace binaries)

hello Mark  diggory and all
Iam back again,Sorry for taking you time.

environment variables for the necessary software to run dspace 1.5 are( I have added these on .bashrc file)

# java  variable
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PATH:$JAVA_HOME/bin

# Maven variable
M2_HOME=/usr/local/apache-maven/apache-maven-2.0.9
export M2=$M2_HOME/bin
export PATH=$M2:$PATH

# Ant  variable
export ANT_HOME=/usr/local/ant/
export PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin

here is the out after running
mvn install and mvn package as dspace unix user


dspace <at> library-desktop:/dspace-source/dspace$ mvn install

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   DSpace Addon Modules
[INFO]   DSpace XML-UI (Manakin) :: Web Application
[INFO]   DSpace LNI :: Web Application
[INFO]   DSpace OAI :: Web Application
[INFO]   DSpace JSP-UI :: Web Application
[INFO]   DSpace SWORD :: Web Application
[INFO]   DSpace Assembly and Configuration
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace Addon Modules
[INFO]    task-segment: [install]
[INFO] ----------------------------- -------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar
15K downloaded
[INFO] [site:attach-descriptor]
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-reg istry-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
11K downloaded
[INFO] [install:install]
[INFO] Installing /dspace-source/dspace/modules/pom.xml to /home/dspace/.m2/repository/org/dspace/modules/1.5.0/modules-1.5.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace XML-UI (Manakin) :: Web Application
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Packaging webapp
[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: 48 seconds
[INFO] Finished at: Mon Jun 02 11:11:08 EAT 2008
[INFO] Final Memory: 14M/26M
[INFO] ------------------------------------------------------------------------
dspace <at> library-desktop:/dspace-s ource/dspace$ mvn -version
Maven version: 2.0.9
Java version: 1.6.0
OS name: "linux" version: "2.6.20-16-generic" arch: "i386" Family: "unix"

When I run with -e switch for errors
mvn -e

The output is
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO]

You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for options
See http://maven.apache.org for more information.


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException:

You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for options
See http://maven.apache.org for more information.


        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.Nat iveMethodAccessorImpl.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)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Jun 02 11:52:18 E AT 2008
[INFO] Final Memory: 1M/4M
[INFO] ---------------------------------------------------------

Please sirs, any idea will appreciate

ud

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Smith, Andrew J | 2 Jun 2008 14:53
Picon
Favicon

Re: Adding Fields to Create Profile

After one step forward, I've gone one step back...

Instead of trying to update the database directly in an initEPerson method, metadata fields for an Eperson
can be simply set using eperson.setMetadata(field,value).  Well that is simple enough.

But now, I find out I have another misconception.  I thought the user registration in a Manakin interface is
handled by the DSpace code.  Turns out this must not be the case.  After adding a test setMetadata call in
PasswordAuthentication, the results work find when registered through the JSP interface.  However, no
additional data is added when registering from the manakin interface.

Could someone point out where to attack this problem (adding additional fields/information to the
eperson table on registration) in Manakin 1.1 .

Thanks,
Andy

> -----Original Message-----
> From: dspace-tech-bounces@... [mailto:dspace-tech-
> bounces@...] On Behalf Of Smith, Andrew J
> Sent: Thursday, May 29, 2008 1:45 PM
> To: 'Elliot Metsger'; dspace-tech@...
> Subject: Re: [Dspace-tech] Adding Fields to Create Profile
>
> Elliot,
>
> Thanks for the help.
>
> However, I seem to be missing something.  When in
> PasswordAuthentication.initEPerson, a run into two issues.  First, a
> row has not yet been created in the eperson table to store the
> additional information.  Second, the context object does not appear to
> be able to establish a dbconnection.
>
> As a simple test, I tried something like:
>
> public void initEPerson(Context context, HttpServletRequest request,
> EPerson eperson)
>         throws SQLException
>     {
>         String query = "SELECT * FROM eperson";
>         TableRow tr = DatabaseManager.querySingle(context, query);
>         tr.setColumn("phone","testing");
>         DatabaseManager.update(context, tr);
>     }
>
> I was expecting this to set the phone of the first user to testing.
> However, dspace crashed returned an internal system error with a
> NullPointerException that appears to come from the lack of a table name
> in the DatabaseManager.update, which requires a context.dbconnection
> call.
>
> Can you or anyone else see the errors of my way?
>
> Thanks,
> Andy
>
> > -----Original Message-----
> > From: dspace-tech-bounces@... [mailto:dspace-tech-
> > bounces@...] On Behalf Of Elliot Metsger
> > Sent: Sunday, May 25, 2008 1:26 PM
> > To: dspace-tech@...
> > Subject: Re: [Dspace-tech] Adding Fields to Create Profile
> >
> >
> > Andrew,
> >
> > One way to do this is to extend the PasswordAuthentication class, and
> > override the initEPerson( Context, HttpServletRequest, EPerson )
> > method.
> > Inside that method you can collect your additional information and
> > store it
> > where you want.
> >
> > We collect extra information and store it in the DSpace database - we
> > added
> > varchar columns to the eperson table to store the information, and
> then
> > access the information later by using the EPerson.getMetadata( String
> )
> > method, where the string value corresponds to the name of the extra
> > column:
> >
> > dspace=> \d eperson;
> >                     Table "public.eperson"
> >        Column        |            Type             | Modifiers
> > ---------------------+-----------------------------+-----------
> >  eperson_id          | integer                     | not null
> >  email               | character varying(64)       |
> >  password            | character varying(64)       |
> >  ...
> >  jhu_jhedid          | character varying(8)        |
> >  jhu_affil           | character varying(255)      |
> >  jhu_primcampus      | character varying(255)      |
> >  jhu_deptno          | character varying(255)      |
> >  jhu_hopkinsid       | character varying(8)        |
> >  jhu_ssologin        | character varying(5)        |
> > ...
> >
> > someEperson.getMetadata( "jhu_deptno" ) would return the user's
> > department
> > number.
> >
> > Hope this helps,
> > Elliot
> >
> >
> > Smith, Andrew J wrote:
> > >
> > > Hello,
> > >
> > > We need to collect additional information when a user creates a new
> > > account, other than name and phone number.  I've looked through the
> > > how-to's and forums, but have come up empty on how to accomplish
> > this.
> > > Could someone outline the steps or point me to information that I
> > might
> > > have missed?   This application is using Dspace 1.4.2/Manakin 1.1.
> > >
> > > Thanks.
> > >
> > > -------------------------------------------------------------------
> --
> > ----
> > > This SF.net email is sponsored by: Microsoft
> > > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > _______________________________________________
> > > DSpace-tech mailing list
> > > DSpace-tech@...
> > > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> > >
> > >
> >
> > --
> > View this message in context: http://www.nabble.com/Adding-Fields-to-
> > Create-Profile-tp17433032p17460179.html
> > Sent from the DSpace - Tech mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> --
> > --
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > DSpace-tech mailing list
> > DSpace-tech@...
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
> -----------------------------------------------------------------------
> --
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@...
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Mark Diggory | 2 Jun 2008 17:49
Picon
Favicon

Re: dspace 1.5 ant error(building the dspace binaries)

Twaha,

Please check the "file permissions" in the following directory by running the following command as the same user account you are running mvn from

On dspace <at> library-desktop

touch /dspace-source/dspace/modules/xmlui/target/xmlui-1.5.0

if you get an error, then your file permissions are not correct and you cannot create new files in the directory structure. You will need to look into executing chmod ug+w across the /dspace-source directory structure.

-Mark


On Jun 2, 2008, at 1:57 AM, Twaha Daudi wrote:

hello Mark  diggory and all
Iam back again,Sorry for taking you time.

environment variables for the necessary software to run dspace 1.5 are( I have added these on .bashrc file)

# java  variable
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PATH:$JAVA_HOME/bin

# Maven variable
M2_HOME=/usr/local/apache-maven/apache-maven-2.0.9
export M2=$M2_HOME/bin
export PATH=$M2:$PATH

# Ant  variable
export ANT_HOME=/usr/local/ant/
export PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin

here is the out after running
mvn install and mvn package as dspace unix user


dspace <at> library-desktop:/dspace-source/dspace$ mvn install

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   DSpace Addon Modules
[INFO]   DSpace XML-UI (Manakin) :: Web Application
[INFO]   DSpace LNI :: Web Application
[INFO]   DSpace OAI :: Web Application
[INFO]   DSpace JSP-UI :: Web Application
[INFO]   DSpace SWORD :: Web Application
[INFO]   DSpace Assembly and Configuration
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace Addon Modules
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar
15K downloaded
[INFO] [site:attach-descriptor]
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
11K downloaded
[INFO] [install:install]
[INFO] Installing /dspace-source/dspace/modules/pom.xml to /home/dspace/.m2/repository/org/dspace/modules/1.5.0/modules-1.5.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace XML-UI (Manakin) :: Web Application
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Packaging webapp
[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: 48 seconds
[INFO] Finished at: Mon Jun 02 11:11:08 EAT 2008
[INFO] Final Memory: 14M/26M
[INFO] ------------------------------------------------------------------------
dspace <at> library-desktop:/dspace-source/dspace$ mvn -version
Maven version: 2.0.9
Java version: 1.6.0
OS name: "linux" version: "2.6.20-16-generic" arch: "i386" Family: "unix"

When I run with -e switch for errors
mvn -e

The output is
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO]

You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for options
See http://maven.apache.org for more information.


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException:

You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for options
See http://maven.apache.org for more information.


        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        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)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Jun 02 11:52:18 EAT 2008
[INFO] Final Memory: 1M/4M
[INFO] ---------------------------------------------------------

Please sirs, any idea will appreciate

ud

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
DSpace-tech mailing list

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Paul Jordan | 2 Jun 2008 18:08
Favicon

Can't log into Admin

Hello again. I've got a newly-installed DSpace 1.4.2, and I can't log in to the Admin section. I've installed it locally, so I'm trying to go to the following address, which I think is where Admin should live:
 
 
However, all I'm getting is a 404 error, with Tomcat saying "The requested resource (/dspace-admin) is not available."
 
What've I done wrong this time? And is there a "Getting your DSpace up and running for dummies" I could read somewhere?
 
Many thanks,
 
Paul Jordan
Digital Archivist
Occidental College
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Michael Steck | 2 Jun 2008 19:38
Picon

umlaute in dspace xmlui 1.5

Hi folks,

at first i want to thank you for the great job you did with dspace. i
like it more everyday i am working with and we have plans to use it at
our institute.

but i have a little question concerning the german special characters
(such as umlaute üöä). it works fine in jspui but doesnt show up correct
in xmlui. must be a problem with the encoding, but i have set tomcat to
utf-8 as recommended. what was my mistake? i am using dspace 1.5.0
release and tomcat 6.
it also appears wrong encoded in the database.

thanks for your help
michael

------------------------------------------------------------------
Dipl.- Ing. Michael Steck
FfE - Forschungsstelle für Energiewirtschaft e.V.
Am Blütenanger 71
80995 München
Tel.: 089/158121-22
Fax: 089/158121-10
msteck <at> ffe.de
www.ffe.de
------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
DSpace-tech <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Gmane