Book a Demo

Author Topic: Code Engineering - Java  (Read 3341 times)

Stefan

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Code Engineering - Java
« on: December 12, 2004, 10:02:06 am »
Fairly new to the tool and overall excellent impression.
However, puzzled by a few items related to Java code engineering.
I did this exercise: Import all Java source code for JDK 1.4 and export as a separate XML package.
1.I find no value at all for the pop up dialog: “Ambiguous Generalization Relationship”. I understand its purpose, but unless I have an intimate knowledge of literally hundreds of classes I have no way to make a valid decision, so the dialog will “stay in the way” … hundreds of times. Maybe a default with “Pick first” would help.
(I think for JDK 1.5 where I only tried Util package the problem would be insurmontabile)
2.More aggravating was trying to export this package to an XML file, so I could import in other projects. Here I had to use the task manager to stop the application since in ½ hour was still running with a very slow rate of updating XML file. Is there any other way to deal with this size of packages? Is there a size limit for exporting a package?

I am using version 4.50.743

Stefan

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Code Engineering - Java
« Reply #1 on: December 12, 2004, 10:15:09 am »
Got my answer for 1., it is there already:
You can turn off the prompt (Tools | Options | Generation | Prompt for ambiguous relations)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Code Engineering - Java
« Reply #2 on: December 12, 2004, 05:29:57 pm »
For 2, there isn't a limit besides the practical limits of "how long are you willing to wait" and "how big do you want your xml file".  A model containing an import of the JDK will be pretty huge, it's pretty inevitable that the XMI export will be correspondingly large and take a correspondingly long time.

Simon

PS. Java 1.5 is not actually supported by EA yet so importing JDK 1.5 is sure to result in errors.  This support is on the way though.
« Last Edit: December 12, 2004, 05:30:33 pm by simonm »