Hi Gary,

I did a full rebuild, using the following commands:

cd [dspace-source]
mvn clean package
cd dspace/target/dspace-1.8.0-build/
ant -Dconfig=D:/dspace/config/dspace.cfg update

After this failed, and I sent the email to the community, I experimented with 
the BrowseListTag.java class.  I added my desired column to the static 
initializer block in that class, effectively changing the classes DEFAULTs to 
include my new column. After rebuilding the new column appears just as it 
should have originally. This would seem to indicate that, for whatever unknown 
reason, the BrowseListTag.java class is always using its DEFAULTs rather than 
what it has read (or attempted to read) from the configuration file. While I 
have achieved the desired outcome by editing the Tag directly, I am still 
investigating this matter as this is not the correct behaviour. 

Does anyone have any tips/guides/HOW-TOs on debugging DSpace? It would be very 
nice to be able to step through the code at runtime and see what is happening.

Thanks for any and all assistance!

Darren Arsenault
Programmer
Algonquin College
1385 Woodroffe Avenue
Ottawa, ON, K2G 1V8
________________________________________
From: Gary Browne [[email protected]]
Sent: October-17-12 6:38 PM
To: [email protected]
Subject: Re: [Dspace-tech] Changing Browse layout in JSPUI

Hi Darren,

Can you show us the commands you used to rebuild?

Did you do an "ant init_configs" to copy the dspace.cfg changes over?

In 1.8.0 I believe the procedure for rebuilding is:

cd [dspace-source]
mvn package
cd dspace/target/dspace-1.8.0-build/
ant init_configs


Regards,
Gary

GARY BROWNE | Development Programmer
Library IT Services | Fisher Library F03
THE UNIVERSITY OF SYDNEY

T +61 2 9351 5946  | M +61 405 647 868
E [email protected]  | W http://sydney.edu.au
Sent from my plain old desktop computer.

CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use is 
strictly prohibited. If you receive this email in error, please delete it and 
any attachments.
Please think of our environment and only print this e-mail if necessary.

-----Original Message-----
From: Darren Arsenault [mailto:[email protected]]
Sent: Thursday, 18 October 2012 5:14 AM
To: [email protected]
Subject: Re: [Dspace-tech] Changing Browse layout in JSPUI

Hi all,

I have a question about changing the browse layout in jspui (DSpace Vers: 
1.8.0):

I have edited dspace.cfg uncommenting the line:
# webui.itemlist.columns = thumbnail, dc.date.issued(date), dc.title, 
dc.contributor.*



and adding a column for the TYPE:

webui.itemlist.columns = thumbnail, dc.date.issued(date), dc.title, 
dc.contributor.*, dc.type.*


But when I restart Tomcat (as per the How-To-Guide) there was no change. I then 
did a full rebuild, copied the new files to Tomcat, and restarted it. Also no 
change. Is there something that I am missing here? I had thought that this 
would be a 5-minute task, and it has suddenly eaten up my afternoon.

Thanks for any help.

Darren Arsenault
Programmer
Algonquin College
1385 Woodroffe Avenue
Ottawa, ON, K2G 1V8

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free 
today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to