Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-2065

Maven Theme Deploying on Server fails to publish parent inherited (merged) theme sources

    Details

    • 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:

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 35 weeks ago

                Packages

                Version Package