ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kindsol <kind...@hotpop.com>
Subject Re: NEWBIE: Dir-attribute/script problem
Date Tue, 20 Jun 2006 21:17:55 GMT
Thanks, DD!

I had to use project.resolveFile(), but that got it going!

yes!

-Sol

On Jun 20, 2006, at 12:52 PM, Dominique Devienne wrote:

>> I have never used p.resolveFile() and am having a hard time finding
>> documentation on it.  Is it Ant api or python?
>
> Ant API. org.apache.tools.ant.Project#resolveFile(String), returns
> File or String, I don't recall. --DD
>
>>  Would you use it directly inside <script>?  Would you use it for
>> the sys.path.append() calls?  If so, how?
>
> Yes, I think. <script> binds the current project to the p variable
> using BSF, so your script can very easily use this call. Lookup the
> archives for p.resolveFile, and you should find examples. --DD
>
> ---------------------------------------------------------------------
> 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