-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 2.2.2
-
Fix Version/s: None
-
Component/s: Servers > Tomcat
-
Labels:None
-
Environment:OS X, Yosemite, 10.10.4
Liferay Developer Studio 2.2.1.201502050152-ga2 com.liferay.studio
Liferay Developer Studio Groovy 2.2.1.201502050152-ga2 com.liferay.studio.groovy.feature.group Liferay, Inc.
m2e connector for jaxb2 4.0.0.201408251917 org.bitstrings.eclipse.m2e.connectors.jaxb2.feature.feature.group bitstrings.org
m2e connector for the Maven Dependency Plugin 0.0.4.201409291703 com.ianbrandt.tools.m2e.mdp.feature.feature.group null
m2e-liferay - Maven Integration for Liferay IDE 2.2.2.201501300730-ga3 com.liferay.ide.maven.feature.group Liferay, Inc.OS X, Yosemite, 10.10.4 Liferay Developer Studio 2.2.1.201502050152-ga2 com.liferay.studio Liferay Developer Studio Groovy 2.2.1.201502050152-ga2 com.liferay.studio.groovy.feature.group Liferay, Inc. m2e connector for jaxb2 4.0.0.201408251917 org.bitstrings.eclipse.m2e.connectors.jaxb2.feature.feature.group bitstrings.org m2e connector for the Maven Dependency Plugin 0.0.4.201409291703 com.ianbrandt.tools.m2e.mdp.feature.feature.group null m2e-liferay - Maven Integration for Liferay IDE 2.2.2.201501300730-ga3 com.liferay.ide.maven.feature.group Liferay, Inc.
Create new Maven Theme:
>> File > New Liferay Plugin Project
>> Next: select _styled and Velocity
Add custom.css in folder [THEMEPATH]/src/main/webapp/css/
#1 Drag project to running Liferay server in 'Servers' pane
#2 In Liferay Server context menu (right click) 'Add and Remove' add theme to (running) server
Only the /webapps/[THEME]/css/custom.css is published
Generating the sources manually:
>> Selecting the Project Context >> Run As >> 7 Maven Generate Sources
<executions> <execution> <phase>generate-sources</phase> <goals> <goal>theme-merge</goal> <goal>build-css</goal> <goal>build-thumbnail</goal> </goals> </execution>
generates amongst others;
[INFO] Copying html/themes/_unstyled/css to [THEMEPATH]/target/TestJeTest-1.0.0-SNAPSHOT/css
Redeploy Theme still not sufficient resources in /webapps/[THEME]/...;
>> Selecting Project Context > Liferay >> Maven >> Liferay deploy
or
>> Selecting Project Context > Liferay >> Maven >> Liferay direct:deploy
Will deploy different theme: THEMENAME-1.0.0-SNAPSHOT to webapps folder.
Expected
We would expect that parent sources are compiled and deployed in server webapps folder.