Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 39269 invoked from network); 25 May 2004 11:38:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 May 2004 11:38:54 -0000 Received: (qmail 80552 invoked by uid 500); 25 May 2004 11:38:29 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 80360 invoked by uid 500); 25 May 2004 11:38:26 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 80316 invoked by uid 98); 25 May 2004 11:38:26 -0000 Received: from peter.reilly@corvil.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(213.94.219.177):. Processed in 0.521895 secs); 25 May 2004 11:38:26 -0000 X-Qmail-Scanner-Mail-From: peter.reilly@corvil.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(213.94.219.177):. Processed in 0.521895 secs) Received: from unknown (HELO corvil.com) (213.94.219.177) by hermes.apache.org with SMTP; 25 May 2004 11:38:25 -0000 Received: from [172.18.1.171] (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id i4PBcKEt002104 for ; Tue, 25 May 2004 12:38:20 +0100 (IST) (envelope-from peter.reilly@corvil.com) Message-ID: <40B33028.8090107@corvil.com> Date: Tue, 25 May 2004 12:38:16 +0100 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.6 (X11/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: UpperCase example by JanMaterne References: <47F95A849D754144ABC557403D4AE440468BC5@lev.oksystem.local> In-Reply-To: <47F95A849D754144ABC557403D4AE440468BC5@lev.oksystem.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Please read http://ant.apache.org/manual/install.html#librarydependencies You need to use rhino 1.5R3 with the current bsf jar. and not the latest version of rhino. You could also try beanshell 2.0 beta 1; project.setNewProperty(attributes.get("prop"),attributes.get("val").toUpperCase()); skalsky@oksystem.cz wrote: >Hello there, > I've problems with example by Jan Materne :( > (I'm a beginner with ANT and Java so I may only bad understand the example)I made this steps. > >Because the task needs BeanScriptingFramework,I downloaded bsf.jar. >The script fell because it can't find class org.mozilla.javascript.JavaScriptException - also I downloaded js.jar from http://www.mozilla.org/rhino/download.html - the Latest build. > >But now it's falling because it can't find in the js.jar method Context.getDebuggableContext(); (the class really doesn't contains the method). But the older releases of Rhino js.jar don't contain any other classes (bex.: debut.debugger) > >How can I run the example without complication and what I need to? > >Thanx 4 your help. > Milan > >P.S. > The ant code: > > > > > project.setNewProperty(attributes.get("prop"),attributes.get("val").toUpperCase()); > > > > > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org