[kepler-dev] [Bug 4191] - Eclipse build is slow the first time "Copying resources to the output folder"

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Sep 17 16:17:21 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4191





------- Comment #4 from aschultz at nceas.ucsb.edu  2009-09-17 16:17 -------
I have explored this problem a little further.  Turns out Eclipse will copy all
the .svn folders to the classes directory if you are not sharing the project
using the subversive plugin.

A quick experiment
Building the ptolemy project without svn sharing: 14 min 03 sec 206 MB copied
Building the ptolemy project with the project shared: 3 min 18 sec  93 MB
copied

You can control what resources are copied at build time in
Preferences->Java->Compiler->Building->Output folder->Filtered resources

Using the following filter
*.launch,.svn,makefile,*.tcl,*.htm,*.html
Building the ptolemy project with the filter and svn: 2 min 08 sec 82 MB copied

You can configure that filter specifically for a project too which the kepler
build system should do automatically.

To close this bug:
1) figure out the best filter for copying resources
2) generate the org.eclipse.jdt.core.prefs and org.eclipse.jdt.launching.prefs
files in the .settings directory whenever the "ant eclipse" build target is run


More information about the Kepler-dev mailing list