Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Check project nature of closed projects
Check project nature of closed projects [message #881569] Mon, 04 June 2012 21:09 Go to next message
John M. is currently offline John M.Friend
Messages: 198
Registered: July 2010
Senior Member
Hello,

I am trying to check the project nature of a closed project, so I implemented my own filter.
To check the closed project I have to open them, which leads into the Ignored reentrant call while viewer is busy. This is only logged once per viewer instance, but similar calls will still be ignored. error, but it works.

I think it isn't the best way, so I am searching for a better way.
The JDT supports such a possibility, but I don't know how.

Thanks for any hints.
Re: Check project nature of closed projects [message #881591 is a reply to message #881569] Mon, 04 June 2012 21:57 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4425
Registered: July 2009
Senior Member

On 6/4/2012 5:09 PM, Missing name Mising name wrote:
> I am trying to check the project nature of a closed project, so I
> implemented my own filter.
> To check the closed project I have to open them, which leads into the
> Ignored reentrant call while viewer is busy. This is only logged once
> per viewer instance, but similar calls will still be ignored. error, but
> it works.
>
> I think it isn't the best way, so I am searching for a better way.
> The JDT supports such a possibility, but I don't know how.

Are you sure it does? A Closed project pretty much off-limits. Why do
you need to filter it?

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Check project nature of closed projects [message #881593 is a reply to message #881569] Mon, 04 June 2012 22:00 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
with IWorkspace.loadProjectDescription() you can read the project
description from an arbitrary project. It will return an
IProjectDescription with tells you that nature id's the project has.

Not sure if that helps. Regards
Rüdiger

On 04.06.2012 23:09, Missing name Mising name wrote:
> Hello,
>
> I am trying to check the project nature of a closed project, so I
> implemented my own filter.
> To check the closed project I have to open them, which leads into the
> Ignored reentrant call while viewer is busy. This is only logged once
> per viewer instance, but similar calls will still be ignored. error, but
> it works.
>
> I think it isn't the best way, so I am searching for a better way.
> The JDT supports such a possibility, but I don't know how.
>
> Thanks for any hints.
Re: Check project nature of closed projects [message #881749 is a reply to message #881593] Tue, 05 June 2012 07:41 Go to previous message
John M. is currently offline John M.Friend
Messages: 198
Registered: July 2010
Senior Member
Nitin Dahyabhai wrote on Mon, 04 June 2012 17:57

Are you sure it does? A Closed project pretty much off-limits. Why do
you need to filter it?

I want to show only content of a specified project nature and closed projects too.

Rüdiger Herrmann wrote on Mon, 04 June 2012 18:00
with IWorkspace.loadProjectDescription() you can read the project
description from an arbitrary project. It will return an
IProjectDescription with tells you that nature id's the project has.

Not sure if that helps. Regards
Rüdiger

Thanks, that was the function I am looking for.
Previous Topic:Environment variable support in workspace files
Next Topic:ClassNotFound for class in dependency and can't debug
Goto Forum:
  


Current Time: Tue Mar 19 04:03:23 GMT 2024

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

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

Back to the top