Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 45529 invoked from network); 21 Mar 2003 17:00:07 -0000 Received: from k101-11.bas1.dbn.dublin.eircom.net (HELO corvil.com.) (159.134.101.11) by daedalus.apache.org with SMTP; 21 Mar 2003 17:00:07 -0000 Received: from preilly.local.corvil.com (preilly.local.corvil.com [172.18.1.173]) by corvil.com. (8.12.5/8.12.5) with ESMTP id h2LH01pg069344 for ; Fri, 21 Mar 2003 17:00:02 GMT (envelope-from peter.reilly@corvil.com) Content-Type: text/plain; charset="iso-8859-1" From: peter reilly Organization: corvil To: Ant Users List Subject: Re: Adding new scripting languages to ant Date: Fri, 21 Mar 2003 17:01:28 +0000 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200303211701.28584.peter.reilly@corvil.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You would need to port the code in org.apache.tools.ant.taskdefs.optional.Script. It sets up the env for the script. Peter. On Friday 21 March 2003 16:48, Mark Porter wrote: > No takers? Could anyone point me in the right direction even? Would thi= s be > something better posted to the developer list? > > Thanks, > > Mark > > -----Original Message----- > From: Mark Porter > Sent: Thursday, March 20, 2003 10:37 AM > To: user@ant.apache.org > Subject: Adding new scripting languages to ant > > > Hello All, > > I'm currently writing a task that allows users to register new scriptin= g > languages with BSF for use via the script task in ant. This seems to ha= ve > worked fine. However, the 'ant api' does not seems to be available to t= he > scripting environment. ie: references to objects having an id do not ex= ist, > inherent objects such as project do not exist or are unavailable to the > script env. Has anyone here had any success using any languages other t= han > the ones that BSF natively supports with ANT? > > Thanks! > > Mark > > > > Mark D. Porter > Application Architect > OnX Enterprise Solutions Inc. > 155 Comerce Valley Drive East > Thornhill, ON L3T 7T2 > > Phone: (905) 881-4414 x2842 > Fax:=09 (905) 881-6533 > Email: mark.porter@onx.com > > > --------------------------------------------------------------------- > 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