Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to choose the libswt?
How to choose the libswt? [message #106118] Mon, 04 August 2003 14:22 Go to next message
Eclipse UserFriend
Originally posted by: rlopes.ipb.pt

Hi!

Having installed two SWT libs, such as motif and gtk2 (since I'm using
Debian's sid, I installed libswt2.1-gtk-java and libswt-2.1-motif-java),
how can I choose which one of them should eclipse use?

Cheers,

/rp
Re: How to choose the libswt? [message #106147 is a reply to message #106118] Mon, 04 August 2003 14:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: burner.zclipse.org

On Mon, 04 Aug 2003 19:22:16 +0100, Rui Pedro Lopes wrote:

> Hi!
>
> Having installed two SWT libs, such as motif and gtk2 (since I'm using
> Debian's sid, I installed libswt2.1-gtk-java and libswt-2.1-motif-java),
> how can I choose which one of them should eclipse use?
>

eclipse -ws motif
eclipse -ws gtk

mike

> Cheers,
>
> /rp

--
http://zclipse.org
Re: How to choose the libswt? [message #106178 is a reply to message #106118] Mon, 04 August 2003 15:50 Go to previous message
Eclipse UserFriend
Originally posted by: muelleimer.usenet.katzien.de

Hallo!

* Rui Pedro Lopes <rlopes@ipb.pt> wrote:
> Having installed two SWT libs, such as motif and gtk2 (since I'm using
> Debian's sid, I installed libswt2.1-gtk-java and libswt-2.1-motif-java),
> how can I choose which one of them should eclipse use?

One of these:
|update-alternatives --config libswt2.1-java.jars # as root
-> sets the default swt for the whole system, gtk is installed as
default alternative.
|$EDITOR $HOME/.eclipse/eclipserc
-> sets your default (set the WS value to "-ws gtk" or "-ws motif")
|eclipse -ws motif|gtk
-> will start eclipse with the specified WS

BTW, there is a icon in Development|Debian|Eclipse...

Please note, that this are features of the debian packages and it seems
that this is not supported out of the box. It can happen that the
update-reconciler (directly after upgrade) has some issues with this
and eclipse will fail, because the SWT plugins are disabled. Another
start should fix this (there is a workaround to enable them at
startup). I don't have an idea yet, when exactly this will happen :(
http://bugs.eclipse.org/bugs/show_bug.cgi?id=37321

Jan
Previous Topic:TextActionHandler gets stomped on
Next Topic:Best way to seperate Data from plugin
Goto Forum:
  


Current Time: Thu Jul 17 23:55:22 EDT 2025

Powered by FUDForum. Page generated in 0.68339 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top