classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Eclipse 3.0


From: Mark Wielaard
Subject: RE: Eclipse 3.0
Date: Fri, 02 Jul 2004 15:07:58 +0200

Hi,

On Fri, 2004-07-02 at 14:00, Jeroen Frijters wrote:
> I hate to be blunt, but this really isn't helping. I'm afraid It's much
> more subtle than that.

So lets assume someone wants to help track this bug down.
This is what I suggest you do (since that is what I did, not because it
is necessarily the best way to go about it, I just know this setup
works/shows the bug Jeroen and I are seeing):

- Make sure you have all Needed Tools and Libraries
  (http://www.gnu.org/software/classpath/docs/hacking.html#SEC5)
- Get GNU Classpath CVS (https://savannah.gnu.org/cvs/?group=classpath)
- Run:
  cd classpath
  ./autogen.sh
  cd ..
  mkdir classpath-obj
  cd classpath-obj
  ../classpath/configure --with-glibj=both
  make
  make install (make sure /usr/local/classpath is writable)
- Get jamvm 1.1.4 (http://jamvm.sf.net/)
- Run:
  ./configure --prefix=/usr/local/jamvm
  make
  make install (make sure /usr/local/jamvm is writable)
- Get Eclipse 3.0 (eclipse-SDK-3.0-linux-gtk.zip)
http://download2.eclipse.org/downloads/drops/R-3.0-200406251208/index.php
- Run:
  unzip eclipse-SDK-3.0-linux-gtk.zip
  cd eclipse
  export PATH=.:/usr/local/jamvm/bin:$PATH
  ./eclipse -vm jamvm -debug -consoleLog -vmargs -mx128M

That should give you the stacktraces Jeroen and I are seeing.

Now to hack on eclipse to help debug this thing do something like:
- mkdir defaultsrc
- cd defaultsrc
- unzip
../plugins/org.eclipse.platform.source_3.0.0/src/org.eclipse.osgi_3.0.0/defaultAdaptorsrc.zip
- Hack some debug statements in for example BundleResourceHandler.java
- Recompile with:
  jikes-classpath -nowarn -classpath \
    `find ../plugins -name \*.jar | xargs | sed s/\ /:/g` \
    `find org -name \*.java`
  fastjar ../plugins/org.eclipse.osgi_3.0.0/defaultAdaptor.jar *

(Same in a fresh new 'coresrc' directory can be done for
 SystemBundleActivator.java with

../plugins/org.eclipse.platform.source_3.0.0/src/org.eclipse.osgi_3.0.0/coresrc.zipp
 -> ../plugins/org.eclipse.osgi_3.0.0/core.jar)

Happy hacking!
And please let us know if you get any further.
Even partial debug/hacks/output is appreciated.

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]