WebKit.java (GTK) does not compile

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

WebKit.java (GTK) does not compile

Thomas Singer
Hi,

When trying to compile the latest SWT jars on Windows, it fails with

> E:\swt\eclipse.platform.swt\bundles\org.eclipse.swt\buildFragment.xml (70:29)'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> Compiling 561 source files to e:\swt\eclipse.platform.swt.binaries\bundles\org.eclipse.swt.gtk.linux.x86_64\temp.folder\@dot.bin
> e:\swt\eclipse.platform.swt.binaries\bundles\org.eclipse.swt.gtk.linux.x86_64\temp.folder\@dot.src\org\eclipse\swt\browser\WebKit.java:2753: error: unmappable character for encoding Cp1252
> 1 error

I reckon this is caused by the unusual quotes in WebKit.java:2753.

--
Best regards,
Thomas Singer
=============
syntevo GmbH
_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit.java (GTK) does not compile

Leo Ufimtsev-2
Hello Thomas,

Thank you for the report. Indeed, those quotes don't look standard, not sure how they made their way into the javadocs.

I've removed them from Webkit.java in :
Bug 514643 – WebKit.java (GTK) does not compile on Windows due unmappable character for encoding Cp1252
https://bugs.eclipse.org/bugs/show_bug.cgi?id=514643

And checked that there are no other such quotes in the file.

Please feel free to comment in the bug and let me know if the compilation issue is resolved for you with the patch.

Btw, webkit on Windows? That's interesting.

You should maybe also try webkit and run eclipse with
export SWT_WEBKIT2=1
eclipse

Webkit2 should be more stable than webkit1.



On Sat, Apr 1, 2017 at 2:57 AM, Thomas Singer <[hidden email]> wrote:
Hi,

When trying to compile the latest SWT jars on Windows, it fails with

E:\swt\eclipse.platform.swt\bundles\org.eclipse.swt\buildFragment.xml (70:29)'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Compiling 561 source files to e:\swt\eclipse.platform.swt.binaries\bundles\org.eclipse.swt.gtk.linux.x86_64\temp.folder\@dot.bin
e:\swt\eclipse.platform.swt.binaries\bundles\org.eclipse.swt.gtk.linux.x86_64\temp.folder\@dot.src\org\eclipse\swt\browser\WebKit.java:2753: error: unmappable character for encoding Cp1252
1 error

I reckon this is caused by the unusual quotes in WebKit.java:2753.

--
Best regards,
Thomas Singer
=============
syntevo GmbH
_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



--
Leo Ufimtsev
Software Engineer, Eclipse team.
Toronto, Canada

Red Hat, Inc.
[hidden email] | http://DeveloperBlog.RedHat.com/

_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit.java (GTK) does not compile

Thomas Singer
Hi Leo,

Thanks for addressing this issue that quickly. I had resolved it in our
clone of the repository.

> Btw, webkit on Windows? That's interesting.

I just compiled the Java part of SWT on Windows for all platforms. We
are not using Browser control ourselves.

--
Best regards,
Thomas Singer
=============
syntevo GmbH
http://www.syntevo.com
http://www.syntevo.com/blog


On 03.04.2017 16:16, Leo Ufimtsev wrote:

> Hello Thomas,
>
> Thank you for the report. Indeed, those quotes don't look standard, not
> sure how they made their way into the javadocs.
>
> I've removed them from Webkit.java in :
> Bug 514643 – WebKit.java (GTK) does not compile on Windows due unmappable
> character for encoding Cp1252
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=514643
>
> And checked that there are no other such quotes in the file.
>
> Please feel free to comment in the bug and let me know if the compilation
> issue is resolved for you with the patch.
>
> Btw, webkit on Windows? That's interesting.
>
> You should maybe also try webkit and run eclipse with
> export SWT_WEBKIT2=1
> eclipse
>
> Webkit2 should be more stable than webkit1.
>
>
>
> On Sat, Apr 1, 2017 at 2:57 AM, Thomas Singer <[hidden email]> wrote:
>
>> Hi,
>>
>> When trying to compile the latest SWT jars on Windows, it fails with
>>
>> E:\swt\eclipse.platform.swt\bundles\org.eclipse.swt\buildFragment.xml
>>> (70:29)'includeantruntime' was not set, defaulting to
>>> build.sysclasspath=last; set to false for repeatable builds
>>> Compiling 561 source files to e:\swt\eclipse.platform.swt.bi
>>> naries\bundles\org.eclipse.swt.gtk.linux.x86_64\temp.folder\@dot.bin
>>> e:\swt\eclipse.platform.swt.binaries\bundles\org.eclipse.swt
>>> .gtk.linux.x86_64\temp.folder\@dot.src\org\eclipse\swt\browser\WebKit.java:2753:
>>> error: unmappable character for encoding Cp1252
>>> 1 error
>>>
>>
>> I reckon this is caused by the unusual quotes in WebKit.java:2753.
>>
>> --
>> Best regards,
>> Thomas Singer
>> =============
>> syntevo GmbH
>> _______________________________________________
>> platform-swt-dev mailing list
>> [hidden email]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>>
>
>
>
>
>
> _______________________________________________
> platform-swt-dev mailing list
> [hidden email]
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WebKit.java (GTK) does not compile

Leo Ufimtsev-2

On Mon, Apr 3, 2017 at 2:02 PM, Thomas Singer <[hidden email]> wrote:
Hi Leo,

Thanks for addressing this issue that quickly. I had resolved it in our clone of the repository.

My pleasure. Let me know if there's anything else.
 
Btw, webkit on Windows? That's interesting.

I just compiled the Java part of SWT on Windows for all platforms. We are not using Browser control ourselves.

--
Best regards,
Thomas Singer
=============
syntevo GmbH
http://www.syntevo.com
http://www.syntevo.com/blog



On 03.04.2017 16:16, Leo Ufimtsev wrote:
Hello Thomas,

Thank you for the report. Indeed, those quotes don't look standard, not
sure how they made their way into the javadocs.

I've removed them from Webkit.java in :
Bug 514643 – WebKit.java (GTK) does not compile on Windows due unmappable
character for encoding Cp1252
https://bugs.eclipse.org/bugs/show_bug.cgi?id=514643

And checked that there are no other such quotes in the file.

Please feel free to comment in the bug and let me know if the compilation
issue is resolved for you with the patch.

Btw, webkit on Windows? That's interesting.

You should maybe also try webkit and run eclipse with
export SWT_WEBKIT2=1
eclipse

Webkit2 should be more stable than webkit1.



On Sat, Apr 1, 2017 at 2:57 AM, Thomas Singer <[hidden email]> wrote:

Hi,

When trying to compile the latest SWT jars on Windows, it fails with

E:\swt\eclipse.platform.swt\bundles\org.eclipse.swt\buildFragment.xml
(70:29)'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
Compiling 561 source files to e:\swt\eclipse.platform.swt.bi
naries\bundles\org.eclipse.swt.gtk.linux.x86_64\temp.folder\@dot.bin
e:\swt\eclipse.platform.swt.binaries\bundles\org.eclipse.swt
.gtk.linux.x86_64\temp.folder\@dot.src\org\eclipse\swt\browser\WebKit.java:2753:
error: unmappable character for encoding Cp1252
1 error


I reckon this is caused by the unusual quotes in WebKit.java:2753.

--
Best regards,
Thomas Singer
=============
syntevo GmbH
_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev






_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



--
Leo Ufimtsev
Software Engineer, Eclipse team.
Toronto, Canada

Red Hat, Inc.
[hidden email] | http://DeveloperBlog.RedHat.com/

_______________________________________________
platform-swt-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
Loading...