From 6cb77f0409522238fda48b62824d1b6e9242ded7 Mon Sep 17 00:00:00 2001 From: kelvingoodson Date: Fri, 14 May 2010 16:45:54 +0000 Subject: error message updates for pojo otests git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@944340 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/resources/tuscany-oasis-sca-tests-errors.properties | 4 ++-- .../sca/assembly/builder/assembly-validation-messages.properties | 2 +- .../main/resources/contribution-xml-validation-messages.properties | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sca-java-2.x/trunk') diff --git a/sca-java-2.x/trunk/compliance-tests/java-ci/src/test/resources/tuscany-oasis-sca-tests-errors.properties b/sca-java-2.x/trunk/compliance-tests/java-ci/src/test/resources/tuscany-oasis-sca-tests-errors.properties index 46a78acaf2..34940fc559 100644 --- a/sca-java-2.x/trunk/compliance-tests/java-ci/src/test/resources/tuscany-oasis-sca-tests-errors.properties +++ b/sca-java-2.x/trunk/compliance-tests/java-ci/src/test/resources/tuscany-oasis-sca-tests-errors.properties @@ -26,8 +26,8 @@ POJO_8012=org.oasisopen.sca.ServiceRuntimeException: [Composite: {http://docs.oa POJO_8013=org.apache.tuscany.sca.contribution.processor.ContributionResolveException: org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicatePropertyException: duplicateProperty POJO_8014=org.apache.tuscany.sca.contribution.processor.ContributionResolveException: org.apache.tuscany.sca.implementation.java.introspect.impl.DuplicateReferenceException: duplicateReference POJO_9001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POJO_9001, Artifact: Test_POJO_9001.composite] - XMLSchema validation error occured in: Test_POJO_9001.composite ,line = ***, column = ***, Message = cvc-complex-type.3.2.2: Attribute 'interface' is not allowed to appear in element 'implementation.java'. -POJO_10001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POJO_10001, Artifact: META-INF/sca-contribution.xml] - The value of the @package attribute on the element is not unique across all other elements within the contribution. +POJO_10001=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POJO_10001, Artifact: META-INF/sca-contribution.xml] - [JCI10001] The value of the @package attribute on the element is not unique across all other elements within the contribution. POJO_10004=org.apache.tuscany.sca.contribution.processor.ContributionResolveException: [JCI100007] A Java package org.oasisopen.sca.test;version=1.0.0 that is specified on an export element MUST be contained within the contribution containing the export element. -POJO_10005=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POJO_10005, Artifact: META-INF/sca-contribution.xml] - The value of the @package attribute on the element is not unique across all other elements within the contribution. +POJO_10005=org.oasisopen.sca.ServiceRuntimeException: [Contribution: POJO_10005, Artifact: META-INF/sca-contribution.xml] - [JCI100004] The value of the @package attribute on the element is not unique across all other elements within the contribution. POJO_10006=org.apache.tuscany.sca.contribution.processor.ContributionResolveException: [JCI100007] A Java package org.oasisopen.sca.test.y that is specified on an export element MUST be contained within the contribution containing the export element. diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties b/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties index 671b857d1a..2b52cc2df8 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties +++ b/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties @@ -23,7 +23,7 @@ DuplicateComponentReferenceName = Duplicate component reference name: Component DuplicateComponentPropertyName = Duplicate component property name: Component = {0} Property = {1} NoComponentImplementation = No implementation for component: Component = {0} ServiceNotFoundForComponentService = Component type service not found for component service (missing @Remotable annotation?): Component = {0} Service = {1} -UnresolvedComponentImplementation = [ASM60030] Component implementation not resolved: Component = {0} Uri = {1} +UnresolvedComponentImplementation = [ASM60030,JCI80001] Component implementation not resolved: Component = {0} Uri = {1} DuplicateImplementationPropertyName = [ASM40005,ASM60014] Duplicate implementation property name: Component = {0} Property = {1} DuplicateImplementationServiceName = [ASM40003,ASM60003,JCA90045] Duplicate implementation service name: Component = {0} Service = {1} DuplicateImplementationReferenceName = [ASM40004,ASM50007,ASM60006] Duplicate implementation reference name: Component = {0} Reference = {1} diff --git a/sca-java-2.x/trunk/modules/contribution/src/main/resources/contribution-xml-validation-messages.properties b/sca-java-2.x/trunk/modules/contribution/src/main/resources/contribution-xml-validation-messages.properties index 2c39055e4b..d92df203e6 100644 --- a/sca-java-2.x/trunk/modules/contribution/src/main/resources/contribution-xml-validation-messages.properties +++ b/sca-java-2.x/trunk/modules/contribution/src/main/resources/contribution-xml-validation-messages.properties @@ -21,5 +21,5 @@ XMLStreamException = XMLStreamException occured due to : {0} IOException = IOException occured due to : {0} AttributeCompositeMissing = Attribute 'composite' is missing -DuplicateJavaImports = The value of the @package attribute on the element is not unique across all other elements within the contribution. -DuplicateJavaExports = The value of the @package attribute on the element is not unique across all other elements within the contribution. +DuplicateJavaImports = [JCI10001] The value of the @package attribute on the element is not unique across all other elements within the contribution. +DuplicateJavaExports = [JCI10004] The value of the @package attribute on the element is not unique across all other elements within the contribution. -- cgit v1.2.3