Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] RE: platform-swt-dev Digest, Vol 16, Issue 2

They have consistent major bottlenecks (one of the rejects was for a 1
minute delay).  We can get our collective ITs to track it down if
they're game.



-----Original Message-----
From: platform-swt-dev-bounces@xxxxxxxxxxx
[mailto:platform-swt-dev-bounces@xxxxxxxxxxx] On Behalf Of
platform-swt-dev-request@xxxxxxxxxxx
Sent: Friday, June 02, 2006 7:28 AM
To: platform-swt-dev@xxxxxxxxxxx
Subject: platform-swt-dev Digest, Vol 16, Issue 2

Send platform-swt-dev mailing list submissions to
	platform-swt-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
or, via email, send a message with subject or body 'help' to
	platform-swt-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
	platform-swt-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than
"Re: Contents of platform-swt-dev digest..."


Today's Topics:

   1. Deploy SWT Application with native Browser	libraries via
      Webstart (Carsten Marx)
   2. Deploy SWT Application with native Browser	libraries via
      Webstart (Carsten Marx)
   3. SWT Browser and Applets (Trummer Christian)
   4. Re: Building swt-mozilla*.so how-to required (Sriram Narayanan)
   5. Re: Deploy SWT Application with native Browser	libraries via
      Webstart (Leen Toelen)
   6. Re: Deploy SWT Application with native Browser	libraries via
      Webstart (Carsten Marx)


----------------------------------------------------------------------

Message: 1
Date: Fri, 2 Jun 2006 10:17:47 +0200
From: Carsten Marx <carsten.marx@xxxxxxxxxxxxxxx>
Subject: [platform-swt-dev] Deploy SWT Application with native Browser
	libraries via Webstart
To: platform-swt-dev@xxxxxxxxxxx
Message-ID: <16344E70-52FE-4B59-9367-0D983FB69133@xxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hello,

the following scenario:

We habe a visual seeking system with a webbrowser included.
We will use the native Browser widget from SWT.
We will deploy our application via webstart for the operating systems
mac, windows and linux.
The user should only click on the .jnlp file to download and start the
entire application.

The .jnlp loads the neseccary files depending on the operating system
from the webserver. The native libraries are included in a jar file (as
described in the FAQ on the SWT website). But the application is
chrashing on windows, mac and linux. The application is working
perfectly within Eclipse.

Here the .jnlp fle for the native libraries:

----------------CODE-------------------------

<?xml version="1.0" encoding="utf-8"?>
<jnlp
   spec="1.0+"
   codebase="http://testdomain.com/webstart/swttest/";
   href="swt.jnlp">
   <information>
     <title>.....</title>
     <homepage href="......."/>
     <description>.......</description>
     <vendor>.......</vendor>
   </information>
   <security>
     <all-permissions/>
   </security>
   <resources os="Windows" arch="x86">
     <jar href="swt-win/swt.jar"/>
     <nativelib href="swt-win/swtNativeLib.jar"/>
   </resources>
   <resources os="Linux" arch="i386">
     <jar href="swt-linux/swt.jar"/>
     <jar href="swt-linux/swt-pi.jar"/>
     <nativelib href="swt-linux/swtNativeLib.jar"/>
   </resources>
     <resources os="Mac OS X">
     <jar href="swt-macosx/swt.jar"/>
     <nativelib href="swt-macosx/swtNativeLib.jar"/>
   </resources>
   <component-desc/>
</jnlp>


----------------CODE-------------------------


Are there any better tutorials available or is it not possible to deploy
the native Browser libraries this way?
Thanks for any comments...


Best regards


Carsten Marx, University of Konstanz








------------------------------

Message: 2
Date: Fri, 2 Jun 2006 10:18:15 +0200
From: Carsten Marx <Carsten.Marx@xxxxxxxxxxxxxxx>
Subject: [platform-swt-dev] Deploy SWT Application with native Browser
	libraries via Webstart
To: platform-swt-dev@xxxxxxxxxxx
Message-ID: <801955A3-012A-47FB-B891-7D699ABDFE8B@xxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hello,

the following scenario:

We habe a visual seeking system with a webbrowser included.
We will use the native Browser widget from SWT.
We will deploy our application via webstart for the operating systems
mac, windows and linux.
The user should only click on the .jnlp file to download and start the
entire application.

The .jnlp loads the neseccary files depending on the operating system
from the webserver. The native libraries are included in a jar file (as
described in the FAQ on the SWT website). But the application is
chrashing on windows, mac and linux. The application is working
perfectly within Eclipse.

Here the .jnlp fle for the native libraries:

----------------CODE-------------------------

