Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » 3.1RC3: Run As -> SWT Application
3.1RC3: Run As -> SWT Application [message #457181] Mon, 20 June 2005 19:21 Go to next message
Christian Hauser is currently offline Christian HauserFriend
Messages: 189
Registered: July 2009
Senior Member
Hello

I'm missing the SWT launcher (Run As -> SWT Application) since Eclipse
3.1RC3 to easily start SWT applications.

Could someone please point me to the related bug number or an official
statement as to why this IMHO very useful feature has been removed?

Thanks for any hint,
Christian
Re: 3.1RC3: Run As -> SWT Application [message #457189 is a reply to message #457181] Mon, 20 June 2005 19:51 Go to previous messageGo to next message
DJ Houghton is currently offline DJ HoughtonFriend
Messages: 28
Registered: July 2009
Junior Member
http://dev.eclipse.org/mhonarc/lists/platform-dev/msg00619.h tml

Christian Hauser wrote:
> Hello
>
> I'm missing the SWT launcher (Run As -> SWT Application) since Eclipse
> 3.1RC3 to easily start SWT applications.
>
> Could someone please point me to the related bug number or an official
> statement as to why this IMHO very useful feature has been removed?
>
> Thanks for any hint,
> Christian
Re: 3.1RC3: Run As -> SWT Application [message #457190 is a reply to message #457181] Mon, 20 June 2005 20:02 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Instead of using Run As SWT... you can do one of the following:

A) Using SWT for standalone applications

Download SWT for standalone applications. A standalone version of SWT is
available on the same download page as the Eclipse SDK. Look for the section
titled SWT Binary and Source. Do not extract the archive file, just save it
to
disk.
Select Import... from the File menu.
Select Existing Projects into Workspace and click on the Next button.
Select Select archive file: and use the Browse button to locate the SWT
standalone archive you have previously downloaded.
Click on the Finish button.
Add org.eclipse.swt to your project java build path.

B) Using SWT that is shipped with Eclipse

Select "Import..." from the File menu.
Select "External Plug-ins and Fragments" in the Import wizard and click
on the "Next" button.
Select "Import As Binary projects" and make sure the target platform is
correct. Click on the "Next" button.
Select org.eclipse.swt and org.eclipse.swt.<ws>.<os>.<arch> and click
on the "Add" button.
(<ws>, <os>, and <arch> should be replaced with the values for the
platform you wish to run against. e.g. org.eclipse.swt.gtk.linux.x86)
Click on the "Finish" button.
Select org.eclipse.swt in the Package Explorer. From the right mouse
menu, select "Properties".
Click on "Java Build Path" and then click on the "Libraries" tab.
Click on the "Add Jars..." button.
Select
org.eclipse.swt.<ws>.<os>.<arch>/org.eclipse.swt.<ws>. <os>.<arch>_3.1.0.jar
and click on the "OK" button.
Expand org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar in the Libraries tab
and select "Native library location".
Click on the "Edit..." button.
Click on the "Workspace..." button in the "Native Library Folder
Configuration" dialog.
Select org.eclipse.swt.<ws>.<os>.<arch> and click on the "OK" button.
Click on the "OK" button in the "Native Library Folder Configuration"
dialog.
Click on the "Order and Export" tab in the "properties for
org.eclipse.swt" dialog.
Place a check against org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar.
Click on the "OK" button.
Add org.eclipse.swt to your project java build path.


"Christian Hauser" <c.hauser@active.ch> wrote in message
news:d97508$5uc$1@news.eclipse.org...
> Hello
>
> I'm missing the SWT launcher (Run As -> SWT Application) since Eclipse
> 3.1RC3 to easily start SWT applications.
>
> Could someone please point me to the related bug number or an official
> statement as to why this IMHO very useful feature has been removed?
>
> Thanks for any hint,
> Christian
Re: 3.1RC3: Run As -> SWT Application [message #457192 is a reply to message #457189] Mon, 20 June 2005 21:01 Go to previous messageGo to next message
Christian Hauser is currently offline Christian HauserFriend
Messages: 189
Registered: July 2009
Senior Member
DJ Houghton wrote:
> http://dev.eclipse.org/mhonarc/lists/platform-dev/msg00619.h tml

Thanks. That was the mail I was looking for.
Re: 3.1RC3: Run As -> SWT Application [message #457193 is a reply to message #457190] Mon, 20 June 2005 21:11 Go to previous messageGo to next message
Christian Hauser is currently offline Christian HauserFriend
Messages: 189
Registered: July 2009
Senior Member
Veronika Irvine wrote:
> Instead of using Run As SWT... you can do one of the following:
>
> A) Using SWT for standalone applications
>
> [...]
>
> B) Using SWT that is shipped with Eclipse
>
> [...]

Thank you Veronika for your detailed reply.

These are quite a few more steps to take now. I'm looking forward to
seeing a wizard for these steps for the next Eclipse release... ;-)

