[PDE & SWT] how do I get a platform neutral classpath? [message #33672] |
Thu, 15 May 2003 17:30 |
Eclipse User |
|
|
|
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? - Fixed [message #35867 is a reply to message #34699] |
Fri, 16 May 2003 16:01 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02846 seconds