ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: Reference to the Current Project
Date Mon, 20 Jan 2003 13:38:27 GMT

On Monday, January 20, 2003, at 07:07  AM, SimonRichardson2@hbosts.com 
wrote:
> Is there a way of getting  a reference to the current project in 
> JavaScript script without knowing the project name first?


Yes - there is the object 'project' that I added to the <script> task 
that is the Project object, and 'self' which is the Task instance of 
the Script task itself.

	Erik


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


Mime
View raw message