Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Java source folder as a subfolder in hierarchy
Java source folder as a subfolder in hierarchy [message #584173] Tue, 04 November 2008 00:25
Petr Hosek is currently offline Petr HosekFriend
Messages: 7
Registered: July 2009
Junior Member

I am developing a Eclipse plugin for the academic component system which
uses own nature as well as Java nature. Each folder in project root
represents entity. Some entities can contain Java source files which are
then placed in entity folder subfolder named 'code'. Then in Project
Explorer, it looks like this:

+ entity1
- entity2
+ code
+ entity3

Therefore, I would like to add these folders to Java Project classpath to
utilize Java environment. Till now it works fine. The problem is, that the
'code' subfolders placed in classpath are then displayed in project root
with the full path which is unwanted behavior. Then in Project Explorer,
it looks like this:

+ entity2/code
+ entity1
+ entity2
+ entity3

The question is, whether this behavior can be changed so that the 'code'
folder will be displayed as the entity subfolder and will be in the Java
Project classpath at the same time (so it will look like the first example
in the Project Explorer)?

I have already gone through documentation and tried several experiments,
but I was unsuccessful so far. Therefore I hope that someone here could
help me with this problem and point me towards the right direction.

Thank you very much for any advice in advance.

Best Regards,

Petr Hosek
Previous Topic:Java source folder as a subfolder in hierarchy
Next Topic:Change the style (viewer) of a view
Goto Forum:

Current Time: Sat Sep 25 16:27:56 GMT 2021

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

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

Back to the top