from whence comes java method "compressReader"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  i'm not sure whether to categorize this as a java problem or jboss
problem or what, but here goes.  i'm trying to build a sizable java
application that i downloaded, and i'm getting the build error:

     [exec] [INFO] Compilation failure
     [exec] /home/rpjday/nuxeo/hg/nuxeo/nuxeo-theme/nuxeo-theme-html/src/main/java/org/nuxeo/theme/html/JSUtils.java:[55,25] cannot find symbol
     [exec] symbol  : method compressReader(org.mozilla.javascript.tools.shell.Global,org.mozilla.javascript.Script,java.lang.String,java.lang.String,int,<nulltype>)
     [exec] location: class org.mozilla.javascript.Context

  so ... the "compressReader" method can't be found.  here's the
relevant bits of the java file:

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.ContextAction;
...
public Object run(final Context cx) {
            try {
                final Script script = Main.loadScriptFromSource(cx, source,
                        "compress", 1, null);
  here --->     return cx.compressReader(global, script, source, "compress", 1,
                        null);

  this is being done on f12 beta, with openjdk 1.6.0.  i'm about to go
dig into that class file, but if anyone out there is a java expert and
has used that class before, is there anything obviously wrong with
that method invocation?  thanks.

rday
--

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

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux