Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Developing SWT code with Eclipse users on other platforms
Developing SWT code with Eclipse users on other platforms [message #401086] Sun, 28 December 2003 23:20 Go to next message
Ian Clarke is currently offline Ian ClarkeFriend
Messages: 27
Registered: July 2009
Junior Member
I am working on some code which uses the SWT library and am cooperating
with people who use various platforms (I use Linux, they use Windows) on
the same code through CVS in Eclipse.

I have added:
ECLIPSE_HOME/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.ja r

to the list of project libraries, however other developers would need to
use the win32 swt.jar file. This is a problem if we want to share a
project file. Is there any way that we can make Eclipse include the
appropriate SWT jar depending on the platform without having to use
separate project files?

Ian.
Re: Developing SWT code with Eclipse users on other platforms [message #401334 is a reply to message #401086] Mon, 29 December 2003 09:29 Go to previous messageGo to next message
Chemi is currently offline ChemiFriend
Messages: 107
Registered: July 2009
Senior Member
Use ClassPath Variables, instead of direct PATHs.

Hope this helps,

Chemi.

Ian Clarke wrote:

> I am working on some code which uses the SWT library and am cooperating
> with people who use various platforms (I use Linux, they use Windows) on
> the same code through CVS in Eclipse.
>
> I have added:
> ECLIPSE_HOME/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.ja r
>
> to the list of project libraries, however other developers would need to
> use the win32 swt.jar file. This is a problem if we want to share a
> project file. Is there any way that we can make Eclipse include the
> appropriate SWT jar depending on the platform without having to use
> separate project files?
>
> Ian.
Re: Developing SWT code with Eclipse users on other platforms [message #401354 is a reply to message #401334] Mon, 29 December 2003 14:39 Go to previous messageGo to next message
Ian Clarke is currently offline Ian ClarkeFriend
Messages: 27
Registered: July 2009
Junior Member
Chemi wrote:
> Use ClassPath Variables, instead of direct PATHs.

Thanks, but I am not sure how to do this - do I do it from Project
Properties -> Java Build Path -> Libraries?

Thanks,

Ian.
Re: Developing SWT code with Eclipse users on other platforms [message #401367 is a reply to message #401354] Mon, 29 December 2003 16:30 Go to previous message
Chemi is currently offline ChemiFriend
Messages: 107
Registered: July 2009
Senior Member
Define the variables at Window -> Preferences -> Java -> ClassPath
Variables.
Then, use them at Project Properties -> Java Build Path -> Libraries ->
Add variable...

Regards,

Chemi.

Ian Clarke wrote:

> Chemi wrote:
>
>> Use ClassPath Variables, instead of direct PATHs.
>
>
> Thanks, but I am not sure how to do this - do I do it from Project
> Properties -> Java Build Path -> Libraries?
>
> Thanks,
>
> Ian.
Previous Topic:rectangular selection
Next Topic:embedding Word.Document with SWT - a solution?...
Goto Forum:
  


Current Time: Fri Apr 19 09:13:28 GMT 2024

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

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

Back to the top