I'd like to create a new module type that is exactly like the normal web module with some aditional deployment descriptors regardless of the selected server.
What i did was:
- Create a class that extends ModuleType and in the createWizardSteps i return "ModuleType.WEB.createWizardSteps(...)
- Create a new module builder class that extends WebModuleBuilder. Here i can control the creation process by overriding the setupRootModel and coding after call to "super.setupRootModel(..)".
- Register a new AppServerIntegration class that returns the new deployment descriptors.
Everything works fine except for the fact that the new deployment descriptor don't show up in the module wizard step for this. It just shows the default descriptors.
Any ideas ?