Wednesday, March 17, 2010

GWT Eclipse and testing with Parallels

I use Parallels to run IE6, 7 and 8 for testing my GWT site. I use Bonjour to easily find my local server running on the mac without fiddling with ip addresses that change often. From a windows VM I use something like http://my-computer-name.local:8888/?gwt.codesvr=my-computer-name:9997"

Suddenly after upgrading GWT to 2.0.2 this stopped working - at least the GWT part did but the page still loaded.

The trick is to add an argument to the launch config: -bindAddress 0.0.0.0

Seems that 2.0.2 added a new feature to only bind to localhost by default.

Author name JavaDoc on Eclipse Mac

To change the author name from you login name like "john" to your full name and email like "John Patterson " open the Application bundle by right clicking on the Eclipse app and selecting "Show package contents". Then edit the MacOS/eclipse.ini file to include the line:

-Duser.name=My Name

Restart Eclipse and voila!