Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [PDE & SWT] how do I get a platform neutral classpath?
[PDE & SWT] how do I get a platform neutral classpath? [message #33672] Thu, 15 May 2003 17:30 Go to next message
Eclipse UserFriend
Originally posted by: acme.us.ibm.com

I'm creating a plugin that requires SWT, and we are developing this
plugin in a team environment on Linux, OS X, and Windoze. When I
specify SWT at a required plugin, the system adds a OS specific entry to
the .classpath file. This breaks our other development environments
when whe comit and update at the project level. Is there a way to set
up the project such that we can develop on multiple platforms and not
have to manually change the classpath to SWT?

Bryan
Re: [PDE & SWT] how do I get a platform neutral classpath? [message #34699 is a reply to message #33672] Thu, 15 May 2003 22:17 Go to previous messageGo to next message
Peter Manahan is currently offline Peter ManahanFriend
Messages: 131
Registered: July 2009
Senior Member
Import SWT as a binary project then require the project as part of your
java build path.

Peter
Bryan Hunt wrote:
> I'm creating a plugin that requires SWT, and we are developing this
> plugin in a team environment on Linux, OS X, and Windoze. When I
> specify SWT at a required plugin, the system adds a OS specific entry to
> the .classpath file. This breaks our other development environments
> when whe comit and update at the project level. Is there a way to set
> up the project such that we can develop on multiple platforms and not
> have to manually change the classpath to SWT?
>
> Bryan
Re: [PDE & SWT] how do I get a platform neutral classpath? - Fixed [message #35867 is a reply to message #34699] Fri, 16 May 2003 16:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: acme.us.ibm.com

This fixed me up. Thanks!

Bryan

In <ba13lc$517$1@rogue.oti.com> Peter Manahan wrote:
> Import SWT as a binary project then require the project as part of
> your java build path.
>
> Peter
> Bryan Hunt wrote:
>> I'm creating a plugin that requires SWT, and we are developing this
>> plugin in a team environment on Linux, OS X, and Windoze. When I
>> specify SWT at a required plugin, the system adds a OS specific entry
>> to the .classpath file. This breaks our other development
>> environments when whe comit and update at the project level. Is
>> there a way to set up the project such that we can develop on
>> multiple platforms and not have to manually change the classpath to
>> SWT? Bryan
>
>
Re: [PDE & SWT] how do I get a platform neutral classpath? - Fixed [message #36106 is a reply to message #35867] Fri, 16 May 2003 20:40 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.nos.pam.us.ibm.com

In addition to import the SWT plugin as a project, you should use the
PDE update class path function. That will automatically maintain your
classpath. You shouldn't be updating the classpath by hand for
developing plugins.

Note: If you do use the update classpath, make sure you have your
build.properties set up correctly or update classpath will cause strange
things to happen.

Hint: The new PDE Required plugins container is very useful. Go to
Window->Preferences->Plugin Development->JAva BuildPath Control and
select the "Use classpath container for dependent plugins" checkbox.
Previous Topic:Viewing (or not viewing) binary files
Next Topic:WebBrowser drag & drop (well, drop at least)
Goto Forum:
  


Current Time: Wed Feb 05 06:53:35 GMT 2025

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

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

Back to the top