[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Class folder added to default classpath in dependent project

I have a very frustrating problem which may end up being something very simple.

I have a project (lets call it Project A) set up with Build Path containing 2 source folders (src and test) and 2 class folders (config and configPrivate).

Now I have a dependent project (Project B) which needs to have src, test, and config, but not configPrivate on its Build Path and runtime classpath.

This should be easy. I just go to Project A's Build Path and make sure src, test, and config are setup for export="true" on the Order and Export tab. I make sure configPrivate is NOT setup for export="true". Now I go to Project B's Build Path and add Project A to the Build Path.

The problem is, when I run a Junit test from Project B, I see configPrivate from Project A being added to the default classpath!! I cannot for the life of me get rid of it.

This is on Eclipse 3.0.1. I would be very grateful if someone could please help me out.