Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 95462 invoked from network); 21 Aug 2010 18:04:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Aug 2010 18:04:03 -0000 Received: (qmail 74149 invoked by uid 500); 21 Aug 2010 18:04:02 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 74064 invoked by uid 500); 21 Aug 2010 18:04:01 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 74055 invoked by uid 99); 21 Aug 2010 18:04:01 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Aug 2010 18:04:01 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbeard4@cs.mcgill.ca designates 132.206.51.234 as permitted sender) Received: from [132.206.51.234] (HELO mail.cs.mcgill.ca) (132.206.51.234) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Aug 2010 18:03:39 +0000 Received: from [130.15.36.206] (DU206.N36.QueensU.CA [130.15.36.206]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.mcgill.ca (Postfix) with ESMTP id B8A09BF96AB for ; Sat, 21 Aug 2010 14:03:18 -0400 (EDT) Message-ID: <4C7014E5.40502@cs.mcgill.ca> Date: Sat, 21 Aug 2010 14:03:17 -0400 From: Jacob Beard User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 MIME-Version: 1.0 To: Ant Users List Subject: Re: Rhino global.load() in script context References: <4C6FFC6D.5020006@cs.mcgill.ca> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Greg, Thanks for your response. Replies below: On 10-08-21 01:41 PM, Greg Roodt wrote: > I believe load() is part of Rhino Shell. I think all that the hello.js: echo.setMessage("hello world!"); Outputs: hello: [echo] echo.setMessage("hello world!"); [echo] hello world! Thanks, Jake --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org