Book a Demo

Author Topic: Generate package name on code engineering  (Read 3400 times)

oenningj

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Generate package name on code engineering
« on: January 09, 2008, 05:03:10 pm »
HI All,

I'm using EA to generate source code (java), however, it seems that the generated code does not have the package name at the top of the program, even though it's inside a package in UML.

Why?
Is there an option that I'm missing to set somewhere?

Thanks
Jonny

oenningj

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Generate package name on code engineering
« Reply #1 on: January 09, 2008, 06:08:25 pm »
An Addition to the previously stated, it looks like it's only doing missing the package line for interfaces.
For classes it's working OK.
« Last Edit: January 09, 2008, 06:42:49 pm by oenningj »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Generate package name on code engineering
« Reply #2 on: January 09, 2008, 07:05:15 pm »
Look up namespaces.
No, you can't have it!