Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350526

Summary: Validation fails with references whose name starts with a capital letter
Product: z_Archived Reporter: Vincent Zurczak <vincent.zurczak>
Component: ScaAssignee: Vincent Zurczak <vincent.zurczak>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: vincent.zurczak
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Vincent Zurczak CLA 2011-06-28 04:46:52 EDT
Create a simple composite with a component, a service and a reference.
Make sure the reference's name starts with a capital letter. The SCA builder will signal that it cannot find the reference in the implementation.
Comment 1 Vincent Zurczak CLA 2011-08-17 13:24:05 EDT
The error is not really in the validation.
The problem comes from the generation. Reference names should be marked in the generated implementation. Otherwise, there are deduced from the method name, which leads to error with references whose name starts with a upper case letter.

The real thing is to set the reference names in the generated code skeleton of the implementations.
Comment 2 Vincent Zurczak CLA 2011-08-17 13:32:50 EDT
Commit # 3666
In fact, the generation of Java skeletons from the composite had to be fixed. And it was. The validation was not wrong, the generation that led to validation was.