Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Java source folder as a subfolder in hierarchy
Java source folder as a subfolder in hierarchy [message #257305] Mon, 10 November 2008 18:38
Eclipse UserFriend
Hello,

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:

project
+ 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:

project
+ 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:User lib source not referenced by debugger?
Next Topic:java source code formatting
Goto Forum:
  


Current Time: Wed Apr 23 02:17:15 EDT 2025

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

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

Back to the top