NetBeans IDE setup
0) Install GWT plugin for NetBeans
Open Tools » Plugins menu.
If you are using NetBeans 7.0, 7.1, 7.2, 7.3, 7.4 or 8.0 plugin can be installed on the ‘Available plugins’ tab. For the latest NetBeans 8.1 you will need to manually download the plugin for 8.0 from the plugin page and then install it from the ‘Downloaded’ tab. Click ‘Add Plugins…’ button.
Then navigate to the folder, which contains downloaded plugin file and click ‘Open’.
Click on ‘Install’ button and follow installation instructions to install the plugin.
Ignore the ‘self-signed’ warning by clicking on ‘Continue’ button.
Restart the NetBeans IDE as suggested by the installer.
1) Clone repository.
Open Team » Git » Clone… menu.
Fill ‘Repository URL’ with https://github.com/vitalidze/traccar-web.git and leave username/password fields empty
Select remote branches. At least master
, but I recommend to select dev
too.
Leave all values untouched on last page
Wait until cloning completes. This usually takes 3-5 minutes and depends on internet connection speed.
2) Open cloned project
Open File » Open Project…
Select cloned project
3) Debug application
Open Debug » GWT Dev Mode w/o a JEE server
Wait until project is compiled and debug session is started. When it’s done there should be a message:
Listening for transport dt_socket at address: 8000
Open Debug » Attach Debugger…
Just fill port number (8000) and leave all other values with defaults.
A new window named ‘GWT Development Mode’ should pop up. Hit ‘Launch default browser’ button and to open traccar web UI.