Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Check project nature of closed projects
Check project nature of closed projects [message #881569] Mon, 04 June 2012 17:09 Go to next message
Eclipse UserFriend
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 17:57 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Check project nature of closed projects [message #881593 is a reply to message #881569] Mon, 04 June 2012 18:00 Go to previous messageGo to next message
Eclipse UserFriend
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 03:41 Go to previous message
Eclipse UserFriend
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 Jul 22 18:47:02 EDT 2025

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

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

Back to the top