Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
I have given a package pack1.pack2 name. It got converted to pack1_pack2 in Java. Is this correct? what are some of the way of creating packages and subpackages on the class diagram. I know of only one – putting one package within another.
Thanks
Leonid
When you are trying to name a package as pack1.pack2, did you get a message saying “Package name must not be qualified”?
The package names will not accept “.”.
Also please tell me what version of ME are you using?
Steps to recreate in ME 8.0 and ME 8.5 UML 1
Create package pack1.pack2
Create class within this package Test
Generate Java
end up with pack1_pack2.Test
NetBeans, on the other hand, generates pack1.pack2.Test …
You are correct, we do not support packages with qualified names for a variety of technical reasons. You do need to nest one package in the other for both our UML1 and UML2 tooling.