Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Pimenta on September 06, 2008, 04:49:30 am
-
Hi.
Im my project I have just one (1) class. So, generating code for such class should be simple. However, always when I try to generate, the software complains: "Generation of code for inner classes is only supported through generating the outer class." Why must I consider generationg code for an outer class, if I have just one class? If my classe is an inner class, where is the outer one?
Thanks.
Rodrigo Pimenta Carvalho.
-
[edit]See Simon's post below.[/edit]
Just a guess here, but could it be that there is no namespace root? Or perhaps you have a package set as a namespace root where it should not be.
Select and right-click the package (the one that contains your class) in the Project Browser and toggle the namespace setting. See if that makes a difference.
Otherwise, play with the options on the generation dialog a bit and see if that changes things.
David
-
What is your class nested inside?
If it isn't a package (namespace root or not is irrelevant) then EA will give this message.