Changes in my java code in eclipse not show in application , even after liferay restart -


i have problem in eclipse 4.7 (oxygen) , liferay ide 3.1 when alter source code, changes have no effect .

earlier working if restart liferay (was using liferay 2.6 , eclipse mars , java7) eclipse each time have dev ant-rebuild , after starting server changes reflect.

have tried solution provided in other links (project -> build automatically)

add project in server nothing seems work.

based off answer previous comments have determined expecting see no supposed happen. if server running , make change java files (any file ending in .java) not see changes in browser (on gui) until save, compile, , deploy changes.

so without additional tools need following ever .java change.

  1. save changes
  2. run ant compile target
  3. run ant direct deploy target

you should see deployment happen in console , can refresh page , view changes. important note depending on change may need restart application container , clear temporary files.

there few exceptions this.

  1. jsp changes. can view changes in jsp automatically.
  2. jrebel. 6.2 development cannot stress product enough. copy of jrebel. jrebel can save java changes , see them immediately. 3rd party tool though traditionally costed 500usd. free though

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -