Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 54215 invoked from network); 10 Jan 2004 19:03:26 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Jan 2004 19:03:26 -0000 Received: (qmail 86167 invoked by uid 500); 10 Jan 2004 19:03:15 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 85968 invoked by uid 500); 10 Jan 2004 19:03:13 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 85955 invoked from network); 10 Jan 2004 19:03:13 -0000 Received: from unknown (HELO smtpout.mac.com) (17.250.248.45) by daedalus.apache.org with SMTP; 10 Jan 2004 19:03:13 -0000 Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i0AJ3ZLB023465 for ; Sat, 10 Jan 2004 11:03:35 -0800 (PST) Received: from [192.168.0.100] (pcp445552pcs.bartlt01.ga.comcast.net [68.51.163.203]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 3.0) with ESMTP id i0AJ3GKQ014607 for ; Sat, 10 Jan 2004 11:03:16 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v609) In-Reply-To: <28B07762-439B-11D8-8E2D-000393763438@mac.com> References: <28B07762-439B-11D8-8E2D-000393763438@mac.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <423E5DFC-439F-11D8-8E2D-000393763438@mac.com> Content-Transfer-Encoding: 7bit From: MJ Stahl Subject: Re: Errors with Cocoon 2.1.3/2.2-dev buil (OS X 10.3) Date: Sat, 10 Jan 2004 14:00:29 -0500 To: dev@cocoon.apache.org X-Mailer: Apple Mail (2.609) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I think I may have found the problem. Please correct me if I am wrong. > Below is a traceback of a failed build on Mac OS X 10.3. These 2 > errors are found in both the Cocoon 2.1.3 distribution as well as the > 2.2-dev (retrieved from CVS). > > /Users/mjs/Desktop/cocoon-2.2/src/java/org/apache/cocoon/components/ > flow/javascript/JavaScriptInterpreter.java:164: cannot resolve symbol > symbol : method setOptimizationLevel (int) > location: class org.mozilla.javascript.tools.debugger.Main > db.setOptimizationLevel(OPTIMIZATION_LEVEL); > ^ db is an instance of org.mozilla.javascript.tools.debugger.Main, which inherits ContextListener. setOptimizationLevel() is defined within org.mozilla.javascript.Context. ContextListener doesn't inherit Context, which is the file that is imported in JavaScriptInterpreter.java. I recommend either changing import org.mozilla.javascript.Context => import org.mozilla.javascript.ContextListener Or the safer bet would be to just add another import statement for ContextListener. I believe this solution will fix both files (JavaScriptInterpreter.java, and FOM_JavaScriptInterpreter.java) ------------------------------------------------------------------------ -------- M. J. Stahl "I must create a system, or be enslaved by another man's." -- William Blake