summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFradj Zayen2013-09-20 05:09:28 (EDT)
committer Stephan Born2013-10-25 06:38:26 (EDT)
commit8c2ad906fe06252920d5c8093e6b7879fc0b0cce (patch)
treef07a47b9aa6270ee9ed915836a3ee80cfe6a7080
parent9ab0d343eb4f5d765dcc6e72ce23f2d72d553089 (diff)
downloadorg.eclipse.stardust.ide-8c2ad906fe06252920d5c8093e6b7879fc0b0cce.zip
org.eclipse.stardust.ide-8c2ad906fe06252920d5c8093e6b7879fc0b0cce.tar.gz
org.eclipse.stardust.ide-8c2ad906fe06252920d5c8093e6b7879fc0b0cce.tar.bz2
Jira-ID: CRNT-30602
Camel application not connected to an activity wrongly produces model validation error git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ide@67455 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Fradj Zayen <fradj.zayen@sungard.com>
-rw-r--r--modeling/org.eclipse.stardust.modeling.integration.camel/src/main/java/org/eclipse/stardust/modeling/integration/camel/validator/CamelProducerModelValidator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/modeling/org.eclipse.stardust.modeling.integration.camel/src/main/java/org/eclipse/stardust/modeling/integration/camel/validator/CamelProducerModelValidator.java b/modeling/org.eclipse.stardust.modeling.integration.camel/src/main/java/org/eclipse/stardust/modeling/integration/camel/validator/CamelProducerModelValidator.java
index 0b54acf..d52e33f 100644
--- a/modeling/org.eclipse.stardust.modeling.integration.camel/src/main/java/org/eclipse/stardust/modeling/integration/camel/validator/CamelProducerModelValidator.java
+++ b/modeling/org.eclipse.stardust.modeling.integration.camel/src/main/java/org/eclipse/stardust/modeling/integration/camel/validator/CamelProducerModelValidator.java
@@ -35,8 +35,8 @@ public class CamelProducerModelValidator implements IModelElementValidator
INVOCATION_PATTERN_EXT_ATT);
String invocationType = AttributeUtil.getAttributeValue((IExtensibleElement) element, INVOCATION_TYPE_EXT_ATT);
- if(((ApplicationTypeImpl)element).getExecutedActivities().isEmpty())
- result.add(Issue.error(element, "No application activity set for application "+((ApplicationTypeImpl)element).getName()));
+// if(((ApplicationTypeImpl)element).getExecutedActivities().isEmpty())
+// result.add(Issue.error(element, "No application activity set for application "+((ApplicationTypeImpl)element).getName()));
if (invocationPattern == null && invocationType == null)
{