Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » HUTN generated no model
HUTN generated no model [message #15582] Thu, 16 April 2009 12:22 Go to next message
mse07004 is currently offline mse07004Friend
Messages: 8
Registered: July 2009
Junior Member
Hi all,
the Epsilon HUTN implementation writes no model.
I get no error!
I get the following message
Generated /home/......../workspace/hutn/TROPIC/tropic.model
But there is no "tropic.model" at that location.
I donwloaded eclipse from
http://www.eclipse.org/gmt/epsilon/download.php
yesterday.
I installed the stable version of epsilon first and then,
after I got no model, the interim version of
epsilon.
Can anybode help me or give me a hint, whats the problem could be?

thx,
mse07004
Re: HUTN generated no model [message #15615 is a reply to message #15582] Thu, 16 April 2009 12:39 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

Could you please attach the .hutn and the respective .ecore so that we
can try to reproduce this?

Cheers,
Dimitris

mse07004 wrote:
> Hi all,
> the Epsilon HUTN implementation writes no model.
> I get no error!
> I get the following message
> Generated /home/......../workspace/hutn/TROPIC/tropic.model
> But there is no "tropic.model" at that location.
> I donwloaded eclipse from http://www.eclipse.org/gmt/epsilon/download.php
> yesterday.
> I installed the stable version of epsilon first and then,
> after I got no model, the interim version of
> epsilon.
> Can anybode help me or give me a hint, whats the problem could be?
>
> thx,
> mse07004
>
Re: HUTN generated no model [message #15646 is a reply to message #15615] Fri, 17 April 2009 05:53 Go to previous messageGo to next message
mse07004 is currently offline mse07004Friend
Messages: 8
Registered: July 2009
Junior Member
The Ecore File, as emfatic:

@namespace(uri="families", prefix="families")
package families;

abstract class NamedElement {
attr String name;
}

class Family extends NamedElement {
attr String[*] address;
ref Pet[*] pets;
attr int numberOfChildren;
val Person[*] members;
attr String ~id;
attr boolean nuclear;
attr float averageAge;
readonly derived ref Dog[+] dogs;
ref District#families district;
}

class Pet extends NamedElement {
attr boolean male;
}

class Person extends NamedElement {
}

class Dog extends Pet {
attr boolean loud;
attr DogBreed[1] breed;
ref District#dogs district;
}

enum DogBreed {
poodle = 1;
labrador = 2;
}

class District {
val Family[+]#district families;
val Dog[+]#district dogs;
}

class Model {
val NamedElement[*] contents;
val NamedElement[*] contents2;
}


The HUTN File
@Spec {
metamodel "families" {
nsUri: "families"
}
}

families {
Family "F" {
id: "F"
numberOfChildren: 1
nuclear: false
averageAge: 20.5
members: Person "father", Person "mother", Person "child"
pets: Pet "dog"
}

Person "father" {
name: "father"
}

Person "mother" {
name: "mother"
}

Person "child" {
name: "child"
}

Dog "dog" {
male: true
loud: false
breed: labrador
}
}
Re: HUTN generated no model [message #15675 is a reply to message #15646] Fri, 17 April 2009 08:08 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

I can't seem to be able to reproduce the problem... In my machine saving
the .hutn file produces a .model file as expected. Perhaps Louis (CC'ed)
can help more with this.

Cheers,
Dimitris

mse07004 wrote:
> The Ecore File, as emfatic:
>
> @namespace(uri="families", prefix="families")
> package families;
>
> abstract class NamedElement {
> attr String name;
> }
>
> class Family extends NamedElement {
> attr String[*] address;
> ref Pet[*] pets;
> attr int numberOfChildren;
> val Person[*] members;
> attr String ~id;
> attr boolean nuclear;
> attr float averageAge;
> readonly derived ref Dog[+] dogs;
> ref District#families district;
> }
>
> class Pet extends NamedElement {
> attr boolean male;
> }
>
> class Person extends NamedElement {
> }
>
> class Dog extends Pet {
> attr boolean loud;
> attr DogBreed[1] breed;
> ref District#dogs district;
> }
>
> enum DogBreed {
> poodle = 1;
> labrador = 2;
> }
>
> class District {
> val Family[+]#district families;
> val Dog[+]#district dogs;
> }
>
> class Model {
> val NamedElement[*] contents;
> val NamedElement[*] contents2;
> }
>
>
> The HUTN File
> @Spec {
> metamodel "families" {
> nsUri: "families"
> }
> }
>
> families {
> Family "F" {
> id: "F"
> numberOfChildren: 1
> nuclear: false
> averageAge: 20.5
> members: Person "father", Person "mother", Person "child"
> pets: Pet "dog"
> }
>
> Person "father" {
> name: "father"
> }
>
> Person "mother" {
> name: "mother"
> }
>
> Person "child" {
> name: "child"
> }
>
> Dog "dog" {
> male: true
> loud: false
> breed: labrador
> }
> }
>
>
Re: HUTN generated no model [message #15702 is a reply to message #15675] Mon, 20 April 2009 11:02 Go to previous messageGo to next message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi,

I've been able to recreate the problem. This seems to be caused by
either a change in the interface to, or a regression of, Epsilon's EMF
model support.

mse07004, could you open a bug on the Epsilon bugzilla to track this? I
will work on a patch:

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=GMT& component=Epsilon

Cheers,
Louis.

Dimitris Kolovos wrote:
> Hi,
>
> I can't seem to be able to reproduce the problem... In my machine saving
> the .hutn file produces a .model file as expected. Perhaps Louis (CC'ed)
> can help more with this.
>
> Cheers,
> Dimitris
>
> mse07004 wrote:
>> The Ecore File, as emfatic:
>>
>> @namespace(uri="families", prefix="families")
>> package families;
>>
>> abstract class NamedElement {
>> attr String name;
>> }
>>
>> class Family extends NamedElement {
>> attr String[*] address;
>> ref Pet[*] pets;
>> attr int numberOfChildren;
>> val Person[*] members;
>> attr String ~id;
>> attr boolean nuclear;
>> attr float averageAge;
>> readonly derived ref Dog[+] dogs;
>> ref District#families district;
>> }
>>
>> class Pet extends NamedElement {
>> attr boolean male;
>> }
>>
>> class Person extends NamedElement {
>> }
>>
>> class Dog extends Pet {
>> attr boolean loud;
>> attr DogBreed[1] breed;
>> ref District#dogs district;
>> }
>>
>> enum DogBreed {
>> poodle = 1;
>> labrador = 2;
>> }
>>
>> class District {
>> val Family[+]#district families;
>> val Dog[+]#district dogs;
>> }
>>
>> class Model {
>> val NamedElement[*] contents;
>> val NamedElement[*] contents2;
>> }
>>
>>
>> The HUTN File
>> @Spec {
>> metamodel "families" {
>> nsUri: "families"
>> }
>> }
>>
>> families {
>> Family "F" {
>> id: "F"
>> numberOfChildren: 1
>> nuclear: false
>> averageAge: 20.5
>> members: Person "father", Person "mother", Person "child"
>> pets: Pet "dog" }
>> Person "father" {
>> name: "father"
>> }
>> Person "mother" {
>> name: "mother"
>> }
>> Person "child" {
>> name: "child"
>> }
>> Dog "dog" {
>> male: true
>> loud: false
>> breed: labrador
>> }
>> }
>>
>>
Re: HUTN generated no model [message #16252 is a reply to message #15702] Wed, 22 April 2009 15:58 Go to previous messageGo to next message
mse07004 is currently offline mse07004Friend
Messages: 8
Registered: July 2009
Junior Member
I created a new bug at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=273292
Re: HUTN generated no model [message #16264 is a reply to message #16252] Wed, 22 April 2009 19:33 Go to previous messageGo to next message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
mse07004 wrote:
> I created a new bug at
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=273292
>

Thanks very much. We're still working on a patch; we think it may be a
regression in Epsilon's model connectivity layer.

Cheers,
Louis.
Re: HUTN generated no model [message #16289 is a reply to message #16264] Mon, 27 April 2009 11:25 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

It should be fixed now. Could you please update from the interim site
and confirm this?

Cheers,
Dimitris

Louis Rose wrote:
> mse07004 wrote:
>> I created a new bug at
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=273292
>>
>
> Thanks very much. We're still working on a patch; we think it may be a
> regression in Epsilon's model connectivity layer.
>
> Cheers,
> Louis.
Re: HUTN generated no model [message #16298 is a reply to message #16289] Mon, 27 April 2009 17:41 Go to previous message
mse07004 is currently offline mse07004Friend
Messages: 8
Registered: July 2009
Junior Member
Everything works fine now. Thanks for the fast bugfix.
Re: HUTN generated no model [message #566761 is a reply to message #15582] Thu, 16 April 2009 12:39 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

Could you please attach the .hutn and the respective .ecore so that we
can try to reproduce this?

Cheers,
Dimitris

mse07004 wrote:
> Hi all,
> the Epsilon HUTN implementation writes no model.
> I get no error!
> I get the following message
> Generated /home/......../workspace/hutn/TROPIC/tropic.model
> But there is no "tropic.model" at that location.
> I donwloaded eclipse from http://www.eclipse.org/gmt/epsilon/download.php
> yesterday.
> I installed the stable version of epsilon first and then,
> after I got no model, the interim version of
> epsilon.
> Can anybode help me or give me a hint, whats the problem could be?
>
> thx,
> mse07004
>
Re: HUTN generated no model [message #566774 is a reply to message #15615] Fri, 17 April 2009 05:53 Go to previous message
mse07004 is currently offline mse07004Friend
Messages: 8
Registered: July 2009
Junior Member
The Ecore File, as emfatic:

@namespace(uri="families", prefix="families")
package families;

abstract class NamedElement {
attr String name;
}

class Family extends NamedElement {
attr String[*] address;
ref Pet[*] pets;
attr int numberOfChildren;
val Person[*] members;
attr String ~id;
attr boolean nuclear;
attr float averageAge;
readonly derived ref Dog[+] dogs;
ref District#families district;
}

class Pet extends NamedElement {
attr boolean male;
}

class Person extends NamedElement {
}

class Dog extends Pet {
attr boolean loud;
attr DogBreed[1] breed;
ref District#dogs district;
}

enum DogBreed {
poodle = 1;
labrador = 2;
}

class District {
val Family[+]#district families;
val Dog[+]#district dogs;
}

class Model {
val NamedElement[*] contents;
val NamedElement[*] contents2;
}


The HUTN File
@Spec {
metamodel "families" {
nsUri: "families"
}
}

families {
Family "F" {
id: "F"
numberOfChildren: 1
nuclear: false
averageAge: 20.5
members: Person "father", Person "mother", Person "child"
pets: Pet "dog"
}

Person "father" {
name: "father"
}

Person "mother" {
name: "mother"
}

Person "child" {
name: "child"
}

Dog "dog" {
male: true
loud: false
breed: labrador
}
}
Re: HUTN generated no model [message #566792 is a reply to message #15646] Fri, 17 April 2009 08:08 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

I can't seem to be able to reproduce the problem... In my machine saving
the .hutn file produces a .model file as expected. Perhaps Louis (CC'ed)
can help more with this.

Cheers,
Dimitris

mse07004 wrote:
> The Ecore File, as emfatic:
>
> @namespace(uri="families", prefix="families")
> package families;
>
> abstract class NamedElement {
> attr String name;
> }
>
> class Family extends NamedElement {
> attr String[*] address;
> ref Pet[*] pets;
> attr int numberOfChildren;
> val Person[*] members;
> attr String ~id;
> attr boolean nuclear;
> attr float averageAge;
> readonly derived ref Dog[+] dogs;
> ref District#families district;
> }
>
> class Pet extends NamedElement {
> attr boolean male;
> }
>
> class Person extends NamedElement {
> }
>
> class Dog extends Pet {
> attr boolean loud;
> attr DogBreed[1] breed;
> ref District#dogs district;
> }
>
> enum DogBreed {
> poodle = 1;
> labrador = 2;
> }
>
> class District {
> val Family[+]#district families;
> val Dog[+]#district dogs;
> }
>
> class Model {
> val NamedElement[*] contents;
> val NamedElement[*] contents2;
> }
>
>
> The HUTN File
> @Spec {
> metamodel "families" {
> nsUri: "families"
> }
> }
>
> families {
> Family "F" {
> id: "F"
> numberOfChildren: 1
> nuclear: false
> averageAge: 20.5
> members: Person "father", Person "mother", Person "child"
> pets: Pet "dog"
> }
>
> Person "father" {
> name: "father"
> }
>
> Person "mother" {
> name: "mother"
> }
>
> Person "child" {
> name: "child"
> }
>
> Dog "dog" {
> male: true
> loud: false
> breed: labrador
> }
> }
>
>
Re: HUTN generated no model [message #566820 is a reply to message #15675] Mon, 20 April 2009 11:02 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi,

I've been able to recreate the problem. This seems to be caused by
either a change in the interface to, or a regression of, Epsilon's EMF
model support.

mse07004, could you open a bug on the Epsilon bugzilla to track this? I
will work on a patch:

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=GMT& component=Epsilon

Cheers,
Louis.

Dimitris Kolovos wrote:
> Hi,
>
> I can't seem to be able to reproduce the problem... In my machine saving
> the .hutn file produces a .model file as expected. Perhaps Louis (CC'ed)
> can help more with this.
>
> Cheers,
> Dimitris
>
> mse07004 wrote:
>> The Ecore File, as emfatic:
>>
>> @namespace(uri="families", prefix="families")
>> package families;
>>
>> abstract class NamedElement {
>> attr String name;
>> }
>>
>> class Family extends NamedElement {
>> attr String[*] address;
>> ref Pet[*] pets;
>> attr int numberOfChildren;
>> val Person[*] members;
>> attr String ~id;
>> attr boolean nuclear;
>> attr float averageAge;
>> readonly derived ref Dog[+] dogs;
>> ref District#families district;
>> }
>>
>> class Pet extends NamedElement {
>> attr boolean male;
>> }
>>
>> class Person extends NamedElement {
>> }
>>
>> class Dog extends Pet {
>> attr boolean loud;
>> attr DogBreed[1] breed;
>> ref District#dogs district;
>> }
>>
>> enum DogBreed {
>> poodle = 1;
>> labrador = 2;
>> }
>>
>> class District {
>> val Family[+]#district families;
>> val Dog[+]#district dogs;
>> }
>>
>> class Model {
>> val NamedElement[*] contents;
>> val NamedElement[*] contents2;
>> }
>>
>>
>> The HUTN File
>> @Spec {
>> metamodel "families" {
>> nsUri: "families"
>> }
>> }
>>
>> families {
>> Family "F" {
>> id: "F"
>> numberOfChildren: 1
>> nuclear: false
>> averageAge: 20.5
>> members: Person "father", Person "mother", Person "child"
>> pets: Pet "dog" }
>> Person "father" {
>> name: "father"
>> }
>> Person "mother" {
>> name: "mother"
>> }
>> Person "child" {
>> name: "child"
>> }
>> Dog "dog" {
>> male: true
>> loud: false
>> breed: labrador
>> }
>> }
>>
>>
Re: HUTN generated no model [message #567064 is a reply to message #15702] Wed, 22 April 2009 15:58 Go to previous message
mse07004 is currently offline mse07004Friend
Messages: 8
Registered: July 2009
Junior Member
I created a new bug at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=273292
Re: HUTN generated no model [message #567074 is a reply to message #16252] Wed, 22 April 2009 19:33 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
mse07004 wrote:
> I created a new bug at
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=273292
>

Thanks very much. We're still working on a patch; we think it may be a
regression in Epsilon's model connectivity layer.

Cheers,
Louis.
Re: HUTN generated no model [message #567116 is a reply to message #16264] Mon, 27 April 2009 11:25 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

It should be fixed now. Could you please update from the interim site
and confirm this?

Cheers,
Dimitris

Louis Rose wrote:
> mse07004 wrote:
>> I created a new bug at
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=273292
>>
>
> Thanks very much. We're still working on a patch; we think it may be a
> regression in Epsilon's model connectivity layer.
>
> Cheers,
> Louis.
Re: HUTN generated no model [message #567141 is a reply to message #16289] Mon, 27 April 2009 17:41 Go to previous message
mse07004 is currently offline mse07004Friend
Messages: 8
Registered: July 2009
Junior Member
Everything works fine now. Thanks for the fast bugfix.
Previous Topic:EWL setting a profile/stereotype and trigger the wizard
Next Topic:PluginActivator
Goto Forum:
  


Current Time: Fri Dec 19 21:50:48 GMT 2014

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

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