On Thu, 12 Nov 2009, Stefane Fermigier wrote:

>
> On Nov 12, 2009, at 1:15 PM, Robert P. J. Day wrote:
>
> > On Thu, 12 Nov 2009, Vincent Dutat wrote:
> >
> > > Hi,
> > >
> > > if you like you can find here
> > > (http://www.nuxeo.org/static/snapshots/) latest Nuxeo DM nightly
> > > builds (of development branch). So that you don't need to compile it
> > > yourself, Nuxeo does it for you ;-)
> >
> > oh, i know about the nightly snapshots.  i'm also interested in the
> > running changelog, which is why i prefer to check out the mercurial
> > repository.
> >
> > in any event, the build didn't quite work as i documented here:
> >
> > http://www.crashcourse.ca/wiki/index.php/Nuxeo_on_Fedora#Building_Nuxeo_5.3_on_Fedora_12
> >
> > the obvious error is a reference to a non-existent method,
> > Context.compressReader(), which doesn't appear to be a method of
> > that class anymore.  apparently, this very issue has come up
> > before:
> >
> > http://www.mail-archive.com/[email protected]/msg04748.html
>
> The errors comes from Nuxeo Theme, maybe Jean-Marc has some answers.
> My guess is that there are differences between the JS engine shipped
> in OpenJDK 6 and the one in Sun's JDK 6.

  i'm not convinced it's a JS engine difference.  the class definition
itself at mozilla.org:

http://www.mozilla.org/rhino/apidocs/org/mozilla/javascript/Context.html

seems to suggest that compressReader() is no longer part of the
Context class.  in addition, you can find examples around the
intertoobz of people explicitly checking for the existence of that
API, and replacing it if it's not found, like here:

http://fisheye5.atlassian.com/browse/dwr/java/org/directwebremoting/impl/ShrinkSafeCompressor.java?r=1.2

(note line 74 in that code, where someone has commented out a call to
cx.compressReader(), possibly because it doesn't exist anymore.)

one gets the impression that you should consider a separate JS
compression library, like shrinksafe:

http://shrinksafe.dojotoolkit.org/

depending on the licensing.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to