This repository is the maintenance codebase of the HAL managament console for WildFly 12 and below. For the most recent version, please use https://github.com/hal/console
- JDK 8
- WildFly 8+
In order to work on the console you a need running WildFly instance on your local host. You can download it here:
http://www.wildfly.org/downloads/
You can run WildFly in either the 'domain' or 'standalone' mode.
- Make sure WildFly is started
- Make sure you build the top level module first (mvn -Pdev clean install).
- cd 'build/app'
Start the GWT shell with
mvn gwt:<run|debug>
When the hosted browser is started, it's enough to hit the 'refresh' button to recompile and verify changes. You can get the OOPHM Plugin, required for attaching your browser to the hosted mode execution here: http://www.gwtproject.org/missing-plugin/
NOTE: you need to add user with WildFly add-user script. NOTE2: firefox on linux should use version 24 or minor, because gwt plugin doesn't work with recent firefox versions.
cd build/app
mvn package
Produces a war file in target/*-resources.jar, which needs to be deployed as a WildFly Module.
To run a customised EAP build (L&F) follow these steps:
-
Create a dedicated version number (i.e. 1.0.0.EAP.CR2)
-
Rebuild with the EAP profile enabled:
mvn -Peap clean install
Due to the increased number of permutations (additional languages) the full compile times have increased quiet drastically. To work around this problem during development, we've added a development build profile that restricts the languages to english and the browser permutations to firefox:
-
Build
mvn -Pdev clean install
-
Run hosted mode
cd 'build/app' mvn -Pdev gwt:run
In some cases you may want to bind both the AS and the hosted mode to a specific address. A typical scenario is running a different OS (i.e Windows) in a virtual machine. To make such a setup work you need to bind the hosted mode environment and the application server to a specific inet address that can be access from the virtual machine:
-
start the AS on a specific address:
./bin/standalone.sh -Djboss.bind.address=192.168.2.126 -Djboss.bind.address.management=192.168.2.126
-
launch hosted mode on a specific address:
mvn clean -Dgwt.bindAddress=192.168.2.126 gwt:run
Please post any questions to the wildfly mailing list: wildfly-dev@lists.jboss.org
Or ping us on IRC
freenode.net#wildfly-management
Have fun.