Reputation: 1686
Platform
Problem
We run into an issue intermittently with the Liferay IDE where a portlet java class changes are do show up the Tomcat server.
The setup is as follows:
Has anyone see this behavior?
Upvotes: 0
Views: 634
Reputation: 3824
I am working with a similar platform
To "synchronize" the changes in your IDE with your local server is about the way in which you deploy your portlet.
Although these initially steps are not explicitly necessary - I strongly recommend them for consistencyThe first steps to clean your local environment
Next open your local server settings by double clicking on your local server instance. In the top right corner you should see a publishing fold. Click to expand and select the following options
Under the Liferay Settings fold (bottom left) you should have the following setting selected
Enabling Developer Mode turns off certain caching options that default to true when operating in standard mode. Despite the official documentation it does not eliminate the need "to redeploy to see your portal modifications".
This creates a directory in webapps with your portlet similar to ANT direct deploy - this is the only way automatic publishing will work.
Upvotes: 1
Reputation: 1686
The problem above happened to a few of my team members local Liferay environments.
I have been able to work around this by following the steps below:
The publish sync process seems to start to work after these steps.
I am not sure if there is a better solution.
Hope this helps someone.
Upvotes: 0