The work folder is no longer appearing since DXP 7.2 SP1
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- After updating to SP1 (fix pack dxp-2) on DXP 7.2 the $[Liferay-home]/work folder is no longer there or no longer generates new content
Resolution
- The $[Liferay-home]/work folder was used for two purposes:
- Save the precompiled JSP files from each module.
- Save the images from the Sprite Framework.
- As for the first function since the LPS-98312 the precompiled JSP are stored on the jar files from each module. In case there's the need to override a specific module file (like a CSS, JS or JSP) the use of the work folder can be re-enabled adding the following property on the portal-ext.properties file:
work.dir.override.enabled=true
- And for the second one the Sprite module have been disabled since LPS-97142 however, if desired or the modules require it, this can be re-enabled adding the following property on the portal-ext.properties file:
sprite.enabled=true
Did this article resolve your issue ?