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.
- save changes
- run ant compile target
- 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.
- jsp changes. can view changes in jsp automatically.
- 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
Post a Comment