Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo 3] Illegal Signature issue in Service Wrapper Query
[Acceleo 3] Illegal Signature issue in Service Wrapper Query [message #653658] Thu, 10 February 2011 15:18 Go to next message
dieppi is currently offline dieppiFriend
Messages: 27
Registered: November 2010
Junior Member
Hi,

i've created the following method

public boolean hasTriggers(Set<Transition> transition)

I generated a service wrapper for my java class file but after generation a syntax error is in generated invoke method query

[query public hasTriggers(arg0 : Set(OclAny)) : Boolean
= invoke('services.StringServices', 'hasTriggers(java.util.Set)', Sequence{arg0}) /]

The error code is

Description Resource Path Location Type
illegal operation signature: (invoke(String, String, Sequence(Set(OclAny)))) stringservices2.mtl /de.test.acceleo/src/services line 52 Acceleo Problem

What is wrong here?

Best regards
Maik

[Updated on: Thu, 10 February 2011 17:59]

Report message to a moderator

Re: [Acceleo 3] Illegal Signature issue in Service Wrapper Query [message #653851 is a reply to message #653658] Fri, 11 February 2011 14:17 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080300080103050801030408
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Maik,

Which version of Acceleo are you using? I know that this has been fixed
in 3.0.2 and 3.1.0 ... not sure about 3.0.1.

Laurent Goubet
Obeo

On 10/02/2011 16:18, Maik wrote:
> Hi,
>
> i've created the following method
>
> public boolean hasTriggers(Set<Transition> transition)
>
> So now i want generate a service wrapper for my java class file. But
> after generation a syntax error is in generated invoke method query
>
> [query public hasTriggers(arg0 : Set(OclAny)) : Boolean
> = invoke('services.StringServices', 'hasTriggers(java.util.Set)',
> Sequence{arg0}) /]
>
> The error code is
>
> Description Resource Path Location Type
> illegal operation signature: (invoke(String, String,
> Sequence(Set(OclAny)))) stringservices2.mtl
> /de.test.acceleo/src/services line 52 Acceleo Problem
>
> What is wrong there?
>
> Best regards
> Maik


--------------080300080103050801030408
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"

YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------080300080103050801030408--
Re: [Acceleo 3] Illegal Signature issue in Service Wrapper Query [message #653977 is a reply to message #653851] Sat, 12 February 2011 09:45 Go to previous messageGo to next message
dieppi is currently offline dieppiFriend
Messages: 27
Registered: November 2010
Junior Member
Hi Laurent,

i use 3.0.1 version from update site. When will version 3.1.x availiable from update site? in download area stable build 3.1.x M5 is availiable.

Best regards
Maik
Re: [Acceleo 3] Illegal Signature issue in Service Wrapper Query [message #654569 is a reply to message #653977] Wed, 16 February 2011 10:44 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------040908010209000905060500
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Maik,

The version 3.0.2 will be available starting today (later this afternoon
(CET)) from the update site
http://download.eclipse.org/modeling/m2t/acceleo/updates/rel eases/3.0

The version 3.1.0M5 is the latest milestone, 3.1.0M6 will be available
on march, 18. 3.1.0 finale will be available in June.

Laurent Goubet
Obeo

On 12/02/2011 10:45, Maik wrote:
> Hi Laurent,
>
> i use 3.0.1 version from update site. When will version 3.1.x availiable
> from update site? in download area stable build 3.1.x M5 is availiable.
> Best regards
> Maik


--------------040908010209000905060500
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"

YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------040908010209000905060500--
Previous Topic:[Xpand] Was RSA/RSM adapter ever updated for RSA8?
Next Topic:DDL templates
Goto Forum:
  


Current Time: Wed Apr 24 19:52:54 GMT 2024

Powered by FUDForum. Page generated in 0.03011 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top