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-api and /
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