Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] gtk port

> 
> 
> Havoc Pennington <hp@xxxxxxxxxx> writes: 
> >  - this may simply be my lack of Java skills, but I'm not sure how to
> >    go from changing some of the code in the downloaded zip, to running
> >    a new executable based on my modified copy.  Can someone point me
> >    in the right direction? How do I test changes?
> 
> So I discovered anoncvs is available, which seems more promising than
> the zip download, but am still getting nowhere on building the
> thing. Surely there is a script that compiles/installs the IDE? I see
> these build.properties files, what reads those? Should I be using
> Eclipse itself to build Eclipse? Which of the modules listed in
> CVSROOT/modules do I need to get started?

I'm dropping late, here so I maybe off.
But you should have to "build" anything.
Eclipse is bunch of *.jar  that should be under
<prefix>/plugins/*/*.jar

The only C code is the launcher.  I would have prefer
a shell script but ...

The entry point is org.eclipse.core.launcher.Main
which should be in startup.jar.

> 
> The web site has tons of docs on developing plugins and such, but I
> can't find any docs at all that simply list which modules to grab from
> CVS, and how to build/install the code after I have them.

You need a VM, that's a given
the SDK
JDT if you intend to do Java developping Tools
PDE Plugin Developing Environment if you intend to do Plugins.

I beleive this is the only to plugins that are freely available
for now.

Unzip them in the <prefix>/eclipse/plugins directory and
next time the framework should be able to pick them up.


> 
> I've found the "platform-launcher" module and run build.csh, but that
> just generates a C executable that doesn't work - I run it as follows:
> 
>    $ ./eclipse -vm /opt/IBMJava2-13/bin/java
>    Warning: Couldn't load the pixmap /mnt/space/cvs/eclipse-cvs/platform-launcher/library/motif/./splash/C/splash_full.xpm.
> 
>    Warning: Couldn't load the pixmap /mnt/space/cvs/eclipse-cvs/platform-launcher/library/motif/./splash/C/splash_full.xpm.
> 
>    Warning: Couldn't load the pixmap /mnt/space/cvs/eclipse-cvs/platform-launcher/library/motif/./splash/splash_full.xpm.
> 
>    Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/core/launcher/Main

This one is not good it seems you do not have startup.jar in your classpath.

> So my grep attempts aren't finding this class in the source code -
> where does it live? find -name splash_full.xpm also turns up nothing -
> where can I find that?
> 
> Sorry for the no doubt clueless questions, I'm sure it's all obvious
> once someone points it out. ;-) Are there docs somewhere on this topic?

Hope it is of some help.

--
alain



Back to the top