You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/02/13 21:34:48 UTC
svn commit: r507202 -
/incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/bootstrap/DefaultTuscanyContainer.java
Author: jsdelfino
Date: Tue Feb 13 12:34:47 2007
New Revision: 507202
URL: http://svn.apache.org/viewvc?view=rev&rev=507202
Log:
Fixed file not found exception when no SCDL name is given to the start method
Modified:
incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/bootstrap/DefaultTuscanyContainer.java
Modified: incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/bootstrap/DefaultTuscanyContainer.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/bootstrap/DefaultTuscanyContainer.java?view=diff&rev=507202&r1=507201&r2=507202
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/bootstrap/DefaultTuscanyContainer.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/bootstrap/DefaultTuscanyContainer.java Tue Feb 13 12:34:47 2007
@@ -89,7 +89,9 @@
if (applicationSCDL == null) {
applicationSCDL = cl.getResource(TuscanyContainer.APPLICATION_SCDL);
- throw new RuntimeException("application SCDL not found: " + applicationSCDL);
+ if (applicationSCDL == null) {
+ throw new RuntimeException("application SCDL not found: " + TuscanyContainer.APPLICATION_SCDL);
+ }
}
component = launcher.bootApplication("application", applicationSCDL);
component.start();
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org