Home » Modeling » Epsilon » [Epsilon] Make a reference from HUTN to an element of a pre-builded model
| Re: [Epsilon] Make a reference from HUTN to an element of a pre-builded model [message #561312 is a reply to message #1865] |
Tue, 21 October 2008 07:25  |
Dimitrios Kolovos Messages: 1772 Registered: July 2009 |
Senior Member |
|
|
Hi Hector,
Glad it worked and thanks for your feedback! The changes will appear in
the next binary version of Epsilon (0.8.2).
Cheers,
Dimitrios
Héctor Iturria wrote:
> Hi Dimitrios,
>
> Finally I managed to reference the external elements, the issues I had
> were because of the installation of Epsilon in my Eclipse. I uninstalled
> it, but the jar files were still in the plugins folder of Ecplise and
> the application was loading them. I have deleted them manually and add
> the latest from your repository as an external location, now it seems to
> work fine :)
>
> Many thanks,
> Héctor
>
>
> Dimitrios Kolovos escribió:
>> I think I got it! To support external references, the EmfTool class in
>> the org.eclipse.epsilon.emc.emf plugin has been updated (a method
>> called resourceExists has been added). Could you please also use
>> Epsilon from the SVN (or if you are doing this already, update your
>> local copy)?
>>
>> Cheers,
>> Dimitrios
>>
>> Héctor Iturria wrote:
>>>
>>> Ok, it works if I download it from Thunderbird instead of the web.
>>>
>>> I have imported the project you have just sent me, and still
>>> generates the same error:
>>>
>>> org.eclipse.epsilon.hutn.exceptions.HutnValidationException: Method
>>> 'resourceExists' not found (168:19)
>>>
>>> I have checked out the projects from the svn repository, exported
>>> them as deployable plugins and added to eclipse as extension
>>> locations. Then I will try to generate the models in a second
>>> instance using the projects of the workspace.
>>>
>>> Many thanks,
>>> Héctor
>>>
>>> Dimitrios Kolovos escribió:
>>>> What program are you using to unzip it? Winrar as well as the
>>>> built-in WinXP compressed folder utility seem to be opening it fine...
>>>>
>>>> Cheers,
>>>> Dimitrios
>>>>
>>>> Héctor Iturria wrote:
>>>>>
>>>>> Many thanks, Dimitrios, but now the file is corrupted and I can't
>>>>> open it. One more time, please :)
>>>>>
>>>>> Héctor Iturria escribió:
>>>>>>
>>>>>> Hi Dimitrios,
>>>>>>
>>>>>> I think you have forgotten to attach the files ;-)
>>>>>>
>>>>>>
>>>>>> Dimitrios Kolovos escribió:
>>>>>>> Hi Hector,
>>>>>>>
>>>>>>> I don't seem to be able to reproduce this :( Attached is the
>>>>>>> project I've put together using the files you've provided me with
>>>>>>> and I'm not getting any reference-related errors (I've registered
>>>>>>> rulesCatalog.ecore and transformationConfiguration.ecore). Could
>>>>>>> you please confirm that the attached project works for you?
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Dimitrios
>>>>>>>
>>>>>>> Héctor Iturria wrote:
>>>>>>>> No no, the model that owns this fragment is not UML based. I
>>>>>>>> send you the ecore file and the example I was writing. This
>>>>>>>> model needs to link elements from both the UML2DB.rulescatalog
>>>>>>>> and the UML it complements (each of this models are made for one
>>>>>>>> UML model, the UML2DB.rulescatalog is common for all).
>>>>>>>>
>>>>>>>> As you will see, the example is in a very initial phase of
>>>>>>>> development.
>>>>>>>>
>>>>>>>> Many thanks for the help!
>>>>>>>> Héctor
>>>>>>>>
>>>>>>>>
>>>>>>>> Dimitrios Kolovos escribió:
>>>>>>>>> Hi Hector,
>>>>>>>>>
>>>>>>>>> I have placed the rulesCatalog.ecore and UML2DB.rulescatalog
>>>>>>>>> files in a project called Hector (;)), registered
>>>>>>>>> rulesCatalog.ecore (right-click->Register EPackages) and
>>>>>>>>> created a new sample.hutn file with the following contents:
>>>>>>>>>
>>>>>>>>> @Spec {
>>>>>>>>> metamodel "UML" {
>>>>>>>>> nsUri: "http://www.eclipse.org/uml2/2.1.0/UML"
>>>>>>>>> }
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> uml {
>>>>>>>>> Model "UML"{
>>>>>>>>> name: "UML2 Model"
>>>>>>>>> metamodel: Metamodel
>>>>>>>>> "/Hector/UML2DB.rulescatalog#//@source.0"
>>>>>>>>> }
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> The error I'm getting is "Unrecognised feature: metamodel"
>>>>>>>>> which seems reasonable as I haven't found a feature called
>>>>>>>>> "metamodel" in the UML2 metamodel. Where does this feature come
>>>>>>>>> from (a profile?)?
>>>>>>>>>
>>>>>>>>> Could you please confirm that you can open UML2DB.rulescatalog
>>>>>>>>> using the tree editor with no problems and also that your paths
>>>>>>>>> are correct? If so, could you please send me your zipped
>>>>>>>>> Eclipse project to make sure that we are working on the same
>>>>>>>>> things?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Dimitrios
>>>>>>>>>
>>>>>>>>> Héctor Iturria wrote:
>>>>>>>>>> Ok, here it is.
>>>>>>>>>>
>>>>>>>>
|
|
|
| Re: [Epsilon] Make a reference from HUTN to an element of a pre-builded model [message #561329 is a reply to message #1877] |
Tue, 28 October 2008 07:05  |
Louis Rose Messages: 427 Registered: July 2009 Location: York, United Kingdom |
Senior Member |
|
|
Hi Héctor,
Dimitrios has just released Epsilon 0.8.2 and HUTN 0.7.2, which include
fixes to the problems you've encountered.
Feel free to switch back to a binary version of Epsilon and HUTN if
that's more convenient for you. You're also welcome to continue using
the tools from source. That way you'll have early access to all new
features (and all new bugs!)
The update manager will advertise the new versions in a couple of hours.
Many thanks,
Louis.
Dimitrios Kolovos wrote:
> Hi Hector,
>
> Glad it worked and thanks for your feedback! The changes will appear in
> the next binary version of Epsilon (0.8.2).
>
> Cheers,
> Dimitrios
>
> Héctor Iturria wrote:
>> Hi Dimitrios,
>>
>> Finally I managed to reference the external elements, the issues I had
>> were because of the installation of Epsilon in my Eclipse. I
>> uninstalled it, but the jar files were still in the plugins folder of
>> Ecplise and the application was loading them. I have deleted them
>> manually and add the latest from your repository as an external
>> location, now it seems to work fine :)
>>
>> Many thanks,
>> Héctor
>>
>>
>> Dimitrios Kolovos escribió:
>>> I think I got it! To support external references, the EmfTool class
>>> in the org.eclipse.epsilon.emc.emf plugin has been updated (a method
>>> called resourceExists has been added). Could you please also use
>>> Epsilon from the SVN (or if you are doing this already, update your
>>> local copy)?
>>>
>>> Cheers,
>>> Dimitrios
>>>
>>> Héctor Iturria wrote:
>>>>
>>>> Ok, it works if I download it from Thunderbird instead of the web.
>>>>
>>>> I have imported the project you have just sent me, and still
>>>> generates the same error:
>>>>
>>>> org.eclipse.epsilon.hutn.exceptions.HutnValidationException: Method
>>>> 'resourceExists' not found (168:19)
>>>>
>>>> I have checked out the projects from the svn repository, exported
>>>> them as deployable plugins and added to eclipse as extension
>>>> locations. Then I will try to generate the models in a second
>>>> instance using the projects of the workspace.
>>>>
>>>> Many thanks,
>>>> Héctor
>>>>
>>>> Dimitrios Kolovos escribió:
>>>>> What program are you using to unzip it? Winrar as well as the
>>>>> built-in WinXP compressed folder utility seem to be opening it fine...
>>>>>
>>>>> Cheers,
>>>>> Dimitrios
>>>>>
>>>>> Héctor Iturria wrote:
>>>>>>
>>>>>> Many thanks, Dimitrios, but now the file is corrupted and I can't
>>>>>> open it. One more time, please :)
>>>>>>
>>>>>> Héctor Iturria escribió:
>>>>>>>
>>>>>>> Hi Dimitrios,
>>>>>>>
>>>>>>> I think you have forgotten to attach the files ;-)
>>>>>>>
>>>>>>>
>>>>>>> Dimitrios Kolovos escribió:
>>>>>>>> Hi Hector,
>>>>>>>>
>>>>>>>> I don't seem to be able to reproduce this :( Attached is the
>>>>>>>> project I've put together using the files you've provided me
>>>>>>>> with and I'm not getting any reference-related errors (I've
>>>>>>>> registered rulesCatalog.ecore and
>>>>>>>> transformationConfiguration.ecore). Could you please confirm
>>>>>>>> that the attached project works for you?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Dimitrios
>>>>>>>>
>>>>>>>> Héctor Iturria wrote:
>>>>>>>>> No no, the model that owns this fragment is not UML based. I
>>>>>>>>> send you the ecore file and the example I was writing. This
>>>>>>>>> model needs to link elements from both the UML2DB.rulescatalog
>>>>>>>>> and the UML it complements (each of this models are made for
>>>>>>>>> one UML model, the UML2DB.rulescatalog is common for all).
>>>>>>>>>
>>>>>>>>> As you will see, the example is in a very initial phase of
>>>>>>>>> development.
>>>>>>>>>
>>>>>>>>> Many thanks for the help!
>>>>>>>>> Héctor
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Dimitrios Kolovos escribió:
>>>>>>>>>> Hi Hector,
>>>>>>>>>>
>>>>>>>>>> I have placed the rulesCatalog.ecore and UML2DB.rulescatalog
>>>>>>>>>> files in a project called Hector (;)), registered
>>>>>>>>>> rulesCatalog.ecore (right-click->Register EPackages) and
>>>>>>>>>> created a new sample.hutn file with the following contents:
>>>>>>>>>>
>>>>>>>>>> @Spec {
>>>>>>>>>> metamodel "UML" {
>>>>>>>>>> nsUri: "http://www.eclipse.org/uml2/2.1.0/UML"
>>>>>>>>>> }
>>>>>>>>>> }
>>>>>>>>>>
>>>>>>>>>> uml {
>>>>>>>>>> Model "UML"{
>>>>>>>>>> name: "UML2 Model"
>>>>>>>>>> metamodel: Metamodel
>>>>>>>>>> "/Hector/UML2DB.rulescatalog#//@source.0"
>>>>>>>>>> }
>>>>>>>>>> }
>>>>>>>>>>
>>>>>>>>>> The error I'm getting is "Unrecognised feature: metamodel"
>>>>>>>>>> which seems reasonable as I haven't found a feature called
>>>>>>>>>> "metamodel" in the UML2 metamodel. Where does this feature
>>>>>>>>>> come from (a profile?)?
>>>>>>>>>>
>>>>>>>>>> Could you please confirm that you can open UML2DB.rulescatalog
>>>>>>>>>> using the tree editor with no problems and also that your
>>>>>>>>>> paths are correct? If so, could you please send me your zipped
>>>>>>>>>> Eclipse project to make sure that we are working on the same
>>>>>>>>>> things?
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Dimitrios
>>>>>>>>>>
>>>>>>>>>> Héctor Iturria wrote:
>>>>>>>>>>> Ok, here it is.
>>>>>>>>>>>
>>>>>>>>>
|
|
|
| Re: [Epsilon] Make a reference from HUTN to an element of a pre-builded model [message #561348 is a reply to message #1891] |
Wed, 29 October 2008 05:24  |
Hector Iturria Messages: 60 Registered: July 2009 |
Member |
|
|
Hi!
Now I am focused in building the models, I have a working framework and
will continue using the files from the SVN repository.
Many thanks for the news,
Héctor
Louis Rose escribió:
> Hi Héctor,
>
> Dimitrios has just released Epsilon 0.8.2 and HUTN 0.7.2, which include
> fixes to the problems you've encountered.
>
> Feel free to switch back to a binary version of Epsilon and HUTN if
> that's more convenient for you. You're also welcome to continue using
> the tools from source. That way you'll have early access to all new
> features (and all new bugs!)
>
> The update manager will advertise the new versions in a couple of hours.
>
> Many thanks,
> Louis.
>
> Dimitrios Kolovos wrote:
>> Hi Hector,
>>
>> Glad it worked and thanks for your feedback! The changes will appear
>> in the next binary version of Epsilon (0.8.2).
>>
>> Cheers,
>> Dimitrios
>>
>> Héctor Iturria wrote:
>>> Hi Dimitrios,
>>>
>>> Finally I managed to reference the external elements, the issues I
>>> had were because of the installation of Epsilon in my Eclipse. I
>>> uninstalled it, but the jar files were still in the plugins folder of
>>> Ecplise and the application was loading them. I have deleted them
>>> manually and add the latest from your repository as an external
>>> location, now it seems to work fine :)
>>>
>>> Many thanks,
>>> Héctor
>>>
>>>
>>> Dimitrios Kolovos escribió:
>>>> I think I got it! To support external references, the EmfTool class
>>>> in the org.eclipse.epsilon.emc.emf plugin has been updated (a method
>>>> called resourceExists has been added). Could you please also use
>>>> Epsilon from the SVN (or if you are doing this already, update your
>>>> local copy)?
>>>>
>>>> Cheers,
>>>> Dimitrios
>>>>
>>>> Héctor Iturria wrote:
>>>>>
>>>>> Ok, it works if I download it from Thunderbird instead of the web.
>>>>>
>>>>> I have imported the project you have just sent me, and still
>>>>> generates the same error:
>>>>>
>>>>> org.eclipse.epsilon.hutn.exceptions.HutnValidationException: Method
>>>>> 'resourceExists' not found (168:19)
>>>>>
>>>>> I have checked out the projects from the svn repository, exported
>>>>> them as deployable plugins and added to eclipse as extension
>>>>> locations. Then I will try to generate the models in a second
>>>>> instance using the projects of the workspace.
>>>>>
>>>>> Many thanks,
>>>>> Héctor
>>>>>
>>>>> Dimitrios Kolovos escribió:
>>>>>> What program are you using to unzip it? Winrar as well as the
>>>>>> built-in WinXP compressed folder utility seem to be opening it
>>>>>> fine...
>>>>>>
>>>>>> Cheers,
>>>>>> Dimitrios
>>>>>>
>>>>>> Héctor Iturria wrote:
>>>>>>>
>>>>>>> Many thanks, Dimitrios, but now the file is corrupted and I can't
>>>>>>> open it. One more time, please :)
>>>>>>>
>>>>>>> Héctor Iturria escribió:
>>>>>>>>
>>>>>>>> Hi Dimitrios,
>>>>>>>>
>>>>>>>> I think you have forgotten to attach the files ;-)
>>>>>>>>
>>>>>>>>
>>>>>>>> Dimitrios Kolovos escribió:
>>>>>>>>> Hi Hector,
>>>>>>>>>
>>>>>>>>> I don't seem to be able to reproduce this :( Attached is the
>>>>>>>>> project I've put together using the files you've provided me
>>>>>>>>> with and I'm not getting any reference-related errors (I've
>>>>>>>>> registered rulesCatalog.ecore and
>>>>>>>>> transformationConfiguration.ecore). Could you please confirm
>>>>>>>>> that the attached project works for you?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Dimitrios
>>>>>>>>>
>>>>>>>>> Héctor Iturria wrote:
>>>>>>>>>> No no, the model that owns this fragment is not UML based. I
>>>>>>>>>> send you the ecore file and the example I was writing. This
>>>>>>>>>> model needs to link elements from both the UML2DB.rulescatalog
>>>>>>>>>> and the UML it complements (each of this models are made for
>>>>>>>>>> one UML model, the UML2DB.rulescatalog is common for all).
>>>>>>>>>>
>>>>>>>>>> As you will see, the example is in a very initial phase of
>>>>>>>>>> development.
>>>>>>>>>>
>>>>>>>>>> Many thanks for the help!
>>>>>>>>>> Héctor
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Dimitrios Kolovos escribió:
>>>>>>>>>>> Hi Hector,
>>>>>>>>>>>
>>>>>>>>>>> I have placed the rulesCatalog.ecore and UML2DB.rulescatalog
>>>>>>>>>>> files in a project called Hector (;)), registered
>>>>>>>>>>> rulesCatalog.ecore (right-click->Register EPackages) and
>>>>>>>>>>> created a new sample.hutn file with the following contents:
>>>>>>>>>>>
>>>>>>>>>>> @Spec {
>>>>>>>>>>> metamodel "UML" {
>>>>>>>>>>> nsUri: "http://www.eclipse.org/uml2/2.1.0/UML"
>>>>>>>>>>> }
>>>>>>>>>>> }
>>>>>>>>>>>
>>>>>>>>>>> uml {
>>>>>>>>>>> Model "UML"{
>>>>>>>>>>> name: "UML2 Model"
>>>>>>>>>>> metamodel: Metamodel
>>>>>>>>>>> "/Hector/UML2DB.rulescatalog#//@source.0"
>>>>>>>>>>> }
>>>>>>>>>>> }
>>>>>>>>>>>
>>>>>>>>>>> The error I'm getting is "Unrecognised feature: metamodel"
>>>>>>>>>>> which seems reasonable as I haven't found a feature called
>>>>>>>>>>> "metamodel" in the UML2 metamodel. Where does this feature
>>>>>>>>>>> come from (a profile?)?
>>>>>>>>>>>
>>>>>>>>>>> Could you please confirm that you can open
>>>>>>>>>>> UML2DB.rulescatalog using the tree editor with no problems
>>>>>>>>>>> and also that your paths are correct? If so, could you please
>>>>>>>>>>> send me your zipped Eclipse project to make sure that we are
>>>>>>>>>>> working on the same things?
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> Dimitrios
>>>>>>>>>>>
>>>>>>>>>>> Héctor Iturria wrote:
>>>>>>>>>>>> Ok, here it is.
>>>>>>>>>>>>
>>>>>>>>>>
|
|
|
Goto Forum:
Current Time: Fri May 24 12:52:42 EDT 2013
Powered by FUDForum. Page generated in 0.01635 seconds
|