Home » Modeling » Epsilon » Loading multiple model instances, for translation
Loading multiple model instances, for translation [message #7007] |
Mon, 15 December 2008 11:27 |
No real name Messages: 92 Registered: July 2009 |
Member |
|
|
I've so far been using ETL to transform a model A to model B (through
Ant). In general, the transformation needs to be applied to several source
models of A, to progressively build up the target model (which
accommodates this). I guess this is a common scenario, but am not sure of
the right way to do it.. Any ideas? I assumed I'd be able to perform
<epsilon.loadModel name="A" ... to load the first instance of A, then
perform the translation, and then <epsilon.loadModel name="A" ... again,
to load the second instance of A, perform translation, etc. However, this
approach only loads the first instance of A. Any help/pointers would be
very handy.
Ta,
Edd
|
|
|
Re: Loading multiple model instances, for translation [message #7034 is a reply to message #7007] |
Mon, 15 December 2008 12:28 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Edd,
I suspected that a model.dispose between the two model.load would sort
thit out - but this doesn't seem to be the case. Could you please file a
bug against this? I'll start looking for a solution asap.
Cheers,
Dimitris
Edward Turner wrote:
> I've so far been using ETL to transform a model A to model B (through
> Ant). In general, the transformation needs to be applied to several
> source models of A, to progressively build up the target model (which
> accommodates this). I guess this is a common scenario, but am not sure
> of the right way to do it.. Any ideas? I assumed I'd be able to perform
> <epsilon.loadModel name="A" ... to load the first instance of A, then
> perform the translation, and then <epsilon.loadModel name="A" ... again,
> to load the second instance of A, perform translation, etc. However,
> this approach only loads the first instance of A. Any help/pointers
> would be very handy.
> Ta,
>
> Edd
>
|
|
|
Re: Loading multiple model instances, for translation [message #7058 is a reply to message #7034] |
Mon, 15 December 2008 16:02 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Edd,
I've fixed this problem and committed changes to the SVN. Are you using
Epsilon from source (SVN) or through the update site?
Cheers,
Dimitris
Dimitrios Kolovos wrote:
> Hi Edd,
>
> I suspected that a model.dispose between the two model.load would sort
> thit out - but this doesn't seem to be the case. Could you please file a
> bug against this? I'll start looking for a solution asap.
>
> Cheers,
> Dimitris
>
> Edward Turner wrote:
>> I've so far been using ETL to transform a model A to model B (through
>> Ant). In general, the transformation needs to be applied to several
>> source models of A, to progressively build up the target model (which
>> accommodates this). I guess this is a common scenario, but am not sure
>> of the right way to do it.. Any ideas? I assumed I'd be able to
>> perform <epsilon.loadModel name="A" ... to load the first instance of
>> A, then perform the translation, and then <epsilon.loadModel name="A"
>> ... again, to load the second instance of A, perform translation, etc.
>> However, this approach only loads the first instance of A. Any
>> help/pointers would be very handy.
>> Ta,
>>
>> Edd
>>
|
|
|
Re: Loading multiple model instances, for translation [message #7081 is a reply to message #7058] |
Mon, 15 December 2008 16:26 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Further to my previous email, to load a model with the same name, you'll
still need to first dispose the previous one e.g:
<epsilon.loadModel name="A" type="EMF">
....
</epsilon.loadModel>
<epsilon.disposeModel model="A"/>
<epsilon.loadModel name="A" type="EMF">
....
</epsilon.loadModel>
Cheers,
Dimitris
Dimitrios Kolovos wrote:
> Hi Edd,
>
> I've fixed this problem and committed changes to the SVN. Are you using
> Epsilon from source (SVN) or through the update site?
>
> Cheers,
> Dimitris
>
> Dimitrios Kolovos wrote:
>> Hi Edd,
>>
>> I suspected that a model.dispose between the two model.load would sort
>> thit out - but this doesn't seem to be the case. Could you please file
>> a bug against this? I'll start looking for a solution asap.
>>
>> Cheers,
>> Dimitris
>>
>> Edward Turner wrote:
>>> I've so far been using ETL to transform a model A to model B (through
>>> Ant). In general, the transformation needs to be applied to several
>>> source models of A, to progressively build up the target model (which
>>> accommodates this). I guess this is a common scenario, but am not
>>> sure of the right way to do it.. Any ideas? I assumed I'd be able to
>>> perform <epsilon.loadModel name="A" ... to load the first instance of
>>> A, then perform the translation, and then <epsilon.loadModel name="A"
>>> ... again, to load the second instance of A, perform translation,
>>> etc. However, this approach only loads the first instance of A. Any
>>> help/pointers would be very handy.
>>> Ta,
>>>
>>> Edd
>>>
|
|
| |
Re: Loading multiple model instances, for translation [message #7127 is a reply to message #7104] |
Mon, 15 December 2008 18:31 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Edward Turner wrote:
> Wow, that was quite a speedy fix :), haven't had time yet to submit a
> bug report. Would you like me to do this still, for your records?
That'd be great!
> By the way, I've been using Epsilon via the update site. Should I use it
> via the SVN (and if so are there some instructions on how to use it like
> that) -- sorry, in meeting at mo...
No worries. Since waiting for the next version release is probably not
an option, you could either switch to the SVN version (see
http://www.eclipse.org/gmt/epsilon/doc/EpsilonSVN.pdf) or patch your
existing installation. To patch your installation you'd need to replace
\plugins\org.eclipse.epsilon.workflow_xxx\lib\org.eclipse.ep silon.workflow.jar
with the newer version available under
http://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.epsi lon/trunk/plugins/org.eclipse.epsilon.workflow/lib/
..
> Cheers,
> Edd
>
Cheers,
Dimitris
|
|
|
Re: Loading multiple model instances, for translation [message #7150 is a reply to message #7127] |
Wed, 17 December 2008 09:49 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Thanks a lot for filing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=258912.
Cheers,
Dimitris
Dimitrios Kolovos wrote:
> Edward Turner wrote:
>> Wow, that was quite a speedy fix :), haven't had time yet to submit a
>> bug report. Would you like me to do this still, for your records?
>
> That'd be great!
>
>> By the way, I've been using Epsilon via the update site. Should I use
>> it via the SVN (and if so are there some instructions on how to use it
>> like that) -- sorry, in meeting at mo...
>
> No worries. Since waiting for the next version release is probably not
> an option, you could either switch to the SVN version (see
> http://www.eclipse.org/gmt/epsilon/doc/EpsilonSVN.pdf) or patch your
> existing installation. To patch your installation you'd need to replace
> \plugins\org.eclipse.epsilon.workflow_xxx\lib\org.eclipse.ep silon.workflow.jar
> with the newer version available under
> http://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.epsi lon/trunk/plugins/org.eclipse.epsilon.workflow/lib/
> .
>
>> Cheers,
>> Edd
>>
>
> Cheers,
> Dimitris
|
|
|
Re: Loading multiple model instances, for translation [message #563121 is a reply to message #7007] |
Mon, 15 December 2008 12:28 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Edd,
I suspected that a model.dispose between the two model.load would sort
thit out - but this doesn't seem to be the case. Could you please file a
bug against this? I'll start looking for a solution asap.
Cheers,
Dimitris
Edward Turner wrote:
> I've so far been using ETL to transform a model A to model B (through
> Ant). In general, the transformation needs to be applied to several
> source models of A, to progressively build up the target model (which
> accommodates this). I guess this is a common scenario, but am not sure
> of the right way to do it.. Any ideas? I assumed I'd be able to perform
> <epsilon.loadModel name="A" ... to load the first instance of A, then
> perform the translation, and then <epsilon.loadModel name="A" ... again,
> to load the second instance of A, perform translation, etc. However,
> this approach only loads the first instance of A. Any help/pointers
> would be very handy.
> Ta,
>
> Edd
>
|
|
|
Re: Loading multiple model instances, for translation [message #563143 is a reply to message #7034] |
Mon, 15 December 2008 16:02 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Edd,
I've fixed this problem and committed changes to the SVN. Are you using
Epsilon from source (SVN) or through the update site?
Cheers,
Dimitris
Dimitrios Kolovos wrote:
> Hi Edd,
>
> I suspected that a model.dispose between the two model.load would sort
> thit out - but this doesn't seem to be the case. Could you please file a
> bug against this? I'll start looking for a solution asap.
>
> Cheers,
> Dimitris
>
> Edward Turner wrote:
>> I've so far been using ETL to transform a model A to model B (through
>> Ant). In general, the transformation needs to be applied to several
>> source models of A, to progressively build up the target model (which
>> accommodates this). I guess this is a common scenario, but am not sure
>> of the right way to do it.. Any ideas? I assumed I'd be able to
>> perform <epsilon.loadModel name="A" ... to load the first instance of
>> A, then perform the translation, and then <epsilon.loadModel name="A"
>> ... again, to load the second instance of A, perform translation, etc.
>> However, this approach only loads the first instance of A. Any
>> help/pointers would be very handy.
>> Ta,
>>
>> Edd
>>
|
|
|
Re: Loading multiple model instances, for translation [message #563171 is a reply to message #7058] |
Mon, 15 December 2008 16:26 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Further to my previous email, to load a model with the same name, you'll
still need to first dispose the previous one e.g:
<epsilon.loadModel name="A" type="EMF">
....
</epsilon.loadModel>
<epsilon.disposeModel model="A"/>
<epsilon.loadModel name="A" type="EMF">
....
</epsilon.loadModel>
Cheers,
Dimitris
Dimitrios Kolovos wrote:
> Hi Edd,
>
> I've fixed this problem and committed changes to the SVN. Are you using
> Epsilon from source (SVN) or through the update site?
>
> Cheers,
> Dimitris
>
> Dimitrios Kolovos wrote:
>> Hi Edd,
>>
>> I suspected that a model.dispose between the two model.load would sort
>> thit out - but this doesn't seem to be the case. Could you please file
>> a bug against this? I'll start looking for a solution asap.
>>
>> Cheers,
>> Dimitris
>>
>> Edward Turner wrote:
>>> I've so far been using ETL to transform a model A to model B (through
>>> Ant). In general, the transformation needs to be applied to several
>>> source models of A, to progressively build up the target model (which
>>> accommodates this). I guess this is a common scenario, but am not
>>> sure of the right way to do it.. Any ideas? I assumed I'd be able to
>>> perform <epsilon.loadModel name="A" ... to load the first instance of
>>> A, then perform the translation, and then <epsilon.loadModel name="A"
>>> ... again, to load the second instance of A, perform translation,
>>> etc. However, this approach only loads the first instance of A. Any
>>> help/pointers would be very handy.
>>> Ta,
>>>
>>> Edd
>>>
|
|
| |
Re: Loading multiple model instances, for translation [message #563217 is a reply to message #7104] |
Mon, 15 December 2008 18:31 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Edward Turner wrote:
> Wow, that was quite a speedy fix :), haven't had time yet to submit a
> bug report. Would you like me to do this still, for your records?
That'd be great!
> By the way, I've been using Epsilon via the update site. Should I use it
> via the SVN (and if so are there some instructions on how to use it like
> that) -- sorry, in meeting at mo...
No worries. Since waiting for the next version release is probably not
an option, you could either switch to the SVN version (see
http://www.eclipse.org/gmt/epsilon/doc/EpsilonSVN.pdf) or patch your
existing installation. To patch your installation you'd need to replace
\plugins\org.eclipse.epsilon.workflow_xxx\lib\org.eclipse.ep silon.workflow.jar
with the newer version available under
http://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.epsi lon/trunk/plugins/org.eclipse.epsilon.workflow/lib/
..
> Cheers,
> Edd
>
Cheers,
Dimitris
|
|
|
Re: Loading multiple model instances, for translation [message #563242 is a reply to message #7127] |
Wed, 17 December 2008 09:49 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Thanks a lot for filing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=258912
Cheers,
Dimitris
Dimitrios Kolovos wrote:
> Edward Turner wrote:
>> Wow, that was quite a speedy fix :), haven't had time yet to submit a
>> bug report. Would you like me to do this still, for your records?
>
> That'd be great!
>
>> By the way, I've been using Epsilon via the update site. Should I use
>> it via the SVN (and if so are there some instructions on how to use it
>> like that) -- sorry, in meeting at mo...
>
> No worries. Since waiting for the next version release is probably not
> an option, you could either switch to the SVN version (see
> http://www.eclipse.org/gmt/epsilon/doc/EpsilonSVN.pdf) or patch your
> existing installation. To patch your installation you'd need to replace
> \plugins\org.eclipse.epsilon.workflow_xxx\lib\org.eclipse.ep silon.workflow.jar
> with the newer version available under
> http://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.epsi lon/trunk/plugins/org.eclipse.epsilon.workflow/lib/
> .
>
>> Cheers,
>> Edd
>>
>
> Cheers,
> Dimitris
|
|
|
Goto Forum:
Current Time: Fri Dec 27 14:01:55 GMT 2024
Powered by FUDForum. Page generated in 0.05161 seconds
|