Author: asoldano
Date: 2014-06-26 08:48:29 -0400 (Thu, 26 Jun 2014)
New Revision: 18767
Modified:
stack/cxf/trunk/modules/test-utils/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java
Log:
[JBWS-3711][JBWS-3667] Fixing bug causing failure when test archive dir does not exist
Modified:
stack/cxf/trunk/modules/test-utils/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java
===================================================================
---
stack/cxf/trunk/modules/test-utils/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java 2014-06-26
08:15:44 UTC (rev 18766)
+++
stack/cxf/trunk/modules/test-utils/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java 2014-06-26
12:48:29 UTC (rev 18767)
@@ -427,8 +427,7 @@
throw new IllegalArgumentException("Cannot create archive - system
property '"
+ JBossWSTestHelper.SYSPROP_TEST_ARCHIVE_DIRECTORY + "' not
set.");
if (!archiveDir.mkdirs())
- ;
- throw new IllegalArgumentException("Cannot create archive - can not
create test archive directory '"
+ throw new IllegalArgumentException("Cannot create archive - can not
create test archive directory '"
+ archiveDir.getAbsolutePath() + "' not set.");
}
return archiveDir;
Show replies by date