1 Reply Latest reply on Jun 12, 2012 4:44 AM by Gan Dong

    How to configure modules programmatically

    Gan Dong Newbie



      I'm finding a way to configure a global module dependcy programmatically through ant. Does anyone know how to do this? Command line would be ok too.


      For example, in order to add "org.javassist" module as global module, I need to modify standalone.sh and add below lines to declare it explicitly :

      <subsystem xmlns="urn:jboss:domain:ee:1.0" >           


          <module name="org.javassist" slot="main" />           




      I'd like it to be configurable in ant task, so that all copying of jars, creating of module.xml and module configuration can be achieved programmatically.



      Thanks for your help,