Robin,
Wow. I just re-read the instructions. This is how I've compiled in
the past. Let's make sure we understand
that there are two /dspace directories in actuality and you have to
not confuse yourself.
Anyone else who wants to chime in, please do.
The first directory will be the one you make with the mkdir dspace
command. This can be anywhere and
it will store the eventual output from the mvn package. You will not
have anything populated in this directory.
It is referred to as [dspace] in most of the documentation. (Whether
your [dspace] directory is at root level
or imbedded. For my own installation my [dspace] directory is /irmaag/
dspace)
The second dspace directory resides under [dspace-source] (e.g. /
dspace-1.5.2-src-release/dspace)
This is the dspace directory that you will make all the changes to in
dspace.cfg (/dspace-1.5.2-src-release/dspace/config)
You will cd over the /dspace-1.5.2-src-release/dspace and run your mvn
package command there. Then
you would go to the [dspace-source]/dspace/target/dspace-1.5.2.dir and
run the ant fresh_install.
Those steps will populate the first [dspace] directory mentioned above.
Is this not what you had happen?
--Jeff
Jeffrey Trimble
System LIbrarian
William F. Maag Library
Youngstown State University
330.941.2483 (Office)
[email protected]
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
"I must not fear. Fear is the mind-killer.
I will permit it to pass over me and through me..."
--Litany against fear....
On Aug 19, 2009, at 10:45 AM, Robin Taylor wrote:
As usual I have probably done something stupid but...
I just installed Dspace 1.5.2 source release from scratch and I
think there is a wee gap in the installation intructions. In step
3.2.3.4 you are instructed to edit [dspace-source]/dspace/config/
dspace.cfg prior to doing your initial 'mvn package' and Ant fresh-
install. Amongst other things you set dspace.dir to be your
installation directory. You are then instructed to run 'mvn package'
with no parameters set if you are using Postgres. The problem is $
{dspace.dir} is not replaced in the various web.xml files in the
build directory. To correct this I had to rerun the 'mvn package'
with dspace.dir set as a parameter. No big deal but it's the sort of
thing that can cause a newcomer a lot of grief. The easiest fix
would be to update the instructions to tell the user to add the
parameter but I am sure there must be a better way.
Cheers, Robin.
Robin Taylor
Main Library
University of Edinburgh
Tel. 0131 6513808
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel