Foren

Theme CSS only effective after server re boot

Pawan Thakur, geändert vor 8 Jahren.

Theme CSS only effective after server re boot

Junior Member Beiträge: 37 Beitrittsdatum: 11.05.15 Neueste Beiträge
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, geändert vor 8 Jahren.

RE: Theme CSS only effective after server re boot

Liferay Legend Beiträge: 14915 Beitrittsdatum: 02.09.06 Neueste Beiträge
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, geändert vor 8 Jahren.

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

Junior Member Beiträge: 37 Beitrittsdatum: 11.05.15 Neueste Beiträge
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, geändert vor 8 Jahren.

RE: Theme CSS only effective after server re boot

Regular Member Beiträge: 149 Beitrittsdatum: 12.03.13 Neueste Beiträge
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