For last three days I was struggling to get advisor field viewed in JSPUI interface of dspace in Browse and itemview.
I must have tried making changes and viewing the result but there was no luck. I then searched and found without rebuilding dspace if I can copy Messages.properties in /home/dspace/apache-tomcat-7.0.41/webapps/jspui/WEB-INF/classes/ and restarted tomcat and I could very well see the Advisor field.
I made following changes
1. in dspace-3.2-src-release/dspace-api/src/main/resources/Messages.properties
I then simply copied Messages.properties into /home/dspace/apache-tomcat-7.0.41//webapps/jspui/WEB-INF/classes and restarted tomcat and it worked as per the following
I must have tried making changes and viewing the result but there was no luck. I then searched and found without rebuilding dspace if I can copy Messages.properties in /home/dspace/apache-tomcat-7.0.41/webapps/jspui/WEB-INF/classes/ and restarted tomcat and I could very well see the Advisor field.
I made following changes
1. in dspace-3.2-src-release/dspace-api/src/main/resources/Messages.properties
following lines added
browse.type.metadata.advisor = Advisor
browse.menu.advisor = Advisor
metadata.dc.contributor.* = Authors
metadata.dc.contributor.author = Authors
metadata.dc.contributor. advisor = Advisors
browse.type.metadata.advisor = Advisor
itemlist.dc.contributor.* = Author(s)
itemlist.dc.contributor.author = Author(s)
itemlist.dc.contributor. advisor = Advisor(s)
2. dspace was built by making changes in dspace.cfg file present in
dspace-src/dspace/config/ dspace.cfg
webui.browse.index.3 = advisor:metadata:dc. contributor.advisor:text
webui.itemdisplay.default = dc.title, dc.title.alternative, dc.contributor.author, dc.contributor.advisor, \
webui.itemlist.columns = dc.date.issued(date), dc.title,
dc.contributor.author, dc.contributor.advisor
then dspace was rebuilt with following commands but it never worked.
browse.type.metadata.advisor = Advisor
browse.menu.advisor = Advisor
metadata.dc.contributor.* = Authors
metadata.dc.contributor.author = Authors
metadata.dc.contributor.
browse.type.metadata.advisor = Advisor
itemlist.dc.contributor.* = Author(s)
itemlist.dc.contributor.author = Author(s)
itemlist.dc.contributor.
2. dspace was built by making changes in dspace.cfg file present in
dspace-src/dspace/config/
webui.browse.index.3 = advisor:metadata:dc.
webui.itemdisplay.default = dc.title, dc.title.alternative, dc.contributor.author, dc.contributor.advisor, \
webui.itemlist.columns = dc.date.issued(date), dc.title,
dc.contributor.author, dc.contributor.advisor
then dspace was rebuilt with following commands but it never worked.
/home/dspace/dspace-3.2-src-release/dspace/target/dspace-3.2-build#mvn clean package
/home/dspace/dspace-3.2-src-release/dspace/target/dspace-3.2-build#ant update
then copied new files from /home/dspace/webapps to apache-tomcat/webapps but no luck.
I then simply copied Messages.properties into /home/dspace/apache-tomcat-7.0.41//webapps/jspui/WEB-INF/classes and restarted tomcat and it worked as per the following