Author Topic: Java Code Generation Problems  (Read 6505 times)

mattinger

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Java Code Generation Problems
« on: February 10, 2004, 07:13:12 am »
Does anyone know how to change the Java code generation to not use the View name as part of the generated "package" statement in the java file?

For example, if I put classes under the "Static Model" view, when i generate classes, the package statement is generated similar to the following:

package Static Model.com....;

I've looked under the code generation templates, but have had no luck.

Tjerk

  • EA User
  • **
  • Posts: 231
  • Karma: +1/-0
    • View Profile
Re: Java Code Generation Problems
« Reply #1 on: February 11, 2004, 12:16:06 am »
Hi Mattinger,

Try searching for "Set namespace root..." in the forum and the Help files. You should be able to set the root of the packages at any wanted depth in your project (multiple times).

Greetings,
Tjerk