Christian
Re: 3.1RC3: Run As -> SWT Application [message #457197 is a reply to message #457190] Tue, 21 June 2005 01:13 Go to previous messageGo to next message
Michael Baehr is currently offline Michael BaehrFriend
Messages: 5
Registered: July 2009
Junior Member
Is there a way to revive existing SWT launch configurations?

On Mon, 20 Jun 2005 16:02:41 -0400, "Veronika Irvine"
<veronika_irvine@oti.com> wrote:

>Instead of using Run As SWT... you can do one of the following:
>
>A) Using SWT for standalone applications
>
> Download SWT for standalone applications. A standalone version of SWT is
>available on the same download page as the Eclipse SDK. Look for the section
>titled SWT Binary and Source. Do not extract the archive file, just save it
>to
>disk.
>Select Import... from the File menu.
>Select Existing Projects into Workspace and click on the Next button.
>Select Select archive file: and use the Browse button to locate the SWT
>standalone archive you have previously downloaded.
>Click on the Finish button.
>Add org.eclipse.swt to your project java build path.
>
>B) Using SWT that is shipped with Eclipse
>
>Select "Import..." from the File menu.
>Select "External Plug-ins and Fragments" in the Import wizard and click
>on the "Next" button.
>Select "Import As Binary projects" and make sure the target platform is
>correct. Click on the "Next" button.
>Select org.eclipse.swt and org.eclipse.swt.<ws>.<os>.<arch> and click
>on the "Add" button.
>(<ws>, <os>, and <arch> should be replaced with the values for the
>platform you wish to run against. e.g. org.eclipse.swt.gtk.linux.x86)
>Click on the "Finish" button.
>Select org.eclipse.swt in the Package Explorer. From the right mouse
>menu, select "Properties".
>Click on "Java Build Path" and then click on the "Libraries" tab.
>Click on the "Add Jars..." button.
>Select
>org.eclipse.swt.<ws>.<os>.<arch>/org.eclipse.swt.<ws >.<os>.<arch>_3.1.0.jar
>and click on the "OK" button.
>Expand org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar in the Libraries tab
>and select "Native library location".
>Click on the "Edit..." button.
>Click on the "Workspace..." button in the "Native Library Folder
>Configuration" dialog.
>Select org.eclipse.swt.<ws>.<os>.<arch> and click on the "OK" button.
>Click on the "OK" button in the "Native Library Folder Configuration"
>dialog.
>Click on the "Order and Export" tab in the "properties for
>org.eclipse.swt" dialog.
>Place a check against org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar.
>Click on the "OK" button.
>Add org.eclipse.swt to your project java build path.
>
>
>"Christian Hauser" <c.hauser@active.ch> wrote in message
>news:d97508$5uc$1@news.eclipse.org...
>> Hello
>>
>> I'm missing the SWT launcher (Run As -> SWT Application) since Eclipse
>> 3.1RC3 to easily start SWT applications.
>>
>> Could someone please point me to the related bug number or an official
>> statement as to why this IMHO very useful feature has been removed?
>>
>> Thanks for any hint,
>> Christian
>
Re: 3.1RC3: Run As -> SWT Application [message #457198 is a reply to message #457197] Tue, 21 June 2005 02:27 Go to previous messageGo to next message
Wassim Melhem is currently offline Wassim MelhemFriend
Messages: 28
Registered: July 2009
Junior Member
Michael Baehr wrote:

> Is there a way to revive existing SWT launch configurations?

Unfortunately no.

The swt launcher plugin.xml markup as well as the related java code has
been removed.

Wassim.
Re: 3.1RC3: Run As -> SWT Application [message #457210 is a reply to message #457190] Tue, 21 June 2005 17:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

This seems a big step backward in usability. :(

Bob

Veronika Irvine wrote:
> Instead of using Run As SWT... you can do one of the following:
>
> A) Using SWT for standalone applications
>
> Download SWT for standalone applications. A standalone version of SWT is
> available on the same download page as the Eclipse SDK. Look for the section
> titled SWT Binary and Source. Do not extract the archive file, just save it
> to
> disk.
> Select Import... from the File menu.
> Select Existing Projects into Workspace and click on the Next button.
> Select Select archive file: and use the Browse button to locate the SWT
> standalone archive you have previously downloaded.
> Click on the Finish button.
> Add org.eclipse.swt to your project java build path.
>
> B) Using SWT that is shipped with Eclipse
>
> Select "Import..." from the File menu.
> Select "External Plug-ins and Fragments" in the Import wizard and click
> on the "Next" button.
> Select "Import As Binary projects" and make sure the target platform is
> correct. Click on the "Next" button.
> Select org.eclipse.swt and org.eclipse.swt.<ws>.<os>.<arch> and click
> on the "Add" button.
> (<ws>, <os>, and <arch> should be replaced with the values for the
> platform you wish to run against. e.g. org.eclipse.swt.gtk.linux.x86)
> Click on the "Finish" button.
> Select org.eclipse.swt in the Package Explorer. From the right mouse
> menu, select "Properties".
> Click on "Java Build Path" and then click on the "Libraries" tab.
> Click on the "Add Jars..." button.
> Select
> org.eclipse.swt.<ws>.<os>.<arch>/org.eclipse.swt.<ws>. <os>.<arch>_3.1.0.jar
> and click on the "OK" button.
> Expand org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar in the Libraries tab
> and select "Native library location".
> Click on the "Edit..." button.
> Click on the "Workspace..." button in the "Native Library Folder
> Configuration" dialog.
> Select org.eclipse.swt.<ws>.<os>.<arch> and click on the "OK" button.
> Click on the "OK" button in the "Native Library Folder Configuration"
> dialog.
> Click on the "Order and Export" tab in the "properties for
> org.eclipse.swt" dialog.
> Place a check against org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar.
> Click on the "OK" button.
> Add org.eclipse.swt to your project java build path.
>
>
> "Christian Hauser" <c.hauser@active.ch> wrote in message
> news:d97508$5uc$1@news.eclipse.org...
>
>>Hello
>>
>>I'm missing the SWT launcher (Run As -> SWT Application) since Eclipse
>>3.1RC3 to easily start SWT applications.
>>
>>Could someone please point me to the related bug number or an official
>>statement as to why this IMHO very useful feature has been removed?
>>
>>Thanks for any hint,
>> Christian
>
>
>
Re: 3.1RC3: Run As -> SWT Application [message #457211 is a reply to message #457198] Tue, 21 June 2005 17:24 Go to previous messageGo to next message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"Wassim Melhem" <wassimm@ibm.canada> wrote in message
news:c15e4e2f30c9897aac6c6f7e7a054928$1@www.eclipse.org...
> Michael Baehr wrote:
> > Is there a way to revive existing SWT launch configurations?
> Unfortunately no.
> The swt launcher plugin.xml markup as well as the related java code has
> been removed.
Wassim, between which CVS tag did this happen?
Thanks
Re: 3.1RC3: Run As -> SWT Application [message #457221 is a reply to message #457211] Tue, 21 June 2005 21:54 Go to previous messageGo to next message
Wassim Melhem is currently offline Wassim MelhemFriend
Messages: 28
Registered: July 2009
Junior Member
From bug 100089, it appears as though I removed all traces of the launcher
on June 14. Any version before that date should still have it.

Wassim.

> Wassim, between which CVS tag did this happen?
> Thanks
Re: 3.1RC3: Run As -> SWT Application [message #457225 is a reply to message #457190] Tue, 21 June 2005 22:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.no

"Veronika Irvine" <veronika_irvine@oti.com> wrote in message
news:d977d7$8t5$1@news.eclipse.org...
> Instead of using Run As SWT... you can do one of the following:
> (very long recipe)

Why on earth would you think it is a good idea (or even user friendly) to
replace "Run As - SWT application" with such a enormously long and
complicated recipe?

Will users have to wait until Eclipse 3.2 in order to easily run SWT
applications again ?
Re: 3.1RC3: Run As -> SWT Application [message #457293 is a reply to message #457190] Wed, 22 June 2005 19:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexsmr.NOJUNK.sympatico.ca

+1 for having it back or (better) providing generic wizard for setting a
classpath libs from existing platform plugins.


Veronika Irvine wrote:
> Instead of using Run As SWT... you can do one of the following:
>
> A) Using SWT for standalone applications
>
> Download SWT for standalone applications. A standalone version of SWT is
> available on the same download page as the Eclipse SDK. Look for the section
> titled SWT Binary and Source. Do not extract the archive file, just save it
> to
> disk.
> Select Import... from the File menu.
> Select Existing Projects into Workspace and click on the Next button.
> Select Select archive file: and use the Browse button to locate the SWT
> standalone archive you have previously downloaded.
> Click on the Finish button.
> Add org.eclipse.swt to your project java build path.
>
> B) Using SWT that is shipped with Eclipse
>
> Select "Import..." from the File menu.
> Select "External Plug-ins and Fragments" in the Import wizard and click
> on the "Next" button.
> Select "Import As Binary projects" and make sure the target platform is
> correct. Click on the "Next" button.
> Select org.eclipse.swt and org.eclipse.swt.<ws>.<os>.<arch> and click
> on the "Add" button.
> (<ws>, <os>, and <arch> should be replaced with the values for the
> platform you wish to run against. e.g. org.eclipse.swt.gtk.linux.x86)
> Click on the "Finish" button.
> Select org.eclipse.swt in the Package Explorer. From the right mouse
> menu, select "Properties".
> Click on "Java Build Path" and then click on the "Libraries" tab.
> Click on the "Add Jars..." button.
> Select
> org.eclipse.swt.<ws>.<os>.<arch>/org.eclipse.swt.<ws>. <os>.<arch>_3.1.0.jar
> and click on the "OK" button.
> Expand org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar in the Libraries tab
> and select "Native library location".
> Click on the "Edit..." button.
> Click on the "Workspace..." button in the "Native Library Folder
> Configuration" dialog.
> Select org.eclipse.swt.<ws>.<os>.<arch> and click on the "OK" button.
> Click on the "OK" button in the "Native Library Folder Configuration"
> dialog.
> Click on the "Order and Export" tab in the "properties for
> org.eclipse.swt" dialog.
> Place a check against org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar.
> Click on the "OK" button.
> Add org.eclipse.swt to your project java build path.
>
>
> "Christian Hauser" <c.hauser@active.ch> wrote in message
> news:d97508$5uc$1@news.eclipse.org...
>
>>Hello
>>
>>I'm missing the SWT launcher (Run As -> SWT Application) since Eclipse
>>3.1RC3 to easily start SWT applications.
>>
>>Could someone please point me to the related bug number or an official
>>statement as to why this IMHO very useful feature has been removed?
>>
>>Thanks for any hint,
>> Christian
>
>
>
Re: 3.1RC3: Run As -> SWT Application [message #457294 is a reply to message #457293] Wed, 22 June 2005 19:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexsmr.NOJUNK.sympatico.ca

BTW, osgi spec provides the way to load native libraries. Why I dont see
this in current SWT plugin manifests? It also can be nicely fragmented
depending on OS...

Thx,
Alex.

Alexander Smirnoff wrote:
> +1 for having it back or (better) providing generic wizard for setting a
> classpath libs from existing platform plugins.
>
>
> Veronika Irvine wrote:
>
>> Instead of using Run As SWT... you can do one of the following:
>>
>> A) Using SWT for standalone applications
>>
>> Download SWT for standalone applications. A standalone version of SWT is
>> available on the same download page as the Eclipse SDK. Look for the
>> section
>> titled SWT Binary and Source. Do not extract the archive file, just
>> save it to
>> disk.
>> Select Import... from the File menu.
>> Select Existing Projects into Workspace and click on the Next button.
>> Select Select archive file: and use the Browse button to locate the SWT
>> standalone archive you have previously downloaded.
>> Click on the Finish button.
>> Add org.eclipse.swt to your project java build path.
>>
>> B) Using SWT that is shipped with Eclipse
>>
>> Select "Import..." from the File menu.
>> Select "External Plug-ins and Fragments" in the Import wizard and click
>> on the "Next" button.
>> Select "Import As Binary projects" and make sure the target platform is
>> correct. Click on the "Next" button.
>> Select org.eclipse.swt and org.eclipse.swt.<ws>.<os>.<arch> and click
>> on the "Add" button.
>> (<ws>, <os>, and <arch> should be replaced with the values for the
>> platform you wish to run against. e.g. org.eclipse.swt.gtk.linux.x86)
>> Click on the "Finish" button.
>> Select org.eclipse.swt in the Package Explorer. From the right mouse
>> menu, select "Properties".
>> Click on "Java Build Path" and then click on the "Libraries" tab.
>> Click on the "Add Jars..." button.
>> Select
>> org.eclipse.swt.<ws>.<os>.<arch>/org.eclipse.swt.<ws>. <os>.<arch>_3.1.0.jar
>>
>> and click on the "OK" button.
>> Expand org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar in the Libraries tab
>> and select "Native library location".
>> Click on the "Edit..." button.
>> Click on the "Workspace..." button in the "Native Library Folder
>> Configuration" dialog.
>> Select org.eclipse.swt.<ws>.<os>.<arch> and click on the "OK" button.
>> Click on the "OK" button in the "Native Library Folder Configuration"
>> dialog.
>> Click on the "Order and Export" tab in the "properties for
>> org.eclipse.swt" dialog.
>> Place a check against org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar.
>> Click on the "OK" button.
>> Add org.eclipse.swt to your project java build path.
>>
>>
>> "Christian Hauser" <c.hauser@active.ch> wrote in message
>> news:d97508$5uc$1@news.eclipse.org...
>>
>>> Hello
>>>
>>> I'm missing the SWT launcher (Run As -> SWT Application) since
>>> Eclipse 3.1RC3 to easily start SWT applications.
>>>
>>> Could someone please point me to the related bug number or an
>>> official statement as to why this IMHO very useful feature has been
>>> removed?
>>>
>>> Thanks for any hint,
>>> Christian
>>
>>
>>
>>
Re: 3.1RC3: Run As -> SWT Application [message #457354 is a reply to message #457294] Thu, 23 June 2005 18:29 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Can you please elaborate on how OSGI supports native libraries?

"Alexander Smirnoff" <alexsmr@NOJUNK.sympatico.ca> wrote in message
news:d9cfv5$90f$1@news.eclipse.org...
> BTW, osgi spec provides the way to load native libraries. Why I dont see
> this in current SWT plugin manifests? It also can be nicely fragmented
> depending on OS...
>
> Thx,
> Alex.
>
Re: 3.1RC3: Run As -> SWT Application [message #457356 is a reply to message #457354] Thu, 23 June 2005 20:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexsmr.NOJUNK.sympatico.ca

Look into paragraph 4.6 OSGi service platform release 3 spec. Exerpt:

"If a bundle has a Bundle-NativeCode manifest header, the bundle should
contain native code libraries that must be available for the bundle to
execute. When a bundle makes a request to load a native code library,
the findLibrary method of the caller's classloader must be called to
return the file path name in which the Framework has made the requested
native library available."

This is how it should look in manifests:

"Bundle-NativeCode: /lib/http.DLL;/lib/zlib.dll ;
osname = Windows95 ;
osname = Windows98 ;
osname = WindowsNT ;
processor = x86 ;
language = en ;
language = se ,
/lib/solaris/libhttp.so ;
osname = Solaris ;
osname = SunOS ;
processor = sparc,
/lib/linux/libhttp.so ;
osname = Linux ;
processor = mips"

The question is: why it is not implemented/used in Eclipse?

Veronika Irvine wrote:
> Can you please elaborate on how OSGI supports native libraries?
>
> "Alexander Smirnoff" <alexsmr@NOJUNK.sympatico.ca> wrote in message
> news:d9cfv5$90f$1@news.eclipse.org...
>
>>BTW, osgi spec provides the way to load native libraries. Why I dont see
>>this in current SWT plugin manifests? It also can be nicely fragmented
>>depending on OS...
>>
>>Thx,
>>Alex.
>>
>
>
Re: 3.1RC3: Run As -> SWT Application [message #457366 is a reply to message #457293] Fri, 24 June 2005 12:16 Go to previous messageGo to next message
Valentino Kyriakides is currently offline Valentino KyriakidesFriend
Messages: 7
Registered: July 2009
Junior Member
Yep, that's a big step back related to overall usability, since this way it
takes you too much time to setup and configure SWT application projects. -
There seems to be a general Eclipse tendency to over complicate usability
issues instead of handling them in a user friendly manner.

"Alexander Smirnoff" <alexsmr@NOJUNK.sympatico.ca> schrieb im Newsbeitrag
news:d9cerq$7kb$1@news.eclipse.org...
> +1 for having it back or (better) providing generic wizard for setting a
> classpath libs from existing platform plugins.
>
>
> Veronika Irvine wrote:
> > Instead of using Run As SWT... you can do one of the following:
> >
> > A) Using SWT for standalone applications
> >
> > Download SWT for standalone applications. A standalone version of SWT
is
> > available on the same download page as the Eclipse SDK. Look for the
section
> > titled SWT Binary and Source. Do not extract the archive file, just save
it
> > to
> > disk.
> > Select Import... from the File menu.
> > Select Existing Projects into Workspace and click on the Next button.
> > Select Select archive file: and use the Browse button to locate the SWT
> > standalone archive you have previously downloaded.
> > Click on the Finish button.
> > Add org.eclipse.swt to your project java build path.
> >
> > B) Using SWT that is shipped with Eclipse
> >
> > Select "Import..." from the File menu.
> > Select "External Plug-ins and Fragments" in the Import wizard and click
> > on the "Next" button.
> > Select "Import As Binary projects" and make sure the target platform is
> > correct. Click on the "Next" button.
> > Select org.eclipse.swt and org.eclipse.swt.<ws>.<os>.<arch> and click
> > on the "Add" button.
> > (<ws>, <os>, and <arch> should be replaced with the values for the
> > platform you wish to run against. e.g. org.eclipse.swt.gtk.linux.x86)
> > Click on the "Finish" button.
> > Select org.eclipse.swt in the Package Explorer. From the right mouse
> > menu, select "Properties".
> > Click on "Java Build Path" and then click on the "Libraries" tab.
> > Click on the "Add Jars..." button.
> > Select
> >
org.eclipse.swt.<ws>.<os>.<arch>/org.eclipse.swt.<ws>. <os>.<arch>_3.1.0.jar
> > and click on the "OK" button.
> > Expand org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar in the Libraries tab
> > and select "Native library location".
> > Click on the "Edit..." button.
> > Click on the "Workspace..." button in the "Native Library Folder
> > Configuration" dialog.
> > Select org.eclipse.swt.<ws>.<os>.<arch> and click on the "OK" button.
> > Click on the "OK" button in the "Native Library Folder Configuration"
> > dialog.
> > Click on the "Order and Export" tab in the "properties for
> > org.eclipse.swt" dialog.
> > Place a check against org.eclipse.swt.<ws>.<os>.<arch>_3.1.0.jar.
> > Click on the "OK" button.
> > Add org.eclipse.swt to your project java build path.
> >
> >
> > "Christian Hauser" <c.hauser@active.ch> wrote in message
> > news:d97508$5uc$1@news.eclipse.org...
> >
> >>Hello
> >>
> >>I'm missing the SWT launcher (Run As -> SWT Application) since Eclipse
> >>3.1RC3 to easily start SWT applications.
> >>
> >>Could someone please point me to the related bug number or an official
> >>statement as to why this IMHO very useful feature has been removed?
> >>
> >>Thanks for any hint,
> >> Christian
> >
> >
> >
Re: 3.1RC3: Run As -> SWT Application [message #457370 is a reply to message #457366] Fri, 24 June 2005 13:39 Go to previous messageGo to next message
Wassim Melhem is currently offline Wassim MelhemFriend
Messages: 28
Registered: July 2009
Junior Member
The SWT launcher is back for 3.1RC4

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=100792


Wassim.
Repost: SWT plugin does not uses OSGi native capability [message #457442 is a reply to message #457356] Fri, 24 June 2005 20:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexsmr.NOJUNK.sympatico.ca

I found why it was not used at least prior to M7: see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=90066

But now it works and it is possible to build single SWT plugin (OK, it
will weight 2-3M more) without OS depending counterparts fragments. But
the benefits:

- simplified deployment
- true multi platform (just copy & run) for Eclipse/RCP
- hided platform complexities of SWT
- shared network installations that can be run from many platforms

Do you have a plans/discussions/proposals for actually using this?

Thanks,
Alex

Alexander Smirnoff wrote:
> Look into paragraph 4.6 OSGi service platform release 3 spec. Exerpt:
>
> "If a bundle has a Bundle-NativeCode manifest header, the bundle should
> contain native code libraries that must be available for the bundle to
> execute. When a bundle makes a request to load a native code library,
> the findLibrary method of the caller's classloader must be called to
> return the file path name in which the Framework has made the requested
> native library available."
>
> This is how it should look in manifests:
>
> "Bundle-NativeCode: /lib/http.DLL;/lib/zlib.dll ;
> osname = Windows95 ;
> osname = Windows98 ;
> osname = WindowsNT ;
> processor = x86 ;
> language = en ;
> language = se ,
> /lib/solaris/libhttp.so ;
> osname = Solaris ;
> osname = SunOS ;
> processor = sparc,
> /lib/linux/libhttp.so ;
> osname = Linux ;
> processor = mips"
>
> The question is: why it is not implemented/used in Eclipse?
>
> Veronika Irvine wrote:
>
>> Can you please elaborate on how OSGI supports native libraries?
>>
>> "Alexander Smirnoff" <alexsmr@NOJUNK.sympatico.ca> wrote in message
>> news:d9cfv5$90f$1@news.eclipse.org...
>>
>>> BTW, osgi spec provides the way to load native libraries. Why I dont
>>> see this in current SWT plugin manifests? It also can be nicely
>>> fragmented depending on OS...
>>>
>>> Thx,
>>> Alex.
>>>
>>
>>
Re: Repost: SWT plugin does not uses OSGi native capability [message #457444 is a reply to message #457442] Sat, 25 June 2005 00:04 Go to previous messageGo to next message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"Alexander Smirnoff" <alexsmr@NOJUNK.sympatico.ca> wrote in message
news:d9hs6u$gfl$1@news.eclipse.org...
> I found why it was not used at least prior to M7: see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=90066
>
> But now it works and it is possible to build single SWT plugin (OK, it
> will weight 2-3M more) without OS depending counterparts fragments. But
> the benefits:
> - simplified deployment
> - true multi platform (just copy & run) for Eclipse/RCP
> - hided platform complexities of SWT
> - shared network installations that can be run from many platforms
> Do you have a plans/discussions/proposals for actually using this?
> Thanks,
> Alex

You can achieve the exact same results by copying over your install the RCP
delata pack without having to rebuild anything. And with SWT pacakaged as
jar in 3.1 the complexities are hidden well.
I used it since 3.1 m4 and it works great since 3.1m6.
Re: Repost: SWT plugin does not uses OSGi native capability [message #457535 is a reply to message #457444] Mon, 27 June 2005 16:18 Go to previous message
Mark Diggory is currently offline Mark DiggoryFriend
Messages: 202
Registered: July 2009
Senior Member
Is there any documentation on how to attain packaging native libraries
(dll's, so's etc) using OSGi native capability in Eclipse? I'm not
seeing how this is attained in the current RC3 releaseof the SWT plugins
(win32 etc). How would I do this in the plugin configuration?

thanks
-Mark

Philippe Ombredanne wrote:
> "Alexander Smirnoff" <alexsmr@NOJUNK.sympatico.ca> wrote in message
> news:d9hs6u$gfl$1@news.eclipse.org...
>
>>I found why it was not used at least prior to M7: see
>>https://bugs.eclipse.org/bugs/show_bug.cgi?id=90066
>>
>>But now it works and it is possible to build single SWT plugin (OK, it
>>will weight 2-3M more) without OS depending counterparts fragments. But
>>the benefits:
>>- simplified deployment
>>- true multi platform (just copy & run) for Eclipse/RCP
>>- hided platform complexities of SWT
>>- shared network installations that can be run from many platforms
>>Do you have a plans/discussions/proposals for actually using this?
>>Thanks,
>>Alex
>
>
> You can achieve the exact same results by copying over your install the RCP
> delata pack without having to rebuild anything. And with SWT pacakaged as
> jar in 3.1 the complexities are hidden well.
> I used it since 3.1 m4 and it works great since 3.1m6.
Previous Topic:Editing table cells
Next Topic:Image and ImagaData performance
Goto Forum:
  


Current Time: Thu Apr 25 23:36:45 GMT 2024

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

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

Back to the top