-
Bug
-
Resolution: Done
-
Major
-
2.1.0.Final
-
None
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