Re: [Dspace-tech] DSpace 1.5 implementation questions

2009-01-15 Thread Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]
Mark - I am having problems with my install.  See my comments below:

 



From: Diggory Mark [mailto:mdigg...@gmail.com] 
Sent: Wednesday, January 07, 2009 6:41 PM
To: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace 1.5 implementation questions

 

Hello Susan,

 

I'll try to answer some of your questions:

 

On Jan 7, 2009, at 3:21 PM, Thornton, Susan M. (LARC-B702)[NCI
INFORMATION SYSTEMS] wrote:





Hi,

 I am working on our upgrade from DSpace 1.4.2 -- 1.5.0 and have a
couple of questions.

 

1.   I have a copy of the DSpace 1.5.0 System
documentation, entitled DSpace Manual Software Version 1.5 May 2008,
however it references install-configs which I understand does not
exist anymore in DSpace 1.5.0.  Can any of the developers (or anyone
else) tell me if this is the most recent version of the DSpace 1.5
System Documentation or was there a subsequent update?  If there is a
more recent version, I would appreciate it if anyone could either email
me a copy, or let me know where I can get one.

 

This may be a residual, yes install-configs no longer is maintained.
It is wiser to maintain your configuration within
/export/home/dspace-1.5.0-src-release/dspace/config directly





 

2.   I am a bit confused about the new 1.5 file
structures.  In 1.4.2, our dspace directory was /export/home/dspace
and our dspace-source directory was /export/home/dspace-1.4.2-source.
In the 1.5 configuration, at our installation, is our new dspace going
to reside at export/home/dspace or
/export/home/dspace-1.5.1-src-release/dspace?

 

Yes, your dspace directory will still be /export/home/dspace and your
dspace-source build directory will now be export/home/dspace or
/export/home/dspace-1.5.1-src-release/dspace. However...



 

3.   When I (re-)deploy, am I still going to
deploy from the .war file located at
/export/home/dspace-1.5.0-src-release/dspace-jspui/dspace-jspui-webapp/t
arget/dspace-jspui-webapp-1.5.0.war or am I going to deploy from
/export/home/dspace-1.5.0-src-release/webapps or
/export/home/dspace-1.5.0-src-release/webapps/jspui??

 

No, the build process in 1.5.x has two stages, first a compilation and
assembly stage in Maven, and second, an installation stage in Ant.

 

The Maven build is run in  /export/home/dspace-1.5.0-src-release/dspace
and will build your distribution with its customizations in
/export/home/dspace-1.5.0-src-release/dspace/target/...

 

In that build directory you will see something like

 

target/dspace-1.5.1-build.dir/

bin/

config/

lib/

search/

webapps/

jspui/

xmlui/

build.xml

 

I don't end up with a jspui/ or xmlui/ directory under
target/dspace-1.5.0-build.dir/ ..I only get a webapps directory and
the only thing in WEB-INF is messages.properties.  I do, however find
the .class files under:

 

/dspace-1.5.0-source-dir/dspace-api/target/classes/org/dspace...
..

/dspace-1.5.0-source-dir/dspace-jspui/dspace-jspui-apiand
/dspace-jspui-webapp

/dspace-1.5.0-source-dir/dspace-lni/dspace-lni-client  and
dspace-lni-core and dspace/lni-webapp

And so on..

 

What am I doing wrong??   The instructions you gave me varied somewhat
from the instructions in this document:

http://dspace.svn.sourceforge.net/viewvc/dspace/trunk/dspace/docs/update
.html#142_15

 

Help!  :-)

Thanks,

Sue

 

Sue Walker-Thornton

ConITS Contract
NASA Langley Research Center
//Integrated Library Systems Application  Database Administrator

130 Research Drive

Hampton, VA  23666

Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547 
Email:  susan.m.thorn...@nasa.gov mailto:susan.m.thorn...@nasa.gov 

 

 

 

 

You then navigate to this directory to start the second stage of the
build process by executing Ant, things will begin to look familiar at
this point because you will be running either ant init_configs update
or ant fresh_install.

 

The ant build will then install the distribution you created into
/export/home/dspace

 

and you will find all your compiled webapps as directories in

 

/export/home/dspace/webapps

 

Don't try to deploy the dspace-xmlui-webapp.war or
dspace-jspui-webap.war archives to a web server, they do not include a
lib directory with the required dependencies or the appropriate
customizations you would now be doing under

 

/export/home/dspace-1.5.0-src-release/dspace/modules/xmlui or
/export/home/dspace-1.5.0-src-release/dspace/modules/jspui

 

Hope this is helpful,

Mark

 

 





 

 I'm confused!!  :-

 

Thanks in advance!

Sue

 

 

Sue Walker-Thornton

ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application  Database Administrator

130 Research Drive

Hampton, VA  23666

