Author: alessio.soldano(a)jboss.com
Date: 2012-06-17 07:17:51 -0400 (Sun, 17 Jun 2012)
New Revision: 424
Modified:
core/trunk/core-cxf/src/test/java/org/jboss/wise/core/consumer/impl/WSConsumerTest.java
core/trunk/pom.xml
Log:
[WISE-174][JBWS-3519] Avoid polluting the source subtree with generated test sources
Modified:
core/trunk/core-cxf/src/test/java/org/jboss/wise/core/consumer/impl/WSConsumerTest.java
===================================================================
---
core/trunk/core-cxf/src/test/java/org/jboss/wise/core/consumer/impl/WSConsumerTest.java 2012-06-15
18:35:03 UTC (rev 423)
+++
core/trunk/core-cxf/src/test/java/org/jboss/wise/core/consumer/impl/WSConsumerTest.java 2012-06-17
11:17:51 UTC (rev 424)
@@ -86,6 +86,8 @@
}
private WSConsumer newConsumer() {
- return (WSConsumer)
SpiLoader.loadService("org.jboss.wise.consumer.WSConsumer",
"org.jboss.wise.core.consumer.impl.jbossws.DefaultWSImportImpl");
+ WSConsumer consumer = (WSConsumer)
SpiLoader.loadService("org.jboss.wise.consumer.WSConsumer",
"org.jboss.wise.core.consumer.impl.jbossws.DefaultWSImportImpl");
+ consumer.setKeepSource(true); //workaround for [JBWS-3519] to avoid generating in the
Wise source tree instead of target/test-classes
+ return consumer;
}
}
Modified: core/trunk/pom.xml
===================================================================
--- core/trunk/pom.xml 2012-06-15 18:35:03 UTC (rev 423)
+++ core/trunk/pom.xml 2012-06-17 11:17:51 UTC (rev 424)
@@ -48,7 +48,7 @@
<compile.flags>-Xlint:unchecked,deprecation,fallthrough,finally</compile.flags>
<checkstyle.extension />
<cxf.version>2.4.6</cxf.version> <!-- This should stay in synch
with the one used within the jbossws-cxf being pulled in wise-core-cxf -->
- <compiler.fork>false</compiler.fork>
+ <compiler.fork>false</compiler.fork>
</properties>
<!-- DistributionManagement -->
Show replies by date