<?xml version="1.0" encoding="utf-8"?>
<jnlp
   spec="1.0+"
   codebase="http://testdomain.com/webstart/swttest/";
   href="swt.jnlp">
   <information>
     <title>.....</title>
     <homepage href="......."/>
     <description>.......</description>
     <vendor>.......</vendor>
   </information>
   <security>
     <all-permissions/>
   </security>
   <resources os="Windows" arch="x86">
     <jar href="swt-win/swt.jar"/>
     <nativelib href="swt-win/swtNativeLib.jar"/>
   </resources>
   <resources os="Linux" arch="i386">
     <jar href="swt-linux/swt.jar"/>
     <jar href="swt-linux/swt-pi.jar"/>
     <nativelib href="swt-linux/swtNativeLib.jar"/>
   </resources>
     <resources os="Mac OS X">
     <jar href="swt-macosx/swt.jar"/>
     <nativelib href="swt-macosx/swtNativeLib.jar"/>
   </resources>
   <component-desc/>
</jnlp>


----------------CODE-------------------------


Are there any better tutorials available or is it not possible to deploy
the native Browser libraries this way?
Thanks for any comments...


Best regards


Carsten Marx, University of Konstanz








------------------------------

Message: 3
Date: Fri, 2 Jun 2006 10:44:59 +0200
From: "Trummer Christian" <Christian.Trummer@xxxxxxxxxxxxxx>
Subject: [platform-swt-dev] SWT Browser and Applets
To: <platform-swt-dev@xxxxxxxxxxx>
Message-ID:
	
<46CD6B2D6E0F834FB55F5A7080AC44D0021235CD@xxxxxxxxxxxxxxxxxxxx-joanneum.
local>
	
Content-Type: text/plain;	charset="US-ASCII"

An application using the SWT widget Browser is not able to load and
display HTML pages, which have included a Java applet. This problem
occurs even for the simplest HTML page and the simplest Java applet. So
the problem seems to be independed from the complexity of the HTML page
and the complexity of the Java applet. It seems to depend only on the
Java applet plug-in mechanism.

The error is easy to reproduce with the SWT Snippets "Browser - bring up
a browser (single window)" and a dummy HTML page with a dummy applet.
The Internet Explorer (or any other Web browser) does not have a problem
with this dummy HTML page with the dummy Java applet.

Using the above mentioned snippet and loading the URL
http://www.javatester.org/version.html
gets the report
Java Version: 1.1.4 from Microsoft Corp.
while using an Internet Explorer gets the report Java Version 1.4.2_07
from Sun Microsystems Inc

A deinstallation of the Microsoft Java VM does not remove this problem!

For me it seems that the SWT Browser uses the IWebBrowser and this
IWebBrowser seems to use Java applets in a different way than the
Internet Explorer.

Thanks for any help,
Christian



------------------------------

Message: 4
Date: Fri, 2 Jun 2006 14:43:08 +0530
From: "Sriram Narayanan" <sriramnrn@xxxxxxxxx>
Subject: Re: [platform-swt-dev] Building swt-mozilla*.so how-to
	required
To: "Eclipse Platform SWT component developers list."
	<platform-swt-dev@xxxxxxxxxxx>
Message-ID:
	<49977f270606020213y70cb11f2xf4b701e305c408d3@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 6/1/06, Grant Gayed <Grant_Gayed@xxxxxxxxxx> wrote:
>
>
> Hi Sriram,
>
> SWT always compiles its mozilla libraries against a built mozilla 1.4,
as is required to ensure backwards compatibility with mozilla versions
this far back.  Instructions for compiling mozilla (any version) are at
http://developer.mozilla.org/en/docs/Build_Documentation .  The
following .mozconfig file should work for you:
>
> mk_add_options MOZ_OBJDIR=<pathToMozillaSourceRootDir>/builddir
> ac_add_options --disable-optimize
> ac_add_options --enable-debug
> ac_add_options --enable-default-toolkit=gtk2 ac_add_options 
> --disable-freetype2 ac_add_options --enable-application=suite 
> mk_add_options MOZ_CO_PROJECT=suite
>
> (you may wish to remove the enable-debug line)
>
> Once this is done, the variables that are set before invoking swt's
build.sh are:
>
> GECKO_SDK <yourBuiltMozillaPath>/dist/sdk GECKO_INCLUDES "-include 
> ${GECKO_SDK}/mozilla-config.h -I${GECKO_SDK}/nspr/include
-I${GECKO_SDK}/xpcom/include -I${GECKO_SDK}/string/include
-I${GECKO_SDK}/embed_base/include -I${GECKO_SDK}/embedstring/include"
> GECKO_LIBS "-L${GECKO_SDK}/embedstring/bin -lembedstring
-L${GECKO_SDK}/embed_base/bin -lembed_base_s -L${GECKO_SDK}/xpcom/bin
-lxpcomglue_s -lxpcom -L${GECKO_SDK}/nspr/bin -lnspr4 -lplds4 -lplc4"
>
> And finally...
>
> sh build.sh clean
> sh build.sh make_mozilla install
>
> ...should build everything for you.
>