Office: (757) 224

Re: [Dspace-tech] DSpace 1.5 implementation questions

2009-01-15 Thread Diggory Mark

I'll try to give you an answer below...

On Jan 15, 2009, at 6:38 PM, Thornton, Susan M. (LARC-B702)[NCI  
INFORMATION SYSTEMS] wrote:



Mark – I am having problems with my install.  See my comments below:


3.   When I (re-)deploy, am I still going to deploy  
from the .war file located at /export/home/dspace-1.5.0-src-release/ 
dspace-jspui/dspace-jspui-webapp/target/dspace-jspui- 
webapp-1.5.0.war or am I going to deploy from /export/home/ 
dspace-1.5.0-src-release/webapps or /export/home/dspace-1.5.0-src- 
release/webapps/jspui??


No, the build process in 1.5.x has two stages, first a compilation  
and assembly stage in Maven, and second, an installation stage in Ant.


The Maven build is run in  /export/home/dspace-1.5.0-src-release/ 
dspace and will build your distribution with its customizations in  / 
export/home/dspace-1.5.0-src-release/dspace/target/...


In that build directory you will see something like

target/dspace-1.5.1-build.dir/
bin/
config/
lib/
search/
webapps/
jspui/
xmlui/
build.xml

I don’t end up with a jspui/ or xmlui/ directory under target/ 
dspace-1.5.0-build.dir/ ……I only get a webapps directory and the  
only thing in WEB-INF is messages.properties.  I do, however find  
the .class files under:


not under /dspace-1.5.0-source-dir/dspace/target/dspace-1.5.0- 
build.dir/webapps/jspui or /dspace-1.5.0-source-dir/dspace/target/ 
dspace-1.5.0-build.dir/webapps/xmlui?


maybe you are executing maven (mvn package) in the top level directory  
rather than in the /dspace-1.5.0-source-dir/dspace directory? see  
Number 3 in the documentation your using below.


What am I doing wrong??   The instructions you gave me varied  
somewhat from the instructions in this document:

http://dspace.svn.sourceforge.net/viewvc/dspace/trunk/dspace/docs/update.html#142_15


The following should work with your install location. If you are not  
getting a successful build then there is something else at play here.



cd /dspace-1.5.0-source-dir/dspace
mvn package
cd /dspace-1.5.0-source-dir/dspace/target/dspace-1.5.0-build.dir
ant ...



Mark



/dspace-1.5.0-source-dir/dspace-api/target/classes/org/dspace.
/dspace-1.5.0-source-dir/dspace-jspui/dspace-jspui-apiand / 
dspace-jspui-webapp
/dspace-1.5.0-source-dir/dspace-lni/dspace-lni-client  and dspace- 
lni-core and dspace/lni-webapp

And so on……


Your actually getting distracted by these directories.  This is why  
I'm not so keen on seeing this source-release again in the next  
release, it is tending to confuse many admins. You actually would be  
better off with the regular release and then moving your  
customizations into the dspace/modules directory in a custom module.


you should be looking for your webapps in /dspace-1.5.0-source-dir/ 
dspace/target/dspace-1.5.0-build.dir/webapps/...


Cheers,
Mark

~
Mark R. Diggory
http://purl.org/net/mdiggory/homepage



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace 1.5 implementation questions

2009-01-07 Thread Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]
Hi,

 I am working on our upgrade from DSpace 1.4.2 -- 1.5.0 and have a
couple of questions.

 

1.   I have a copy of the DSpace 1.5.0 System
documentation, entitled DSpace Manual Software Version 1.5 May 2008,
however it references install-configs which I understand does not
exist anymore in DSpace 1.5.0.  Can any of the developers (or anyone
else) tell me if this is the most recent version of the DSpace 1.5
System Documentation or was there a subsequent update?  If there is a
more recent version, I would appreciate it if anyone could either email
me a copy, or let me know where I can get one.

 

2.   I am a bit confused about the new 1.5 file
structures.  In 1.4.2, our dspace directory was /export/home/dspace
and our dspace-source directory was /export/home/dspace-1.4.2-source.
In the 1.5 configuration, at our installation, is our new dspace going
to reside at export/home/dspace or
/export/home/dspace-1.5.1-src-release/dspace?

 

3.   When I (re-)deploy, am I still going to deploy from
the .war file located at
/export/home/dspace-1.5.0-src-release/dspace-jspui/dspace-jspui-webapp/t
arget/dspace-jspui-webapp-1.5.0.war or am I going to deploy from
/export/home/dspace-1.5.0-src-release/webapps or
/export/home/dspace-1.5.0-src-release/webapps/jspui??

 

 I'm confused!!  :-

 

Thanks in advance!

Sue

 

 

Sue Walker-Thornton

ConITS Contract
NASA Langley Research Center
//Integrated Library Systems Application  Database Administrator

