Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing import in generated classes when using packages in a model #882

Closed
Johann-Angeli opened this issue Aug 9, 2016 · 3 comments
Closed
Assignees
Milestone

Comments

@Johann-Angeli
Copy link

When referencing classes, from an other package, in a model, the generated classes are missing the import related to that package.

In the following example, the vehicle class references an Engine from the package "powertrain".

image

The generated source of the classe Vehicle
image

Environment

  • Eclipse NEON
  • UMLGen Java Generator, version 3.0.0.201511201014
  • UML Designer, version 7.0.0.201608031416
  • JRE 1.8.0_45
@mbats mbats added this to the 7.1.0 milestone Oct 14, 2016
@AxelRICHARD
Copy link
Member

AxelRICHARD commented Jan 24, 2017

Hi,

The problem comes from the UMLGen project of Eclipse.
I raised a bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=510980, and proposed a patch to fix the problem.

@AxelRICHARD AxelRICHARD self-assigned this Jan 25, 2017
@Johann-Angeli
Copy link
Author

Hi,

Thanks.

But it looks like the reported bug id is incorrect (bug id is 510980 and not 51980).
Then the good link is https://bugs.eclipse.org/bugs/show_bug.cgi?id=510980

@AxelRICHARD
Copy link
Member

We finally migrated the UMLGen plug-ins into UML Designer.
The fix for this problem #882 has been integrated along with #921.

@mbats mbats modified the milestones: 7.2.0, 8.0.0 Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants