tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r513852 - /incubator/tuscany/java/sca/runtime/itest/plugin/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyITestMojo.java
Date Fri, 02 Mar 2007 17:19:12 GMT
Author: jboynes
Date: Fri Mar  2 09:19:12 2007
New Revision: 513852

URL: http://svn.apache.org/viewvc?view=rev&rev=513852
Log:
log a message if there are no itests to run

Modified:
    incubator/tuscany/java/sca/runtime/itest/plugin/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyITestMojo.java

Modified: incubator/tuscany/java/sca/runtime/itest/plugin/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyITestMojo.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/runtime/itest/plugin/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyITestMojo.java?view=diff&rev=513852&r1=513851&r2=513852
==============================================================================
--- incubator/tuscany/java/sca/runtime/itest/plugin/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyITestMojo.java
(original)
+++ incubator/tuscany/java/sca/runtime/itest/plugin/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyITestMojo.java
Fri Mar  2 09:19:12 2007
@@ -196,6 +196,11 @@
 
     public void execute() throws MojoExecutionException, MojoFailureException {
         Log log = getLog();
+        if (!testScdl.exists()) {
+            log.info("No itest SCDL found, skipping integration tests");
+            return;
+        }
+
         log.info("Starting Tuscany...");
         ClassLoader cl = createHostClassLoader(getClass().getClassLoader(), extensions);
         MavenEmbeddedRuntime runtime = createRuntime(cl);



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message