[Uml-devel] [Bug 80999] New: Code generation with nested packages doesn't work correctly

Anthony Parent tonyp at pegasusda.com
Thu May 6 00:50:07 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=80999      
           Summary: Code generation with nested packages doesn't work
                    correctly
           Product: umbrello
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel.kde.org
        ReportedBy: tonyp pegasusda com


Version:           CVS (using KDE KDE 3.2.2)
Installed from:    Compiled From Sources
Compiler:          gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) 
OS:          Linux

I created a nested set of packages as follows:

package foo
  class class_1
  package bar
    class class_2
    package yada
      class class_3

When I try to do the code generation, I get class_1 and class_2 but no class_3. The code generation wizard leaves class_3 as "not yet generated". 

Also, the directory structure looks like the following:

foo/
  class_1.h
  class_1.cpp
bar/
  class_2.h
  class_3.h

shouldn't it be:
foo/
  class_1.h
  class_1.cpp
  bar/
    class_2.h
    class_3.h

And finally, when I say a package is a namespace, the namespaces are not nested correctly. They are nested as per the above directory structure.




More information about the umbrello-devel mailing list