I am trying to update the copyright information in the footer, and I'm trying to stick with the provided variables instead of hardcoding in the text.
I have updated nested-tables.properties with the correct text, but when I restart the system, the old text is still showing up.
I ran across this same problem when I updated the Channel.properties and the changes didn't reflect in the portal. Someone else stated that they had this same problem and had to edit the html.
Does anyone have any ideas as to why the changes aren't being reflected?
Comments
Problems updating .properties files - solution
After a lot of testing, the only way I could make a change in the .properties file reflect in the portal was to create a copy of the file, save it with a different name, then point the xsl:include to the new file. Then I can change the new file any time, and the changes reflect as soon as I start and restart the webserver.
from:
xsl:include href="/org/jasig/portal/layout/tab-column/nested-tables/nested-tables.properties"/
to:
xsl:include href="/org/jasig/portal/layout/tab-column/nested-tables/nested-tables2.properties"/
Even changing variable names in the old file didn't do anything, it either gave errors in the portal, or it just didn't display the text.
As a test, I copied the new file to the old file, and pointed the include back to the original file name. Even with both files identical except for the file name, the xml was still pulling up old text that wasn't even in the .properties file anymore. So I'm not sure if that file is being cached in the server, but its getting it from somewhere.
The only problem I see renaming the .properties files is that I don't know all the xml files using the .properties file. So while not the perfect solution, it will work for now.
Problems updating .properties files - solution2
I found the real reason that it wasn't updating. Even though there is a .properties file in the nested-tables directory, there is a corresponding .properties file in the luminis-resources-4.0.1.jar file. Once I changed the jar file, and pointed the xml back to the original one it was pointing to, the changes were reflected in the portal. So even though the xml was pointing to the properties file, it was still getting some of the info from the jar. This just makes it very confusing when trying to update the portal with our information.
Problem with editing .jar file
I have edited the luminis-resources-4.0.1.jar file, and have restarted the server, and I am still not seeing the changes I made. What I'm trying to do is simply change the copyright text in the footer. I've changed the both nested-tables.properties (the one in the folder and the one within the .jar file). What I think is I'm missing something when updating the .jar file. Could you explain how you did this? Thanks