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

Liferay IDE 1.6.1 does not compile and deploy automatically custom.css

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 2.0.0 M1
    • Component/s: Projects
    • Labels:
      None
    • Environment:
      Red Hat Linux
      Java 1.6
      Eclipse Indigo 3.7.2 + Liferay IDE 1.6.1
      Liferay 6.1.1 + Tomcat 7 bundle
      Liferay Plugin SDK 6.1.1
      Firefox 16

      Description

      Hi,

      I created a new theme in Eclipse Indigo 3.7.2 + Liferay IDE 1.6.1 using Liferay Plugin SDK 6.1.1.
      I initialized the _diffs/ folder by copying Zoe Resort diffs/ folder (from http://svn.liferay.com/repos/public/plugins/branches/6.1.x/themes/zoe-resort-theme)
      I started Liferay 6.1/Tomcat server
      I compiled and deployed the theme via "Liferay >> sdk >> deploy" menu item
      I chose the theme in Liferay Control Panels
      => the theme worked perfectly in Firefox

      Then I added the theme to Liferay 6.1/Tomcat server
      I modified docroot/_diffs/css/custom.css and saved it.
      Eclipse compiled automatically the theme and synchronized Tomcat
      => unfortunately, refreshing the page in Firefox failed with a message indicating that Firefox cannot load custom.css

      After checking the differences between "Liferay >> sdk >> deploy" menu item and automatic build and synchronization, I found out that automatic build did not update docroot/css/.sass-cache/custom.css and removed docroot/css/custom.css! After automatic synchronization, custom.css is also deleted in Tomcat, hence the error in Firefox.

      Any help would be appreciated.

      Best regards,
      Laurent

      Note: this bug report is related to message thread http://www.liferay.com/web/guest/community/forums/-/message_boards/view_message/18877567

        Attachments

          Activity

            People

            Assignee:
            gregory.amerson Gregory Amerson
            Reporter:
            laurent.saboret Laurent Saboret (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 6 weeks, 3 days ago

                Packages

                Version Package
                2.0.0 M1