check How to export Java package?

3 weeks 5 days ago #5963 by ThomasLehmann
Hi All,

I'm new to Modelio and - so far - it is really a nice tool.
However I'm struggling with following "small" problem:
  • I can export easily the classes as Java code but ...
  • ... the package itself is not exported (the package folder is not generated)
  • ... and the Java classes are directy under /src/ and do not contain the "package" directive.
  • Inside Modelio in the navigator on the left side the package is the root of the classes and the package as well as the classes are marked as "Java Element".
  • The package in the navigator is the only element offering me the "Java Designer/generate" command.

Probably I'm doing something wrong. Could you please provide help on it?

Kind Regards,
Thomas

Please Log in or Create an account to join the conversation.

3 weeks 4 days ago #5969 by ebr
Dear Thomas,

Coud send us your project? Wich version of Modelio and Java designer do you use?

When I set packages as "Java element" both my packages and classes are generated.



EBR
Attachments:

Please Log in or Create an account to join the conversation.

3 weeks 2 days ago - 2 weeks 5 days ago #5973 by ThomasLehmann
I found the problem when adjusting it same way as you did.

The node which is named "model" in your screenshot has a package symbol
and was the root for my classes but this one is not handled as package.
When I create a child package below "model" - as you did - this one is then
exported.

Maybe you should not use a package symbol then for "model".

So anyway your answer solved my problem, thank you :)

Please Log in or Create an account to join the conversation.

Moderators: tma
Time to create page: 20.574 seconds
^ Back to Top