summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-07-27 15:03:22 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-07-27 15:03:22 +0000
commitf18abd2aa0e272086f0e74f564285e449af79f16 (patch)
treedf42bf91bbe530f167362eb82fd69c211e348c06
parent1feab13cae7199d5f3b6f66ef20ec9533f7f88ef (diff)
Add a second test source directory as we can't use src/main/java as it needs a compile dependency on the classes in the test folder
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@798181 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/sca/otest/current/tests/pom.xml22
-rw-r--r--java/sca/otest/current/tests/src/main/ttest/tuscany/TuscanyRuntimeBridge.java (renamed from java/sca/otest/current/tests/src/main/java/tuscany/TuscanyRuntimeBridge.java)0
2 files changed, 22 insertions, 0 deletions
diff --git a/java/sca/otest/current/tests/pom.xml b/java/sca/otest/current/tests/pom.xml
index c9059512fc..cfa311844f 100644
--- a/java/sca/otest/current/tests/pom.xml
+++ b/java/sca/otest/current/tests/pom.xml
@@ -70,5 +70,27 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.3</version>
+ <executions>
+ <execution>
+ <id>add-test-source</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-test-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>src/main/ttest</source>
+ <source>src/main/tests</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/java/sca/otest/current/tests/src/main/java/tuscany/TuscanyRuntimeBridge.java b/java/sca/otest/current/tests/src/main/ttest/tuscany/TuscanyRuntimeBridge.java
index 1b5b76e4b6..1b5b76e4b6 100644
--- a/java/sca/otest/current/tests/src/main/java/tuscany/TuscanyRuntimeBridge.java
+++ b/java/sca/otest/current/tests/src/main/ttest/tuscany/TuscanyRuntimeBridge.java