| Summary: | Error when generating an acceleo module file as Java wrapper | ||
|---|---|---|---|
| Product: | [Modeling] Acceleo | Reporter: | Daniel <nasgun> |
| Component: | Core | Assignee: | Project Inbox <acceleo-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | stephane.begaudeau |
| Version: | 3.0.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
*** Bug 316393 has been marked as a duplicate of this bug. *** The fix as been contributed on HEAD. It will be available in Acceleo 3.1.0M7 next week. |
When generating the java wrapper for: public Classifier[] hasName(import org.eclipse.uml2.uml.Classifier){} It generates: [query public hasName(arg0 : Classifier) : Classifier; = invoke('org.acceleo.module.pim.uml21.gen.java.services.Service', 'hasName(org.eclipse.uml2.uml.Classifier)', Sequence{arg0}) /] And it should be: [query public hasName(arg0 : Classifier) : Classifier = invoke('org.acceleo.module.pim.uml21.gen.java.services.Service', 'hasName(org.eclipse.uml2.uml.Classifier)', Sequence{arg0}) /] Without the ";" character after "Classifier".