[fedora-java] Eclipse 3.1.1

Andrew Overholt overholt at redhat.com
Wed Oct 12 19:43:28 UTC 2005


Hi,

I got Eclipse 3.1.1 built into rawhide last night and I was able to use it
to check out GNU Classpath [1] and build everything (using Tom Tromey's
builders for the native part and the locale creation, etc.)!  This was the
first time I've been able to do this with our Eclipse.

There is one small wrinkle, though:  I forgot to apply one patch to the
build [1] so you'll get lots of OutOfMemory errors.  I've applied the patch
in CVS now and the build should sync up to mirrors tomorrow.

If you are absolutely dying to try it today, you can do the following:

  # First, grab what's in rawhide ... eclipse-jdt can be eclipse-pde, etc.
  sudo yum --enablerepo=development install eclipse-jdt

  # Then, grab the patched org.eclipse.jdt.core_3.1.1.jar{,.so{,.db}}
  wget http://overholt.ca/org.eclipse.jdt.core_3.1.1.jar
  wget http://overholt.ca/org.eclipse.jdt.core_3.1.1.jar.so
  wget http://overholt.ca/org.eclipse.jdt.core_3.1.1.jar.db
  sudo mv /usr/share/eclipse/plugins/org.eclipse.jdt.core_3.1.1.jar{,.bak}
  sudo mv /usr/lib/gcj/eclipse/org.eclipse.jdt.core_3.1.1.jar.so{,.bak}
  sudo mv /usr/lib/gcj/eclipse/org.eclipse.jdt.core_3.1.1.jar.db{,.bak}
  sudo cp org.eclipse.jdt.core_3.1.1.jar /usr/share/eclipse/plugins
  sudo cp org.eclipse.jdt.core_3.1.1.jar.so /usr/lib/gcj/eclipse
  sudo cp org.eclipse.jdt.core_3.1.1.jar.db /usr/lib/gcj/eclipse
  sudo rebuild-gcj-db

You should now be able to start up Eclipse.  Be careful with workspaces,
though, because I read that workspaces that have been "3.1.1-ified" may
(will?) not work with older releases.  Also, as with most upgrades, if you
experience problems, try mv ~/.eclipse{,.bak} (unless you've put plug-ins in
there or something you want to keep using).

As usual, please report bugs at:

https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora%20Core&version=devel&component=eclipse

Thanks,

Andrew

[1]
I'm still having issues with varying levels of CVS compression.  It seems
to be most reliable when checked out with the default level of 0.  Yes,
this is slow, but I'd rather it actually finished.

[2]
https://bugs.eclipse.org/bugs/show_bug.cgi?id=111299

patch:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelCache.java.diff?r2=1.20.4.2&r1=1.20.4.1&diff_format=u




More information about the fedora-devel-java-list mailing list