wildfly/wildfly — pull request #4737 by ecki (2013-07-04 21:36:31+00:00)
Title: delete left-over test artifact jdr_...zip on windows and improve tests

On Windows the JDR module will create a test ZIP file in the base directory, not close it but delete it.

The delete will fail on windows, this patch will fix this. This mainly keeps the git tree clean after a build.

This patch will also make sure the file is not created in a source control managed directory anyway by using `setOutputDirectory("target")`. This way the test can assert the relative output path name as well.