Home » Modeling » Epsilon » Using resource factories
Using resource factories [message #528605] |
Wed, 21 April 2010 05:11  |
Eclipse User |
|
|
|
Hi folks,
I've got a language defined using EMFText and want to access these
models from EOL. EMFText keeps the models in plain text and provides a
resource factory to parse them into EMF models when needed.
Unfortunately, it would seem that EMC ignores the resource factories, so
it keeps complaining that it cannot parse my model because it is not
valid XMI (which it isn't :-) ). Is there already a way to make use of
the resource factories?
Cheers,
Steffen
|
|
| | |
Re: Using resource factories [message #528644 is a reply to message #528611] |
Wed, 21 April 2010 05:58   |
Eclipse User |
|
|
|
Sorry, my bad. When I looked at the stack trace I noticed the line
numbers didn't match up with the current source code from SVN, so I
checked the version of Epsilon installed. It was 0.8.2.1. I updated
Epsilon and now it seems to work...
Cheers,
Steffen
On 21/04/2010 10:21, Steffen Zschaler wrote:
> Cool. Many thanks for the quick reply. It may very well be that I'm
> just doing something stupid here in how I configure my EOL launch...
>
> Steffen
>
> On 21/04/2010 10:19, Dimitris Kolovos wrote:
>> Hi Steffen,
>>
>> The EMF driver does indeed respect custom resource factories. I've
>> tried Epsilon with Xtext in the past and it worked fine but I'll try
>> with EMFText too and let you know how it goes.
>>
>> Cheers,
>> Dimitris
>>
>> Steffen Zschaler wrote:
>>> Hi folks,
>>>
>>> I've got a language defined using EMFText and want to access these
>>> models from EOL. EMFText keeps the models in plain text and provides
>>> a resource factory to parse them into EMF models when needed.
>>> Unfortunately, it would seem that EMC ignores the resource
>>> factories, so it keeps complaining that it cannot parse my model
>>> because it is not valid XMI (which it isn't :-) ). Is there already
>>> a way to make use of the resource factories?
>>>
>>> Cheers,
>>>
>>> Steffen
>>
>>
|
|
|
Re: Using resource factories [message #528645 is a reply to message #528644] |
Wed, 21 April 2010 06:02  |
Eclipse User |
|
|
|
Great! Glad you got it working and thanks for the update.
Cheers,
Dimitris
Steffen Zschaler wrote:
> Sorry, my bad. When I looked at the stack trace I noticed the line
> numbers didn't match up with the current source code from SVN, so I
> checked the version of Epsilon installed. It was 0.8.2.1. I updated
> Epsilon and now it seems to work...
>
> Cheers,
>
> Steffen
>
> On 21/04/2010 10:21, Steffen Zschaler wrote:
>> Cool. Many thanks for the quick reply. It may very well be that I'm
>> just doing something stupid here in how I configure my EOL launch...
>>
>> Steffen
>>
>> On 21/04/2010 10:19, Dimitris Kolovos wrote:
>>> Hi Steffen,
>>>
>>> The EMF driver does indeed respect custom resource factories. I've
>>> tried Epsilon with Xtext in the past and it worked fine but I'll try
>>> with EMFText too and let you know how it goes.
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Steffen Zschaler wrote:
>>>> Hi folks,
>>>>
>>>> I've got a language defined using EMFText and want to access these
>>>> models from EOL. EMFText keeps the models in plain text and provides
>>>> a resource factory to parse them into EMF models when needed.
>>>> Unfortunately, it would seem that EMC ignores the resource
>>>> factories, so it keeps complaining that it cannot parse my model
>>>> because it is not valid XMI (which it isn't :-) ). Is there already
>>>> a way to make use of the resource factories?
>>>>
>>>> Cheers,
>>>>
>>>> Steffen
>>>
>>>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: Using resource factories [message #588448 is a reply to message #528605] |
Wed, 21 April 2010 05:19  |
Eclipse User |
|
|
|
Hi Steffen,
The EMF driver does indeed respect custom resource factories. I've tried
Epsilon with Xtext in the past and it worked fine but I'll try with
EMFText too and let you know how it goes.
Cheers,
Dimitris
Steffen Zschaler wrote:
> Hi folks,
>
> I've got a language defined using EMFText and want to access these
> models from EOL. EMFText keeps the models in plain text and provides a
> resource factory to parse them into EMF models when needed.
> Unfortunately, it would seem that EMC ignores the resource factories, so
> it keeps complaining that it cannot parse my model because it is not
> valid XMI (which it isn't :-) ). Is there already a way to make use of
> the resource factories?
>
> Cheers,
>
> Steffen
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: Using resource factories [message #588455 is a reply to message #528609] |
Wed, 21 April 2010 05:21  |
Eclipse User |
|
|
|
Cool. Many thanks for the quick reply. It may very well be that I'm just
doing something stupid here in how I configure my EOL launch...
Steffen
On 21/04/2010 10:19, Dimitris Kolovos wrote:
> Hi Steffen,
>
> The EMF driver does indeed respect custom resource factories. I've
> tried Epsilon with Xtext in the past and it worked fine but I'll try
> with EMFText too and let you know how it goes.
>
> Cheers,
> Dimitris
>
> Steffen Zschaler wrote:
>> Hi folks,
>>
>> I've got a language defined using EMFText and want to access these
>> models from EOL. EMFText keeps the models in plain text and provides
>> a resource factory to parse them into EMF models when needed.
>> Unfortunately, it would seem that EMC ignores the resource factories,
>> so it keeps complaining that it cannot parse my model because it is
>> not valid XMI (which it isn't :-) ). Is there already a way to make
>> use of the resource factories?
>>
>> Cheers,
>>
>> Steffen
>
>
|
|
|
Re: Using resource factories [message #588465 is a reply to message #528611] |
Wed, 21 April 2010 05:58  |
Eclipse User |
|
|
|
Sorry, my bad. When I looked at the stack trace I noticed the line
numbers didn't match up with the current source code from SVN, so I
checked the version of Epsilon installed. It was 0.8.2.1. I updated
Epsilon and now it seems to work...
Cheers,
Steffen
On 21/04/2010 10:21, Steffen Zschaler wrote:
> Cool. Many thanks for the quick reply. It may very well be that I'm
> just doing something stupid here in how I configure my EOL launch...
>
> Steffen
>
> On 21/04/2010 10:19, Dimitris Kolovos wrote:
>> Hi Steffen,
>>
>> The EMF driver does indeed respect custom resource factories. I've
>> tried Epsilon with Xtext in the past and it worked fine but I'll try
>> with EMFText too and let you know how it goes.
>>
>> Cheers,
>> Dimitris
>>
>> Steffen Zschaler wrote:
>>> Hi folks,
>>>
>>> I've got a language defined using EMFText and want to access these
>>> models from EOL. EMFText keeps the models in plain text and provides
>>> a resource factory to parse them into EMF models when needed.
>>> Unfortunately, it would seem that EMC ignores the resource
>>> factories, so it keeps complaining that it cannot parse my model
>>> because it is not valid XMI (which it isn't :-) ). Is there already
>>> a way to make use of the resource factories?
>>>
>>> Cheers,
>>>
>>> Steffen
>>
>>
|
|
|
Re: Using resource factories [message #588473 is a reply to message #528644] |
Wed, 21 April 2010 06:02  |
Eclipse User |
|
|
|
Great! Glad you got it working and thanks for the update.
Cheers,
Dimitris
Steffen Zschaler wrote:
> Sorry, my bad. When I looked at the stack trace I noticed the line
> numbers didn't match up with the current source code from SVN, so I
> checked the version of Epsilon installed. It was 0.8.2.1. I updated
> Epsilon and now it seems to work...
>
> Cheers,
>
> Steffen
>
> On 21/04/2010 10:21, Steffen Zschaler wrote:
>> Cool. Many thanks for the quick reply. It may very well be that I'm
>> just doing something stupid here in how I configure my EOL launch...
>>
>> Steffen
>>
>> On 21/04/2010 10:19, Dimitris Kolovos wrote:
>>> Hi Steffen,
>>>
>>> The EMF driver does indeed respect custom resource factories. I've
>>> tried Epsilon with Xtext in the past and it worked fine but I'll try
>>> with EMFText too and let you know how it goes.
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Steffen Zschaler wrote:
>>>> Hi folks,
>>>>
>>>> I've got a language defined using EMFText and want to access these
>>>> models from EOL. EMFText keeps the models in plain text and provides
>>>> a resource factory to parse them into EMF models when needed.
>>>> Unfortunately, it would seem that EMC ignores the resource
>>>> factories, so it keeps complaining that it cannot parse my model
>>>> because it is not valid XMI (which it isn't :-) ). Is there already
>>>> a way to make use of the resource factories?
>>>>
>>>> Cheers,
>>>>
>>>> Steffen
>>>
>>>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Goto Forum:
Current Time: Tue Jul 22 18:04:31 EDT 2025
Powered by FUDForum. Page generated in 0.04642 seconds
|