Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Java code generation from MoDisco J2SE5 models?
Java code generation from MoDisco J2SE5 models? [message #1091] Thu, 07 May 2009 15:35 Go to next message
Roman Porotnikov is currently offline Roman PorotnikovFriend
Messages: 18
Registered: July 2009
Junior Member
Hi,

Is there a way to transform a MoDisco J2SE5 model to a corresponding
Java code?

Thanks,

Roman
Re: Java code generation from MoDisco J2SE5 models? [message #1119 is a reply to message #1091] Fri, 08 May 2009 09:00 Go to previous messageGo to next message
Frederic Madiot is currently offline Frederic MadiotFriend
Messages: 26
Registered: July 2009
Junior Member
It is not provided yet but it is a feature we have planned to add.
The simplest way to do this is to develop a code generator (by using a M2T
component).
Re: Java code generation from MoDisco J2SE5 models? [message #1144 is a reply to message #1119] Fri, 08 May 2009 11:15 Go to previous message
Krzysztof Kowalczyk is currently offline Krzysztof KowalczykFriend
Messages: 113
Registered: July 2009
Senior Member
It took me about 250 lines of code in Xpand to generate Java code from
J2SE5 model for my purposes. It is not hard, but still need some testing.

I have skipped generics and comments as I don't need them right now.

Probably I will be able to share that work but not before July.

Regards,
Krzysztof Kowalczyk
Re: Java code generation from MoDisco J2SE5 models? [message #573170 is a reply to message #1091] Fri, 08 May 2009 09:00 Go to previous message
Frederic Madiot is currently offline Frederic MadiotFriend
Messages: 26
Registered: July 2009
Junior Member
It is not provided yet but it is a feature we have planned to add.
The simplest way to do this is to develop a code generator (by using a M2T
component).
Re: Java code generation from MoDisco J2SE5 models? [message #573192 is a reply to message #1119] Fri, 08 May 2009 11:15 Go to previous message
Krzysztof Kowalczyk is currently offline Krzysztof KowalczykFriend
Messages: 113
Registered: July 2009
Senior Member
It took me about 250 lines of code in Xpand to generate Java code from
J2SE5 model for my purposes. It is not hard, but still need some testing.

I have skipped generics and comments as I don't need them right now.

Probably I will be able to share that work but not before July.

Regards,
Krzysztof Kowalczyk
Previous Topic:Java code generation from MoDisco J2SE5 models?
Next Topic:UML Diagram Generation
Goto Forum:
  


Current Time: Thu Apr 25 22:00:42 GMT 2024

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

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

Back to the top