[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] gtk port
|
I think he just wants to know how to self-host and run a workbench with
his changes in it.
If that is the case, you don't need to build a new executable or new jars
or anything.
(Havoc, self-hosting is our term for developing Eclipse within Eclipse and
running
a second Eclipse workbench with your changes in it to try it out).
The steps we use on the VCM team are (SWT team members can correct if
their setup differs):
1. Start Eclipse workbench.
2. Add the projects you want to hack on to the workspace using the
repositories view
and anonymous CVS.
3. Change code, implement new features, etc.
4. Select the project, Properties->Launcher. Select "Run-time Workbench".
You only have
to do this step once.
5. Select the project and hit the running man icon in the Java
perspective.
A new workbench will appear, and should be running with your changes. SWT
folk can fill you
in on anything I got wrong above.
Hope this helps,
james
"Veronika Irvine/OTT/OTI" <Veronika_Irvine@xxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
11/14/2001 04:08 PM
Please respond to platform-swt-dev
To: platform-swt-dev@xxxxxxxxxxx
cc:
Subject: Re: [platform-swt-dev] gtk port
If you want to run a standalone SWT application you do not need the
platform-launcher - this creates the eclipse executable which simply
brings up a splash screen and launches Eclipse via a java command.
If you just want to hack around SWT - you only need the swt library and
the swt jar. Look at the project org.eclipse.swt.
For examples of simple standalone SWT applications, look at the project
org.eclipse.swt.examples.
In answer to the various questions you have raised:
The splash_full.xpm and splash_basic.xpm are not part of the
"platform-launcher" or anywhere else in CVS - they are added in by the
guys who package up the build.
You can get a copy of the files by downloading the linux motif eclipse SDK
and look in eclipse/splash.
The build.properties are read by an eclipse plugin which produces from
them an ANT script and then ANT is used to build the jars and src.zip
files for each plugin.
All building of the libraries (swt-win32.dll, libswt-linux.so etc) is done
by the SWT team and the compiled libraries are released into the CVS
repository. The code and makefiles for these libraries can be found in
org.eclipse.swt/Eclipse SWT/motif/library etc.
There are several articles about SWT on eclipse corner. See:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/main.html
http://www.eclipsecorner.org/articles/Article-SWT-Design-1/SWT-Design-1.html
http://www.eclipsecorner.org/articles/Article-Writing%20Your%20Own%20Widget/Writing%20Your%20Own%20Widget.htm
http://www.eclipsecorner.org/articles/SWT%20Color%20Model/swt-color-model.htm
Havoc Pennington <hp@xxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
14/11/2001 03:38 PM
Please respond to platform-swt-dev
To: platform-swt-dev@xxxxxxxxxxx
cc:
Subject: 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?
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.
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
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?
Havoc
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev