Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Using resource factories
Using resource factories [message #528605] Wed, 21 April 2010 09:11 Go to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
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 #528609 is a reply to message #528605] Wed, 21 April 2010 09:19 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 #528611 is a reply to message #528609] Wed, 21 April 2010 09:21 Go to previous messageGo to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
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 #528644 is a reply to message #528611] Wed, 21 April 2010 09:58 Go to previous messageGo to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
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 10:02 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 09:19 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 09:21 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
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 09:58 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
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 10:02 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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
Previous Topic:Using resource factories
Next Topic:EglTask broken?
Goto Forum:
  


Current Time: Thu Mar 28 23:26:16 GMT 2024

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

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

Back to the top