Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Distributing VE-developed standalone SWT application
Distributing VE-developed standalone SWT application [message #132081] Mon, 09 October 2006 11:19 Go to next message
Eclipse UserFriend
Originally posted by: alexander.beisig.gmx.de

Hello,

I'd like to use the Visual Editor to ease the GUI development for my SWT
application. Before the VE I used the SWT standalone SWT package. I
downloaded and unzipped the archive "swt-3.2-win32-win32-x86.zip", added
swt.jar as external jar in eclipse, set up the source and native library
paths. For distribution, I just created a jar of my application and
copied swt.jar and the dll files into the same directory. All of this
worked pretty well.

With VE, I could not get the independant SWT files to work. When I open
my classes in the VE, the widgets aren't shown and the no SWT items
appear on the palette. If I add a visual class however, VE
automatically adds the jar of SWT distributed with Eclipse to the
project. The VE then works fine with that version of SWT instead of the
standalone SWT files.

I can live with VE using the SWT files bundled with eclipse, but I'm not
sure how I should distribute my standalone application now. Can I still
use the files from the standalone SWT zip along with a jar of my
application, or might I run into some version conflicts with them?
Should I instead distribute my application with the SWT jar that comes
with eclipse? The eclipse SWT jar has the native dlls embedded in the
jar, can my application even use them without unpacking them first? Is
there a way to make the VE work with the standalone SWT files instead of
the SWT bundled with eclipse? Should I be doing something completely
different at any step of my setup?

Thanks,
Alex
Re: Distributing VE-developed standalone SWT application [message #132107 is a reply to message #132081] Mon, 09 October 2006 13:46 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Your distribution process hasn't changed. The VE needs to use the SWT
Container in the classpath to know that SWT is installed and what
version. So you can use the SWT container in Eclipse but use your old
way for distribution.

Alexander Beisig wrote:
> Hello,
>
> I'd like to use the Visual Editor to ease the GUI development for my SWT
> application. Before the VE I used the SWT standalone SWT package. I
> downloaded and unzipped the archive "swt-3.2-win32-win32-x86.zip", added
> swt.jar as external jar in eclipse, set up the source and native library
> paths. For distribution, I just created a jar of my application and
> copied swt.jar and the dll files into the same directory. All of this
> worked pretty well.
>
> With VE, I could not get the independant SWT files to work. When I open
> my classes in the VE, the widgets aren't shown and the no SWT items
> appear on the palette. If I add a visual class however, VE
> automatically adds the jar of SWT distributed with Eclipse to the
> project. The VE then works fine with that version of SWT instead of the
> standalone SWT files.
>
> I can live with VE using the SWT files bundled with eclipse, but I'm not
> sure how I should distribute my standalone application now. Can I still
> use the files from the standalone SWT zip along with a jar of my
> application, or might I run into some version conflicts with them?
> Should I instead distribute my application with the SWT jar that comes
> with eclipse? The eclipse SWT jar has the native dlls embedded in the
> jar, can my application even use them without unpacking them first? Is
> there a way to make the VE work with the standalone SWT files instead of
> the SWT bundled with eclipse? Should I be doing something completely
> different at any step of my setup?
>
> Thanks,
> Alex

--
Thanks,
Rich Kulp
Re: Distributing VE-developed standalone SWT application [message #614703 is a reply to message #132081] Mon, 09 October 2006 13:46 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Your distribution process hasn't changed. The VE needs to use the SWT
Container in the classpath to know that SWT is installed and what
version. So you can use the SWT container in Eclipse but use your old
way for distribution.

Alexander Beisig wrote:
> Hello,
>
> I'd like to use the Visual Editor to ease the GUI development for my SWT
> application. Before the VE I used the SWT standalone SWT package. I
> downloaded and unzipped the archive "swt-3.2-win32-win32-x86.zip", added
> swt.jar as external jar in eclipse, set up the source and native library
> paths. For distribution, I just created a jar of my application and
> copied swt.jar and the dll files into the same directory. All of this
> worked pretty well.
>
> With VE, I could not get the independant SWT files to work. When I open
> my classes in the VE, the widgets aren't shown and the no SWT items
> appear on the palette. If I add a visual class however, VE
> automatically adds the jar of SWT distributed with Eclipse to the
> project. The VE then works fine with that version of SWT instead of the
> standalone SWT files.
>
> I can live with VE using the SWT files bundled with eclipse, but I'm not
> sure how I should distribute my standalone application now. Can I still
> use the files from the standalone SWT zip along with a jar of my
> application, or might I run into some version conflicts with them?
> Should I instead distribute my application with the SWT jar that comes
> with eclipse? The eclipse SWT jar has the native dlls embedded in the
> jar, can my application even use them without unpacking them first? Is
> there a way to make the VE work with the standalone SWT files instead of
> the SWT bundled with eclipse? Should I be doing something completely
> different at any step of my setup?
>
> Thanks,
> Alex

--
Thanks,
Rich Kulp
Previous Topic:Regarding layout of customwidget
Next Topic:ClassCastException while adding a customwidget to another customwidget
Goto Forum:
  


Current Time: Fri Apr 26 21:07:23 GMT 2024

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

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

Back to the top