Subclipse : Package explorer don't show packages, it shows file directory view :(

View: New views
3 Messages — Rating Filter:   Alert me  

Subclipse : Package explorer don't show packages, it shows file directory view :(

by Kapilacse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a problem regarding Subclipse and the Eclipse Package Explorer. The svn update-progress itself works perfect, however when I restart Eclipse after having updated the sources with Subclipse, the Eclipse Package Explorer shows every file/directory as if it was a single package. Thus the view is confusing. Is this a known problem? Does anyone know a fix? Thanks in advance Kapila


Re: [Subclipse-users] Subclipse : Package explorer don't show packages, it shows file directory view :(

by Mark Phippard-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Sep 26, 2009 at 9:24 AM, Kapilacse <k.bogahapitiya@...> wrote:
> I have a problem regarding Subclipse and the Eclipse Package Explorer. The
> svn update-progress itself works perfect, however when I restart Eclipse
> after having updated the sources with Subclipse, the Eclipse Package
> Explorer shows every file/directory as if it was a single package. Thus the
> view is confusing. Is this a known problem? Does anyone know a fix? Thanks
> in advance Kapila

See that little "P" decorator on the project?  I bet that means it is
a PHP project so the Java tooling for the package explorer would not
show any of the Java features.  Maybe when you updated you received an
update to the .project file.  Open this file in a text editor and see
what project natures it has associated with it.  It looks like it does
not have the java nature anymore.

You should be able to create a new Java project then open its .project
file and cut and paste the relevant XML into yours to restore this.


--
Thanks

Mark Phippard
http://markphip.blogspot.com/

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2400562

To unsubscribe from this discussion, e-mail: [users-unsubscribe@...].

Re: [Subclipse-users] Subclipse : Package explorer don't show packages, it shows file directory view :(

by Kapilacse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you mark , your solution works, thanks again,

Kapila