RFC: Generate the .classpath file eclipse

Bryan Kearney bkearney at redhat.com
Mon Jan 18 20:20:49 UTC 2010


Any issues if I check this in? This does not keep folks from using a 
maven eclipse plugin. But, it provides one means to keep the code in sync.

-- bk

On 01/14/2010 03:20 PM, Bryan Kearney wrote:
> 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
>



More information about the rhq-devel mailing list