summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpschonbac2008-03-13 10:39:27 (EDT)
committerpschonbac2008-03-13 10:39:27 (EDT)
commitb7b39650d72ab8b678ffed542dbaddbf6f99ad2d (patch)
treee0a75903735a0c35688f609b9a9a6a094affdfbe
parent91f48116208fc393ff67eeaedb6eee8a409f05f0 (diff)
downloadorg.eclipse.xpand-b7b39650d72ab8b678ffed542dbaddbf6f99ad2d.zip
org.eclipse.xpand-b7b39650d72ab8b678ffed542dbaddbf6f99ad2d.tar.gz
org.eclipse.xpand-b7b39650d72ab8b678ffed542dbaddbf6f99ad2d.tar.bz2
Minor fix of change made in 1.3
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/xtend/XtendComponent.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/xtend/XtendComponent.java b/plugins/org.eclipse.xtend/src/org/eclipse/xtend/XtendComponent.java
index aeba251..7067520 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/xtend/XtendComponent.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/xtend/XtendComponent.java
@@ -66,21 +66,19 @@ public class XtendComponent extends AbstractExpressionsUsingWorkflowComponent {
if (invokeExpression == null || invokeExpression.trim().length() == 0) {
issues.addError(compPrefix + "Property 'invoke' not specified.");
return;
- }
- if (extensionFile == null) {
+ } else if (extensionFile == null) {
issues
.addError(compPrefix
+ "Error parsing property 'invoke': Could not extract name of the extension file.");
return;
}
- if (expression == null) {
+ if (getExtFileIS() == null && expression == null) {
issues
.addError(compPrefix
+ "Property 'invoke' not specified properly. AbstractExtension file '"
+ extensionFile + "' not found.");
return;
- }
- if (expression == null) {
+ } else if (expression == null) {
issues
.addError(compPrefix
+ "Error parsing property 'invoke': Could not extract the expression to invoke in extension file '"