Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Help with 3.3M4 ! 'Open Type' does not show project classes
Help with 3.3M4 ! 'Open Type' does not show project classes [message #240021] Tue, 23 January 2007 08:31 Go to next message
Eclipse UserFriend
Hi,

we upgraded from 3.2.1 to 3.3M4 and noticed that none of the classes from
our project source show up in 'Open Type' any more, only runtime and
external jar classes ! The project had been initially created with "Create
project from existing source", so the .project file resides in the source
directory (under Clearcase control), and we usually import the existing
project into a new workspace.

After creating the new workspace, importing the project, and selecting
'Open Type' for the first time, I see the 'Indexing..." dialog which seems
to go through all source files (> 2000), but none of our classes show up.
After hours of tinkering I believe that this is a bug in 3.3, and I was
able to narrow it down to specific cases, and it can be reproduced with a
simple project that contains only a single source file:

(1) create a new project in workspace, with "Use project folder as source
root and create a new class mypackage.MyClass

-or-

(2) create a new project from existing source that contains a class
mypackage.MyClass


If you then select "Open Type", the class 'MyClass' does *not* show up !!


But, if you create the project with "Create separate source and output
folders", or if you *link* the external source folder to your project, the
class will be shown.

I googled for this problem with 3.3 and Open Type, but couldn't come up
with anything. This seemed strange to me, I would expect that a lot of
people would run into the same issue... Is this a known problem, or should
I submit a bug report ?

For now, we moved back to 3.2.1 because of this issue.

Thanks,
Dirk
Re: Help with 3.3M4 ! 'Open Type' does not show project classes [message #240027 is a reply to message #240021] Tue, 23 January 2007 09:24 Go to previous messageGo to next message
Eclipse UserFriend
Dirk Flachbart a écrit :
> I googled for this problem with 3.3 and Open Type, but couldn't come up
> with anything. This seemed strange to me, I would expect that a lot of
> people would run into the same issue... Is this a known problem, or
> should I submit a bug report ?
Sure you should submit a bug report against JDT/Core with steps to
reproduce.
Thanks,
--
Olivier
Re: Help with 3.3M4 ! 'Open Type' does not show project classes [message #240063 is a reply to message #240027] Wed, 24 January 2007 12:08 Go to previous messageGo to next message
Eclipse UserFriend
Olivier Thomann wrote:
> Dirk Flachbart a écrit :
>> I googled for this problem with 3.3 and Open Type, but couldn't come
>> up with anything. This seemed strange to me, I would expect that a lot
>> of people would run into the same issue... Is this a known problem, or
>> should I submit a bug report ?
> Sure you should submit a bug report against JDT/Core with steps to
> reproduce.
> Thanks,
> --
> Olivier

This bug was already identified and is now fixed (see bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=167743).

If there's some urgency, you can use last integration build (see
http://download.eclipse.org/eclipse/downloads/).

Note that this problem only happens when your project has no source
folder. So, if you do not really want to use an integration build, the
workaround may be to create a source folder (select project and click on
item New->Source Folder) and move all your source files in it... This
should solve temporarily your problem.
Re: Help with 3.3M4 ! 'Open Type' does not show project classes [message #240073 is a reply to message #240063] Wed, 24 January 2007 12:23 Go to previous messageGo to next message
Eclipse UserFriend
> This bug was already identified and is now fixed (see bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=167743).

Frederic, thanks for the info, I couldn't find the other bug report before
I submitted my own.


> If there's some urgency, you can use last integration build (see
> http://download.eclipse.org/eclipse/downloads/).

The latest build for Windows seems to have an error status, is it still
stable enough to use ?


> So, if you do not really want to use an integration build, the
> workaround may be to create a source folder (select project and click on
> item New->Source Folder) and move all your source files in it...

Unfortunately, all our sources are under version control in ClearCase, so
this workaround is not an option. I tried to setup a new project and link
to our sources (which also fixes the 'Open Type' bug), but then for some
reason the ClearCase plugin does not detect the sources any more, so this
isn't an option either.

Any word on an estimated release date for M5 ?

Thanks a lot,
Dirk
Re: Help with 3.3M4 ! 'Open Type' does not show project classes [message #240098 is a reply to message #240073] Thu, 25 January 2007 03:30 Go to previous messageGo to next message
Eclipse UserFriend
One thing you can try is to steal the JDT/Core plugin from latest
integration build (even if red status) and paste it into the plugin
folders of your 3.3M4 install.

Look for <install>\plugins\org.eclipse.jdt.core_3.3.0.v_???.jar

If this didn't work, we could post a patch somewhere.

Forthcoming stable deliveries:
Friday Feb. 9, 2006 - Milestone 5 (3.3 M5)
Friday Mar. 23, 2006 - Milestone 6 (3.3 M6)
Friday May 4, 2006 - Milestone 7 (3.3 M5)

Dirk Flachbart wrote:
>
>> This bug was already identified and is now fixed (see bug
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=167743).
>
> Frederic, thanks for the info, I couldn't find the other bug report
> before I submitted my own.
>
>
>> If there's some urgency, you can use last integration build (see
>> http://download.eclipse.org/eclipse/downloads/).
>
> The latest build for Windows seems to have an error status, is it still
> stable enough to use ?
>
>
>> So, if you do not really want to use an integration build, the
>> workaround may be to create a source folder (select project and click
>> on item New->Source Folder) and move all your source files in it...
>
> Unfortunately, all our sources are under version control in ClearCase,
> so this workaround is not an option. I tried to setup a new project and
> link to our sources (which also fixes the 'Open Type' bug), but then for
> some reason the ClearCase plugin does not detect the sources any more,
> so this isn't an option either.
>
> Any word on an estimated release date for M5 ?
>
> Thanks a lot,
> Dirk
>
>
Re: Help with 3.3M4 ! 'Open Type' does not show project classes [message #240127 is a reply to message #240098] Thu, 25 January 2007 08:03 Go to previous message
Eclipse UserFriend
Philippe Mulet wrote:

> One thing you can try is to steal the JDT/Core plugin from latest
> integration build (even if red status) and paste it into the plugin
> folders of your 3.3M4 install.

> Look for <install>pluginsorg.eclipse.jdt.core_3.3.0.v_???.jar

Hi Philippe,

I replaced the JAR and it this seems to work fine, thank you very much !


Regards,
Dirk
Previous Topic:where to get org.eclipse.uml2.Model...
Next Topic:Ant task and XML character data
Goto Forum:
  


Current Time: Sun May 04 14:14:07 EDT 2025

Powered by FUDForum. Page generated in 0.03583 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top