Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)

2008-06-02 Thread Twaha Daudi
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


[EMAIL PROTECTED]:/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] 

Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)

2008-06-02 Thread Mark Diggory

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 [EMAIL PROTECTED]

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


[EMAIL PROTECTED]:/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 

Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)

2008-06-02 Thread Twaha Daudi
Mark,
Thank you for the help.I got it working.
Thank you again
Twaha


- Original Message 
From: Mark Diggory [EMAIL PROTECTED]
To: Twaha Daudi [EMAIL PROTECTED]
Cc: dspace-tech@lists.sourceforge.net
Sent: Monday, June 2, 2008 6:49:49 PM
Subject: Re: [Dspace-tech] 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 [EMAIL PROTECTED]

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


[EMAIL PROTECTED]:/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

Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)

2008-06-01 Thread Poulter, Dale
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


Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)

2008-06-01 Thread Twaha Daudi
-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 [EMAIL PROTECTED]
To: Twaha Daudi [EMAIL PROTECTED]; dspace-tech@lists.sourceforge.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:[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/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

Re: [Dspace-tech] dspace 1.5 ant error(building the dspace binaries)

2008-06-01 Thread Mark Diggory
/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 [EMAIL PROTECTED]
To: Twaha Daudi [EMAIL PROTECTED]; dspace- 
[EMAIL PROTECTED]

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: [EMAIL PROTECTED] [mailto:dspace-tech- 
[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