Book a Demo

Author Topic: Problmes with Java Import  (Read 3561 times)

mikech

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Problmes with Java Import
« on: December 05, 2004, 08:13:41 pm »
Hello
I find that when importing Java (source or through eclipse), that the EA tool asks me to select one of several classes with indentical names in different packages. Note that while there are two or more identically named classes, the importing class's import statements make it clear which version / package is being referenced.

Any thoughts?
Thanks,
Mike

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Problmes with Java Import
« Reply #1 on: December 06, 2004, 02:45:21 pm »
Hi Mike,

You're right that the import statements identify exactly which class it needs to reference, EA does not currently use those import statements.

Simon

mikech

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Problmes with Java Import
« Reply #2 on: December 07, 2004, 06:42:22 pm »
OK. But its a real pain to make all those selections when importing a large, existing project. Is there any plans to fix and when?

Thanks,
Mike

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Problmes with Java Import
« Reply #3 on: December 07, 2004, 08:10:42 pm »
You can turn off the prompt (Tools | Options | Generation | Prompt for ambiguous relations)

We do have plans to improve this, but no idea when it might be yet.