RFC: Generate the .classpath file eclipse

Bryan Kearney bkearney at redhat.com
Thu Jan 14 20:20:10 UTC 2010


Here is a patch which will generate the classpath off of the maven repo. 
The main issue this avoids is that if there are plugins which are 
commented out, the .classpath will never be out of sync. The process to 
use this would be:

1) Check out the code.
2) Build it.
3) From the root, run mvn eclipse:eclipse
4) Go into eclipse, import the directory which you created in (1).
4.1) I would create a working set if you have other projects in eclipse.

The main differneces/issues:

A) There is now one project per maven pom.
-- You can see what eclipse looks like before at [1]
-- You can see what eclipse looks like after at [2].
B) Empty directories (i.e. the root) are not shown in eclipse
C) Each directory would need to be added to eGit if you use it.

Comments are welcome.

-- bk

[1] http://bkearney.fedorapeople.org/before.png
[2] http://bkearney.fedorapeople.org/after.png

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-First-cut-at-removing-the-manual-classpath.patch
Type: text/x-patch
Size: 4318 bytes
Desc: not available
Url : https://fedorahosted.org/pipermail/rhq-devel/attachments/20100114/2ba295e0/attachment.bin 


More information about the rhq-devel mailing list