1 Reply Latest reply on Dec 12, 2014 6:50 PM by Ondřej Fibich

    Add Resource on wildfly with arquillian

    Fabio De Carli Newbie

      Hello, i need add a resource on the standalone.xml, before the application is deployed.

       

      Example:

            <subsystem xmlns="urn:jboss:domain:naming:2.0">

                  <bindings>

                      <simple name="java:global/name" value="teste" type="java.lang.String"/>

                  </bindings>

                  <remote-naming/>

              </subsystem>


      I found code below, but do not know how like to proceed


           @Deployment( order = 1 )

           public static Descriptor createDep1() {

           return Descriptors.create( ??? );

           }

       

      Please help me!