Author Topic: Java Modeling and Code Generation Refinement  (Read 6878 times)

lukasbradley

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Java Modeling and Code Generation Refinement
« on: March 20, 2003, 09:22:51 am »
Since there wasn't any negative reaction to posting desires here, I'll get it started.

--------

The current Help system states that the code generation functions are in the early stages and will be refined in future versions.  I have a few requests that will drastically help this development.  Most will be from a Java development perspective, but I'm sure they will be useful across the board.

1.  Add an option to "lock" the filename to the object name.  Currently, when I create a class "Address" the Filename under General Properties is "Address.java."  If the class name is changed to "AddressVO", the filename should also change to "AddressVO.java".  Another option should attempt to rename any existing "Address.java" file during code generation.  This also should hold true for packages.

2.  Packaging structure needs to be refined for code generation.  Currently, packages are not created as directories.  The code is defaulting into a user directory, or in Windows XP, to the desktop.  If my root "Logical View" directory changes, the code should be generated in the new place, with package directories created as well.

More later.

Lukas

mikeseven

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Java Modeling and Code Generation Refinement
« Reply #1 on: June 20, 2003, 10:25:01 am »
Dear Lucas and Sparx,

Before reading the forum, I actually sent a similar request feature Sparx.

In fact, I consider this incorrect package generation not as a feature but as a bug. I've never seen a UML tool generating Java packages in other directories than the packages' name! And this is against Java rules anyway.

I wish Sparx can correct this asap. Until then, Enterprise Architect is, for us, just a good drawing tool (we can't buy).

Kind regards,

Mike

lukasbradley

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Java Modeling and Code Generation Refinement
« Reply #2 on: June 21, 2003, 08:26:40 am »
Hey Mike,

As you can see, I posted this back in March, and never heard anything.  I think the tool could be VERY competitive on the market, but I have to question the desire and support of the company.

Lukas

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: Java Modeling and Code Generation Refinement
« Reply #3 on: June 21, 2003, 11:02:07 am »
Hi Lukas,

Don't give up hope- I've seen several of my suggestions (and of others as well) incorporated into EA updates.  IMHO, the good folks at Sparx do a great job of listening to the community and getting out updates- it's just that you can't do everything at once.  Perhaps Sparx could (as was suggested some time ago) keep an "Issues Diagram" (EA Custom diagram) on the site to track feature requests, bugs & fixes so the community can keep abreast of development plans?

Cheers,
Fred Woolsey
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.