Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316394 - Error when generating an acceleo module file as Java wrapper
Summary: Error when generating an acceleo module file as Java wrapper
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 316393 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-09 17:58 EDT by Daniel CLA
Modified: 2011-04-29 09:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel CLA 2010-06-09 17:58:48 EDT
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".
Comment 1 Daniel CLA 2010-06-10 03:24:10 EDT
*** Bug 316393 has been marked as a duplicate of this bug. ***
Comment 2 Stephane Begaudeau CLA 2011-04-29 09:32:56 EDT
The fix as been contributed on HEAD. It will be available in Acceleo 3.1.0M7 next week.