|
Re: [Acceleo] Using a multiple package source model [message #543105 is a reply to message #543019] |
Mon, 28 June 2010 12:18 |
|
This is a multi-part message in MIME format.
--------------060207050209050202080803
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
Acceleo does accept a comma separated list of package URIs.
Laurent Goubet
Obeo
Ed Willink wrote:
> Hi
>
> I'm trying to apply Acceleo to an input model that uses a multi-package
> input model.
>
> The model complies with QVTRelation which 'extends' QVTBase which
> 'extends' ...
>
> The [module ] declaration therefore specifies QVTRelation and allows the
> QVTRelation types to be used, but there appears to be no way to use
> QVTBase types in an expression: e.g.
>
> [let domain : Domain ...
> or
> [let domain : qvtbase::Domain ...
>
> Is there a workaround? this looks like the same specification bug that
> QVTr had in failing to recognise that a TypedModel is a multi-package.
> The QVTr spec therefore evolved to allow a {list,of,packages} in its
> transformation declaration.
>
> Perhaps the [module declaration should allow a comma-separated list of
> package URIs.
>
> Regards
>
> Ed Willink
--------------060207050209050202080803
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr">Obeo</a>
email;internet:laurent.goubet@obeo.fr
url:http://www.obeo.fr
version:2.1
end:vcard
--------------060207050209050202080803--
|
|
|
|
Re: [Acceleo] Using a multiple package source model [message #543347 is a reply to message #543239] |
Tue, 29 June 2010 07:50 |
|
This is a multi-part message in MIME format.
--------------010404080305000307070501
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Ed,
Section 8.1 (Metamodel) of the MOFM2T 1.0 specification defines the
"input" reference as 1..*. Section 8.2 (Concrete Syntax) sports too many
issues as regards the metamodel and specification itself to be taken at
face value.
As for the Acceleo documentation, I agree that it does need something on
this.
Laurent Goubet
Obeo
Ed Willink wrote:
> Hi Laurent
>
> Great it works beautifully.
>
> Just needs an OMG issue and a tweak to the Acceleo documentation.
>
> Regards
>
> Ed
>
>
>
> On 28/06/2010 13:18, Laurent Goubet wrote:
>> Hi,
>>
>> Acceleo does accept a comma separated list of package URIs.
>>
>> Laurent Goubet
>> Obeo
>>
>> Ed Willink wrote:
>>> Hi
>>>
>>> I'm trying to apply Acceleo to an input model that uses a
>>> multi-package input model.
>>>
>>> The model complies with QVTRelation which 'extends' QVTBase which
>>> 'extends' ...
>>>
>>> The [module ] declaration therefore specifies QVTRelation and allows
>>> the QVTRelation types to be used, but there appears to be no way to
>>> use QVTBase types in an expression: e.g.
>>>
>>> [let domain : Domain ...
>>> or
>>> [let domain : qvtbase::Domain ...
>>>
>>> Is there a workaround? this looks like the same specification bug that
>>> QVTr had in failing to recognise that a TypedModel is a multi-package.
>>> The QVTr spec therefore evolved to allow a {list,of,packages} in its
>>> transformation declaration.
>>>
>>> Perhaps the [module declaration should allow a comma-separated list of
>>> package URIs.
>>>
>>> Regards
>>>
>>> Ed Willink
>>
>
--------------010404080305000307070501
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr">Obeo</a>
email;internet:laurent.goubet@obeo.fr
url:http://www.obeo.fr
version:2.1
end:vcard
--------------010404080305000307070501--
|
|
|
Powered by
FUDForum. Page generated in 0.03106 seconds