[Devel] Fwd: Question about building ZimbraWebClient with OpenJDK

Barry De Graaff barrydg at zetalliance.org
Fri Jun 17 07:27:33 CEST 2016


Forwarding this to devel just in case.

Kind regards, 

Barry de Graaff
Zeta Alliance Founder
www.zetalliance.org

Skype: barrydegraaff.tk
Fingerprint: 9e0e165f06b365ee1e47683e20f37303c20703f8

----- Forwarded Message -----
From: "Quanah Gibson-Mount" 
To: "Conrad Damon"
Sent: Thursday, June 16, 2016 9:16:29 PM
Subject: Re: Question about building ZimbraWebClient with OpenJDK

The question is odd to me, because we use OpenJDK to build ZCS now, and we 
haven't seen build failures because of that.

--Quanah

--On Thursday, June 16, 2016 2:51 PM -0400 Conrad Damon 
wrote:

> It looks like that was done by Dan Christiansen, a contractor who (much
> to my regret) is no longer working for us. The work is part of the
> upgrade to TinyMCE 4, done within bug 81717. Here's the comment:
>
> 	The upgrade to TinyMCE 4 broke proper emoticon support, inserting
> 	non-public links to the Zimbra server into the email message. Rather
> 	than hardcoding Base64 image data as we did with TinyMCE 3, we extend
> 	the 'tinymce' build task to extract and convert the image data, and
> 	generate a JavaScript source file.
>
> I'm not sure what he meant by "non-public links". In the build file he
> adds a step to scan the TinyMCE emoticons directory and convert the GIFs
> into base64-encoded data URLs using JS with some Java support enabled by
> Ant. It runs fine on my Ubuntu VM and my laptop's OSX. What problem does
> it run into with OpenJDK?
>
> Given that the collection of TinyMCE emoticons doesn't change (until we
> go to a new version), if we need to we could consider simplifying and
> going back to hardcoded image data, basically doing the conversion once
> and checking in the resulting JS file.
>
> -Conrad
>
> ----- Original Message -----
> From: "Barry De Graaff" <barrydg at zetalliance.org>
> To: "Conrad Damon" >, "Quanah Gibson-Mount"
>  Sent: Thursday, June 16, 2016 5:03:07 AM
> Subject: Question about building ZimbraWebClient with OpenJDK
>
> Hello Conrad,
>
> People porting Zimbra to FreeBSD asked me a question, that I am
> forwarding to you, since I think it may be your cup of tea.
>
> In
> zimbra-foss/ZimbraWebClient/build.xml
>
> There is an inline javascript around line 1652, it seems to be for the
> tinymce.emoticon.file.
>
> It seems like, that makes it so that one cannot use OpenJDK to compile
> the ZimbraWebClient, this would only work with Oracle JDK...
>
> Is there a way to build this using OpenJDK or is there another way to
> build the tinymce.emoticon.file?
>
>
> Thanks!
>
>
> Kind regards,
>
> Barry de Graaff
> Zeta Alliance Founder
> www.zetalliance.org
>
> Skype: barrydegraaff.tk
> Fingerprint: 9e0e165f06b365ee1e47683e20f37303c20703f8



--

Quanah Gibson-Mount
Platform Architect
Manager, Systems Team
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration
A division of Synacor, Inc




More information about the Devel mailing list