You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Si...@hbosts.com on 2003/01/20 13:07:15 UTC

Reference to the Current Project

Is there a way of getting  a reference to the current project in JavaScript script without knowing the project name first?

The question has been asked before - but that's where the thread ended.

http://marc.theaimsgroup.com/?l=ant-user&m=98289502701027&w=2

Regards

Simon

> Simon Richardson
> Technology
> Tel: 020 7574 8838
> E Mail: simonrichardson2@hbosts.com
> 
> HBOS Treasury Services plc
> 33 Old Broad Street
> London
> EC2N 1HZ
> 

-- 

------------------------------------------------------------------------------
For more information on HBOS Treasury Services, please visit http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 2692890. Registered in England.
Regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. This mail and any attachments have been scanned for viruses prior to leaving the HBOS Treasury Services plc network. HBOS Treasury Services plc will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail messages sent to and from this address for the purposes of investigating or detecting any unauthorised use of its system and ensuring its effective operation.

==============================================================================


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Reference to the Current Project

Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>