Thanks a lot of the above information. I've started to download the
source, and hope to get this working soon.
>
> > (I've seen that even the Linux SWT standalone build doesn't have the

> > mozilla bindings within it.
>
>
> Of the linuxes only ppc is missing these libraries.  Are you on ppc?
>

No. I'm on x86. And Neither the Solaris, nor the Linux builds for
3.2RC6 has the swt-mozilla binary.

> HTH,
> Grant
>
>
>
>
>
>  "Sriram Narayanan" <sriramnrn@xxxxxxxxx> Sent by: 
> platform-swt-dev-bounces@xxxxxxxxxxx
>
> 06/01/2006 01:13 AM
>
> Please respond to
>  "Eclipse Platform SWT component developers list."
>
>
> To "Eclipse Platform SWT component developers list." 
> <platform-swt-dev@xxxxxxxxxxx>
>
> cc
>
>
> Subject Re: [platform-swt-dev] Building swt-mozilla*.so how-to 
> required
>
>
>
>
>
>
>
>
> On 6/1/06, Derek Anderson <public@xxxxxxxxx> wrote:
>  > might help:
>  > 
> http://kered.org/article-2004.07.10-HOWTO_build_eclipse_v3_linux_gtk_p
> pc.html
>  >
>
>  Thanks.
>
>  Some time after I posted, I got the basic SWT to compile. It's the  
> Mozilla specific make target that I can't seem to get to compile. This

> target is not part of the all: target.
>
>  I've downloaded the Mozilla 1.7.12/1.7.13 sources and binaries, and  
> have set the GECKO_INCLUDE, GECKO_LIB variables, as figured that  
> they're not really being used in the make file. I finally started to  
> figure out which headers are referenced by the xpcom.cpp cource file,

> and started to mention their paths in the include arguments  e.g.
>  -I${MOZILLA_SOURCE}/nsprpub/
>
>  It there are a few .h files that some of the mozilla headers seem to

> want, but which are not present.
>
>  My goal:
>  Get the libswt-mozilla-*.so file to build on Solaris and Linux (I've

> seen that even the Linux SWT standalone build doesn't have the mozilla

> bindings within it.
>
>  -- Sriram
>
>  _______________________________________________
>  platform-swt-dev mailing list
>  platform-swt-dev@xxxxxxxxxxx
>  https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
>


------------------------------

Message: 5
Date: Fri, 2 Jun 2006 12:05:54 +0200
From: "Leen Toelen" <toelen@xxxxxxxxx>
Subject: Re: [platform-swt-dev] Deploy SWT Application with native
	Browser	libraries via Webstart
To: "Eclipse Platform SWT component developers list."
	<platform-swt-dev@xxxxxxxxxxx>
Message-ID:
	<a494a0bc0606020305r38d804fs671421f04a41b55a@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Do you have a stack trace? That makes debugging a lot easier.

Regards,
Leen

On 6/2/06, Carsten Marx <Carsten.Marx@xxxxxxxxxxxxxxx> wrote:
> Hello,
>
> the following scenario:
>
> We habe a visual seeking system with a webbrowser included.
> We will use the native Browser widget from SWT.
> We will deploy our application via webstart for the operating systems 
> mac, windows and linux.
> The user should only click on the .jnlp file to download and start the

> entire application.
>
> The .jnlp loads the neseccary files depending on the operating system 
> from the webserver. The native libraries are included in a jar file 
> (as described in the FAQ on the SWT website). But the application is 
> chrashing on windows, mac and linux. The application is working 
> perfectly within Eclipse.
>
> Here the .jnlp fle for the native libraries:
>
> ----------------CODE-------------------------
>
> <?xml version="1.0" encoding="utf-8"?> <jnlp
>    spec="1.0+"
>    codebase="http://testdomain.com/webstart/swttest/";
>    href="swt.jnlp">
>    <information>
>      <title>.....</title>
>      <homepage href="......."/>
>      <description>.......</description>
>      <vendor>.......</vendor>
>    </information>
>    <security>
>      <all-permissions/>
>    </security>
>    <resources os="Windows" arch="x86">
>      <jar href="swt-win/swt.jar"/>
>      <nativelib href="swt-win/swtNativeLib.jar"/>
>    </resources>
>    <resources os="Linux" arch="i386">
>      <jar href="swt-linux/swt.jar"/>
>      <jar href="swt-linux/swt-pi.jar"/>
>      <nativelib href="swt-linux/swtNativeLib.jar"/>
>    </resources>
>      <resources os="Mac OS X">
>      <jar href="swt-macosx/swt.jar"/>
>      <nativelib href="swt-macosx/swtNativeLib.jar"/>
>    </resources>
>    <component-desc/>
> </jnlp>
>
>
> ----------------CODE-------------------------
>
>
> Are there any better tutorials available or is it not possible to
> deploy the native Browser libraries this way?
> Thanks for any comments...
>
>
> Best regards
>
>
> Carsten Marx, University of Konstanz
>
>
>
>
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>


------------------------------

Message: 6
Date: Fri, 2 Jun 2006 13:27:37 +0200
From: Carsten Marx <Carsten.Marx@xxxxxxxxxxxxxxx>
Subject: Re: [platform-swt-dev] Deploy SWT Application with native
	Browser	libraries via Webstart
To: "Eclipse Platform SWT component developers list."
	<platform-swt-dev@xxxxxxxxxxx>
Message-ID: <D4D0508E-317B-4519-B693-1A25350C1587@xxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Sorry the application is chrashing before i get a stacktrace... (On  
Mac Intel and Windows)

So you can try it at your own:
http://hci.uni-konstanz.de/MedioVis/webstart/swttest/SWTTest.jnlp

BTW: The project is working fine in Eclipse and all the dlls/jnilibs  
are in a signed jar in the way described here:
http://www.eclipse.org/swt/faq.php#javawebstart
(But i think this FAQ entry is very old...  ???)


Best regards
Carsten Marx


Am 02.06.2006 um 12:05 schrieb Leen Toelen:

> Do you have a stack trace? That makes debugging a lot easier.
>
> Regards,
> Leen
>
> On 6/2/06, Carsten Marx <Carsten.Marx@xxxxxxxxxxxxxxx> wrote:
>> Hello,
>>
>> the following scenario:
>>
>> We habe a visual seeking system with a webbrowser included.
>> We will use the native Browser widget from SWT.
>> We will deploy our application via webstart for the operating systems
>> mac, windows and linux.
>> The user should only click on the .jnlp file to download and start
>> the entire application.
>>
>> The .jnlp loads the neseccary files depending on the operating system
>> from the webserver. The native libraries are included in a jar file
>> (as described in the FAQ on the SWT website). But the application is
>> chrashing on windows, mac and linux. The application is working
>> perfectly within Eclipse.
>>
>> Here the .jnlp fle for the native libraries:
>>
>> ----------------CODE-------------------------
>>
>> <?xml version="1.0" encoding="utf-8"?>
>> <jnlp
>>    spec="1.0+"
>>    codebase="http://testdomain.com/webstart/swttest/";
>>    href="swt.jnlp">
>>    <information>
>>      <title>.....</title>
>>      <homepage href="......."/>
>>      <description>.......</description>
>>      <vendor>.......</vendor>
>>    </information>
>>    <security>
>>      <all-permissions/>
>>    </security>
>>    <resources os="Windows" arch="x86">
>>      <jar href="swt-win/swt.jar"/>
>>      <nativelib href="swt-win/swtNativeLib.jar"/>
>>    </resources>
>>    <resources os="Linux" arch="i386">
>>      <jar href="swt-linux/swt.jar"/>
>>      <jar href="swt-linux/swt-pi.jar"/>
>>      <nativelib href="swt-linux/swtNativeLib.jar"/>
>>    </resources>
>>      <resources os="Mac OS X">
>>      <jar href="swt-macosx/swt.jar"/>
>>      <nativelib href="swt-macosx/swtNativeLib.jar"/>
>>    </resources>
>>    <component-desc/>
>> </jnlp>
>>
>>
>> ----------------CODE-------------------------
>>
>>
>> Are there any better tutorials available or is it not possible to
>> deploy the native Browser libraries this way?
>> Thanks for any comments...
>>
>>
>> Best regards
>>
>>
>> Carsten Marx, University of Konstanz
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> platform-swt-dev mailing list
>> platform-swt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://eclipse.org/pipermail/platform-swt-dev/attachments/20060602/3639e
0af/attachment.html

------------------------------

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


End of platform-swt-dev Digest, Vol 16, Issue 2
***********************************************



------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.
--------
IRS Circular 230 Disclosure:
Please be advised that any discussion of U.S. tax matters contained within this communication (including any attachments) is not intended or written to be used and cannot be used for the purpose of (i) avoiding U.S. tax related penalties or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.




Back to the top