Bug 80999 - Code generation with nested packages doesn't work correctly
Summary: Code generation with nested packages doesn't work correctly
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-05 23:13 UTC by Anthony Parent
Modified: 2004-05-18 22:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***.