ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject RE: Scope of Types
Date Tue, 05 Jun 2001 15:13:47 GMT
At 04:02 PM 6/5/01 +0100, Jose Alberto Fernandez wrote:
>So how does this work for a task like <javac> that has a Path for the
>classpath and another Path for the src path. Do I need to declare the values
>before using them int he task? Can it be substitured in place?

doesn't effect the task in any way. It works exactly like it does now.

>How can I pass a type-value as a parameter to <ant*> I probably do not want
>to have to declare the value since I do not want a binding created on the
>calling project.

As datatype instances are just properties, you pass like any other property.

<ant ... >
  <param name="blah" value="${my.fancy.new.fileset.instance}" />
</ant>

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message