| Automatically include workspace projects in build path? [message #827499]
||Fri, 23 March 2012 12:09
| David Witherspoon
Registered: July 2009
We have a handful of projects that we build with maven. So I can easily create Eclipse projects for these by doing mvn eclipse:eclipse and importing them. That works great...the build path for each project points to the maven-built JARs for all the other projects, and I can attach source to those for debugging if I want.|
What I am finding, though, is that I really would like to be able to tell Eclipse to prefer workspace projects over their external JARs. This would fix a couple of issues: (1) source gets out of step with the jar, (2) if I want to make changes in another project, I have to stop what I'm doing, reset the build path (add the project, bump to the right order in the Order tab), and then go again.
So for example, suppose workspace contains projects A and B. A depends on B (which is in my workspace), and B depends on C (which is not in my workspace).
I would like Eclipse to automatically recognize that B is a project in my workspace, and add B to the top of the build path for A. Because C is not in my workspace, the JAR for C is in my build path as a library.
Is there way?
Powered by FUDForum
. Page generated in 0.26592 seconds