-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
In TestModule.isImmutableModulePath method, it takes a String parameter:
private static boolean isImmutableModulePath(String path) { return path.contains(ILLEGAL_BUILD_DIR) || path.contains(ILLEGAL_DIST_DIR); }
, which actually comes from settings in the pom.xml, like:
<configuration> <systemPropertyVariables> <!-- Override the standard module path that points at the shared module set from the dist --> <module.path>${project.build.directory}/wildfly/modules</module.path> </systemPropertyVariables> </configuration>
which has '/' as the file separatorChar, this has problem in Windows platform that it failed to check which module.path to use in the test suites, it is supposed to use the one 'target/modules', but that may lead to use the '<wildfly-root-src>/build/target/wildfly-xxx/modules' instead, which may affect other tests if the test module fails to get deleted.