Gary,

There is a Maven command 'mvn clean package' which does this for you, it removes all target directories, forcing everything to be reconstructed.

Again, I highly suggest maintaining your dspace.cfg changes in [dspace-source]/dspace/config/dspace.cfg and not using ant - Dconfig=... This is because in dspace 1.5.0 the dspace.cfg designated by -Dconfig is not properly copied in palce, the reason it works in this (and most cases) is that your referencing the already installed dspace.cfg. I have a fix for this planned for dspace 1.5.1

-Mark

On May 26, 2008, at 6:38 PM, Gary Browne wrote:

Hi Hamish

A solution of sorts...I first tried deleting the [dspace-source]/ dspace/target directory. Then after running mvn package, my customised jsp pages WERE copied to [dspace-source]/dspace/target/ dspace-[version].dir/webapps/dspace-jspui-webapp/. However, after doing an ant -Dconfig=/yadda/yadda update, I had app runtime errors which were unresolvable without some hard thinking, for which I was not in the mood. So, ... reinstall. I removed the [dspace-source]/ dspace/target directory again, dropped and reinstalled the dspace db, re-ran mvn package and did an ant fresh_install. Et voila! One DSpace 1.5 instance complete with customised jsp pages. Now let's see if everything else works.

Don't ask me what you do if this is a production instance - dropping production dbs ain't fun.

I hope this information is useful to yourself or anyone else struggling with this.

Kind regards
G


Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946


From: [EMAIL PROTECTED] [mailto:dspace-tech- [EMAIL PROTECTED] On Behalf Of Brett, Hamish
Sent: Monday, 26 May 2008 12:11 PM
To: Gary Browne; [email protected]
Subject: Re: [Dspace-tech] Customised jsp pages not loading (1.5)

I am having the exact same problem, I thought having a break over the weekend might fix it but it didnt

hamish

From: [EMAIL PROTECTED] [mailto:dspace-tech- [EMAIL PROTECTED] On Behalf Of Gary Browne
Sent: Monday, 26 May 2008 11:36 AM
To: [email protected]
Subject: [Dspace-tech] Customised jsp pages not loading (1.5)

Hi all

After installing 1.5, I put my customised jsp pages in:

[dspace-source]/dspace/modules/jspui/src/main/webapp/

I then ran mvn package from the [dspace-source]/dspace/ directory, followed by ant -Dconfig=[dspace]/config/dspace.cfg update.

The customised jsp pages are not copied over to [dspace]/webapps, why would that be?

Thanks
Gary


Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946

IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.



---------------------------------------------------------------------- ---
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to