Author: bbrodt
Date: 2010-11-08 14:33:51 -0500 (Mon, 08 Nov 2010)
New Revision: 26339
Modified:
trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/validator/rules/ImportValidator.java
trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/validator/rules/messages.properties
Log:
OPEN - issue JBIDE-7478: BPEL validator marks missing WSDL imports only as warnings.
https://jira.jboss.org/browse/JBIDE-7478
Modified:
trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/validator/rules/ImportValidator.java
===================================================================
---
trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/validator/rules/ImportValidator.java 2010-11-08
19:23:54 UTC (rev 26338)
+++
trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/validator/rules/ImportValidator.java 2010-11-08
19:33:51 UTC (rev 26339)
@@ -205,7 +205,7 @@
IProblem problem ;
if (isUndefined(fImportedNode) && isNonEmpty(fLocation)) {
- problem = createWarning();
+ problem = createError();
problem.fill("BPELC_IMPORT__UNRESOVED",
toString(mNode.nodeName()),
fImportType,
Modified:
trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/validator/rules/messages.properties
===================================================================
---
trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/validator/rules/messages.properties 2010-11-08
19:23:54 UTC (rev 26338)
+++
trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/validator/rules/messages.properties 2010-11-08
19:33:51 UTC (rev 26339)
@@ -330,7 +330,7 @@
BPELC_IMPORT_LOCATION.summary = The import {1} of {1} is not supported.
-BPELC_IMPORT_LOCATION = The import {1} of {0} is not supported by this implementation, it
only can import artifacts which to be contained within the folder hierarchy with the
deployment descriptor at the root
+BPELC_IMPORT_LOCATION = The import {1} of {0} is not supported by this implementation.
Import artifacts must be contained within the folder hierarchy that has the deployment
descriptor at the root
BPELC_IMPORT_LOCATION.fix = Move the imported artifacts into the supported folder
hierarchy and change the import location.
#
# BPELC_IMPORT__NS1