Play Framework 2.1 Java / Eclipse: automatic restart does not work

Problem / s:

  • Views are compiled, but when updating, the browser does not display changes without manually restarting the server.
  • Changes to controllers are automatically compiled using ~run, but only manually rebooting the server will update the contents on the server.
  • Changes routesunder are confdisplayed only after a server restart manually.

Background:

  • works on OSX 10.8.3
  • using Eclipse Juno 4.2.2
  • The server starts using play ~run
  • Only server reboot will display changes in views, controllers, routes

To be able to make changes without restarting the server every time I tried (without success):

  • : cleaneclipse~run
  • : cleancompile~run
  • /
  • Refresh using native hooks or pollingclasses_managed Referenced Libraries

:

  • ?
  • IDE Eclipse?

:

JNotify, . ( ) , " Play framework sbt, PlayReloader , JNotify ". ?

+5
3

Play Eclipse:

  • Eclipse GeneralWorkspace. Build automatically.
  • OS X.

- OS X, akim.

+2

, Eclipse. " ", , Eclipse "bin". Eclipse Play. , , , - play eclipse .

+1

Following akim prompt, disabling Build automaticallyunder General\Workspacein the Eclipse settings resolves the issue and turns Play on again! automatic reboot in all of the above problematic cases.

0
source

All Articles