Files
hawkbit/hawkbit-ui
Avgustin Marinov 94d39a12c6 [#1510] Add Vaadin 8 UI discontinuation warning (#1517)
Could be disabled by setting spring property _hawkbit.server.ui.notification.text_ to empty value.
For instance by setting environment propery:
```shell
export HAWKBIT_SERVER_UI_NOTIFICATION_TEXT=
```

Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
2023-12-13 20:53:42 +02:00
..
2016-05-18 13:48:04 +02:00
2023-06-28 16:23:39 +03:00

hawkBit User Interface

The hawkBit user interface is based on the Vaadin and Vaadin-Spring framework and allows to manage software updates and large scale roll-outs via a user interface.

Debugging client-side code

Debug using SuperDevMode

The SuperDevMode can be used to debug client side code without any browser plugin.

Using SuperDevMode with chrome :

  • Add required maven dependencies
    • Add vaadin-client-compiler dependency
  • Set redirect property in the AppWidgetSet.gwt.xml module descriptor as follows
    • < set-configuration-property name="devModeRedirectEnabled" value="true" />
  • Create launch configuration for the SuperDevMode
    • The main class to execute should be com.google.gwt.dev.codeserver.CodeServer.
    • Add fully-qualified class name of widgetset (org.eclipse.hawkbit.ui.AppWidgetSet) as parameter
  • Enable debug in chrome
    • Chrome inspector window ▸ Click on settings icon ▸ Scripts ▸ Enable source maps option
  • Run the SuperDevMode Code Server with the launch configuration created above
  • Open http://localhost:8080/UI/?debug .Click on "SuperDev" button in debug console (Alternatively can directly add ?superdevmode parameter to URL)
  • Widgetset is compiled and you can see the java code files loaded in 'Chrome inspector window ▸ Source tab'

Using SuperDevMode with Eclipse :