Forums

RSS RSS
portal-ext.properties - example file Flat View
Threads
portal-ext.properties - example file
2029
10/25/07 6:07 AM
Hi all,

where can I find an example portal-ext.properties file with all the entries which can be made?

thanks

Achim
Flag Flag
RE: portal-ext.properties - example file
10/25/07 6:49 AM as a reply to Achim Strick.
You can find portal.properties in portal-impl.jar
Flag Flag
RE: portal-ext.properties - example filethen
6/23/08 11:33 PM as a reply to Björn Ryding.
then how to change it in the jar file? I cant find a way to modify the propery using many ways.
Flag Flag
RE: portal-ext.properties - example filethen
6/23/08 11:59 PM as a reply to hunter Hu.
Create a classes folder under your ROOT.war/WEB-INF. Place your portal-ext.properties file there and check the portal.properties file in portal-impl.jar as a reference for properties you would like to override in portal-ext.properties.

For more information, check this post: http://www.liferay.com/web/guest/community/forums/-/message_boards/message/552844
Flag Flag
RE: portal-ext.properties - example filethen
6/24/08 8:30 PM as a reply to Lari Tuominen.
Hi,

Thanks for your reply.

I just using jar-xvf , and modify the property, then jar-cvf again.

if create a class folder , and place the portal-ext into it , then it will have error when startup.
Flag Flag
RE: portal-ext.properties - example filethen
6/25/08 12:18 AM as a reply to hunter Hu.
You can also override the values straight from portal.properties......

Were you able to override those values that you needed? If not, could you provide a bit more information on what have you done

PS. You don't need to extract jar file in order to be able to override values from portal.properties
Flag Flag
RE: portal-ext.properties - example filethen
6/25/08 5:22 PM as a reply to Lari Tuominen.
I not tried to use portal-ext.property, just change the value in the portal.property in the portal-impl.jar.

if placed it into class folder as the guide , liferay startup will fail, not clear why it not work.
Flag Flag
RE: portal-ext.properties - example filethen
6/26/08 12:41 AM as a reply to hunter Hu.
So you have tried placing folder classes under WEB-INF and file portal-ext.properties under that and it fails, interesting......

Could you provide a bit more information related to error message, etc. from console?

BR - Lari
Flag Flag