留言板

Theme CSS only effective after server re boot

Pawan Thakur,修改在8 年前。

Theme CSS only effective after server re boot

Junior Member 帖子: 37 加入日期: 15-5-11 最近的帖子
Hello,

Attached is my theme Structure.

I am making changes to custom.css but after the same I dun see any changes until I tomcat server stop/start.
This is a real pain and I have read and did the developer mode settings as well

if exist "%CATALINA_HOME%/jre1.6.0_20/win" (
if not "%JAVA_HOME%" == "" (
set JAVA_HOME=
)

set "JRE_HOME=%CATALINA_HOME%/jre1.6.0_20/win"
)

set "CATALINA_OPTS=%CATALINA_OPTS% -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Duser.timezone=GMT -Xmx1024m -XX:MaxPermSize=256m -Dexternal-properties=portal-developer.properties"


But no results.

What am I doing wrong ? Please help.

Thanks,
Pawan
thumbnail
David H Nebinger,修改在8 年前。

RE: Theme CSS only effective after server re boot

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Are you changing the file inline in tomcat's webapps directory, or are you doing a build and deploy of the theme plugin?

The former is not guaranteed to do anything, the latter normally works.
Pawan Thakur,修改在8 年前。

RE: Theme CSS only effective after server re boot (答复)

Junior Member 帖子: 37 加入日期: 15-5-11 最近的帖子
Hello,

I was NOT making changes inline.

I was creating theme plugin with Maven using Classic theme as Parent theme.

I succeeded by adding following in my portal-ext.properties
include-and-override=portal-developer.properties


and it was all working after that.

But I have another related issue/query will posting in a separate thread, just for the sake of simplicity.

Thanks,
Pawan
Arun R S Chandran,修改在8 年前。

RE: Theme CSS only effective after server re boot

Regular Member 帖子: 149 加入日期: 13-3-12 最近的帖子
Hi Pawan,
Good To see you here. Send you a friend request in liferay forum. Feel free to post more questions.

Thanks and Regards,
Arun R S