Bug 80999

Summary: Code generation with nested packages doesn't work correctly
Product: [Applications] umbrello Reporter: Anthony Parent <tonyp>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anthony Parent 2004-05-05 23:13:14 UTC
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.
Comment 1 Anthony Parent 2004-05-05 23:22:19 UTC
cc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Comment 2 Anthony Parent 2004-05-05 23:23:18 UTC
I am using the CVS version of umbrello, updated May 5, 2004
Comment 3 Oliver Kellogg 2004-05-18 22:43:21 UTC
*** Bug has been marked as fixed ***.