Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » UML2JAVA
UML2JAVA [message #1784496] Wed, 28 March 2018 16:47 Go to next message
khouloud AYARI is currently offline khouloud AYARIFriend
Messages: 49
Registered: March 2018
Member
hey

I need to use the generate Java code from an UML model, and to launch the generation of my Java beans using this generation module I need a ".uml" model as the input, wanted to use the one provided in the UML to Java Acceleo example (File -> New -> Example -> Acceleo plug-in -> UML to Java) but instead it tells me that it requires the installation of the UML project!
I dont get it!

please help and thank u
  • Attachment: UML2java.png
    (Size: 30.01KB, Downloaded 226 times)
Re: UML2JAVA [message #1784507 is a reply to message #1784496] Wed, 28 March 2018 19:45 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

1) UML.ecore is in the UML project
2) The model support for *.uml is in the UMLproject

You might just survive without 2, but not 1. You are kind of expecting *.java files to execute while refusing to install a JVM.

Regards

Ed Willink
Re: UML2JAVA [message #1784510 is a reply to message #1784507] Wed, 28 March 2018 19:56 Go to previous messageGo to next message
khouloud AYARI is currently offline khouloud AYARIFriend
Messages: 49
Registered: March 2018
Member
hey,

Sorry but what do you mean by UML project??
is it a project or something to install?

Thank u agn ^^
Re: UML2JAVA [message #1784531 is a reply to message #1784507] Thu, 29 March 2018 05:59 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

If you had started with the Eclipse Modeling Package you would already have the Eclipse UML2 project. You can add it by

Help -> Install New Software...

Work with: http://download.eclipse.org/releases/oxygen

Modeling -> UML2 Extender SDK

Next ...

Regards

Ed Willink
Re: UML2JAVA [message #1784538 is a reply to message #1784531] Thu, 29 March 2018 07:32 Go to previous messageGo to next message
khouloud AYARI is currently offline khouloud AYARIFriend
Messages: 49
Registered: March 2018
Member
Thank u so much
Re: UML2JAVA [message #1784578 is a reply to message #1784538] Thu, 29 March 2018 14:22 Go to previous message
khouloud AYARI is currently offline khouloud AYARIFriend
Messages: 49
Registered: March 2018
Member
Hey,

sorry to bother u agn but i made some researches and it seems like JVM is already installed in eclipse mars( the version that i'm using), I also created a .ecore project but nothing happened, atleast the notification saying requires an installation UML project is not gone and I wasn't able to generate my code!
Do u have any idea what am I doing wrong in this stage!

Thank u once agn ^^
Previous Topic:How to Refresh Acceleo Project when change the Metamodel ?
Next Topic:Can't install UML to java generator
Goto Forum:
  


Current Time: Wed Apr 24 14:15:02 GMT 2024

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

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

Back to the top