ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Ant <project> extension, templatized build files
Date Thu, 02 May 2002 15:50:21 GMT
On Thu, 2 May 2002, Ara Abrahamian <ara_e_w@yahoo.com> wrote:

> Do you have any plans to let us use a simple scripting language like
> rhino in Ant?

I could resort to RTFM 8-)  The task is even called <script>.

> <target name="blabla" depends="dada">
> 	<script language="rhino">
> 		if( project.getProperty("x.y.z").startsWith("foo") )
> 			....
> 	<script/>
> </target>

install BSF and rhino and replace "rhino" with "javascript".

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message