130 Research Drive

Hampton, VA  23666

Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547 
Email:  susan.m.thorn...@nasa.gov mailto:susan.m.thorn...@nasa.gov 

 

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace 1.5 implementation questions

2009-01-07 Thread Diggory Mark

Hello Susan,

I'll try to answer some of your questions:

On Jan 7, 2009, at 3:21 PM, Thornton, Susan M. (LARC-B702)[NCI  
INFORMATION SYSTEMS] wrote:



Hi,
 I am working on our upgrade from DSpace 1.4.2 à 1.5.0 and have  
a couple of questions.


1.   I have a copy of the DSpace 1.5.0 System  
documentation, entitled “DSpace Manual Software Version 1.5 May  
2008”, however it references “install-configs” which I understand  
does not exist anymore in DSpace 1.5.0.  Can any of the developers  
(or anyone else) tell me if this is the most recent version of the  
DSpace 1.5 System Documentation or was there a subsequent update?   
If there is a more recent version, I would appreciate it if anyone  
could either email me a copy, or let me know where I can get one.


This may be a residual, yes install-configs no longer is maintained.   
It is wiser to maintain your configuration within /export/home/ 
dspace-1.5.0-src-release/dspace/config directly




2.   I am a bit confused about the new 1.5 file  
structures.  In 1.4.2, our dspace directory was /export/home/ 
dspace and our dspace-source directory was /export/home/ 
dspace-1.4.2-source.  In the 1.5 configuration, at our installation,  
is our new dspace going to reside at export/home/dspace or /export/ 
home/dspace-1.5.1-src-release/dspace?


Yes, your dspace directory will still be /export/home/dspace and  
your dspace-source build directory will now be export/home/dspace  
or /export/home/dspace-1.5.1-src-release/dspace. However...


3.   When I (re-)deploy, am I still going to deploy  
from the .war file located at /export/home/dspace-1.5.0-src-release/ 
dspace-jspui/dspace-jspui-webapp/target/dspace-jspui- 
webapp-1.5.0.war or am I going to deploy from /export/home/ 
dspace-1.5.0-src-release/webapps or /export/home/dspace-1.5.0-src- 
release/webapps/jspui??


No, the build process in 1.5.x has two stages, first a compilation and  
assembly stage in Maven, and second, an installation stage in Ant.


The Maven build is run in  /export/home/dspace-1.5.0-src-release/ 
dspace and will build your distribution with its customizations in  / 
export/home/dspace-1.5.0-src-release/dspace/target/...


In that build directory you will see something like

target/dspace-1.5.1-build.dir/
bin/
config/
lib/
search/
webapps/
jspui/
xmlui/
build.xml

You then navigate to this directory to start the second stage of the  
build process by executing Ant, things will begin to look familiar at  
this point because you will be running either ant init_configs  
update or ant fresh_install.


The ant build will then install the distribution you created into / 
export/home/dspace


and you will find all your compiled webapps as directories in

/export/home/dspace/webapps

Don't try to deploy the dspace-xmlui-webapp.war or  dspace-jspui- 
webap.war archives to a web server, they do not include a lib  
directory with the required dependencies or the appropriate  
customizations you would now be doing under


/export/home/dspace-1.5.0-src-release/dspace/modules/xmlui or /export/ 
home/dspace-1.5.0-src-release/dspace/modules/jspui


Hope this is helpful,
Mark





 I’m confused!!  :-

Thanks in advance!
Sue


Sue Walker-Thornton
ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application  Database Administrator
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547
Email:  susan.m.thorn...@nasa.gov

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


~
Mark R. Diggory
http://purl.org/net/mdiggory/homepage



--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace 1.5 implementation questions

2009-01-07 Thread Van Ly
Quoting Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]
susan.m.thorn...@nasa.gov:

 Hi,

  I am working on our upgrade from DSpace 1.4.2 -- 1.5.0 and have a
 couple of questions.



 1.   I have a copy of the DSpace 1.5.0 System
 documentation, entitled DSpace Manual Software Version 1.5 May 2008,
 however it references install-configs which I understand does not
 exist anymore in DSpace 1.5.0.  Can any of the developers (or anyone
 else) tell me if this is the most recent version of the DSpace 1.5
 System Documentation or was there a subsequent update?  If there is a
 more recent version, I would appreciate it if anyone could either email
 me a copy, or let me know where I can get one.

Hi,

I googled dspace svn and found

http://projects.dspace.org/dspace/source-repository.html

if that repository is current, the latest files should be available from
there. It has a link to

http://svnbook.red-bean.com/

perhaps with an svn-book in pdf format, one of the appendices has a quick
start tutorial for subversion new users.

Cheers.

--
Van Ly : U. of Sydney Library


This message was sent using IMP, the Internet Messaging Program.

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech