ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: Adding new scripting languages to ant
Date Fri, 21 Mar 2003 17:01:28 GMT
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 this 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 scripting
> languages with BSF for use via the script task in ant. This seems to have
> worked fine. However, the 'ant api' does not seems to be available to the
> scripting environment. ie: references to objects having an id do not exist,
> 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 than
> 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:	  (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


Mime
View raw message