Uploaded image for project: 'WildFly Arquillian'
  1. WildFly Arquillian
  2. WFARQ-44

Unable to specify other than default jboss.server.base.dir when cleanServerBaseDir is used

    XMLWordPrintable

Details

    Description

      if I set cleanServerBaseDir property in arquillian.xml I'm not able to specify jboss.server.base.dir

      The problem is that [

      commandBuilder.getConfigurationDirectory();

      |https://github.com/wildfly/wildfly-arquillian/blob/2.1.0.Final/container-managed/src/main/java/org/jboss/as/arquillian/container/managed/ManagedDeployableContainer.java#L380] returns always default baseDir so it always creates a cleaned server base dir from standalone even if -Djboss.server.base.dir is specified to another location, e.g. standalone-custom

      The base dir should be set before calling commandBuilder.getConfigurationDirectory(); in case the jbossArguments contains -Djboss.server.base.dir

      Attachments

        Activity

          People

            vramik@redhat.com Vlasta Ramik
            vramik@redhat.com Vlasta Ramik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: