Support feedback:
I'd love to have Intellij respect the deployment order of Java EE modules into the JBoss container when the URLComparator specifies
a specific deployment order.
Currently the deployment of multiple modules from a project is random and, if you have the case where some modules depend on others
and you don't want to package all of the modules into a single ear, then these modules will, usually, not deploy correctly.
I've had a short discussion with the implementor of the JBoss plug-in and he points out that respecting this deployment order is not
under his control - his plug-in is responding to a deployment request for each module separately.
Additional remarks from the mentioned implementor of the JBoss plug-in:
As already mentioned the deployment order is NOT under control of the plug-in. The order is defined in CommonStrategy.getDeploymentSettings() (by calling values() on a Map, therefore the random order). Then IDEA calls DeploymentProvider.doDeploy() (implemented by the plug-in) once for every single module. So the plug-in doesn't have any possibility to change the deployment order.