At 04:21 3/2/01 -0500, Aaron Mulder wrote:
>On Sun, 4 Feb 2001, Peter Donald wrote:
>> Or even better...
>>
>> <target name="compile.openejb" depends="prepare.openejb" >
>> <filter token="BestProxyFactory"
>> value="org.openejb.util.proxy.jdk13.Jdk13ProxyFactory" />
>> <javac srcdir="${openejb.source}" destdir="${openejb.classes}"
>> classpath="${classpath}"
>> debug="on" deprecation="${deprecation}">
>> <exclude name="org/openejb/util/proxy/jdk13/*" unless="jdk1.3"/>
>> </javac>
>> </target>
>
> Looking at the documentation, it doesn't seem like if/unless apply
>to "filter" or "exclude" - in fact, they're only mentioned under "target".
Then it is undocumented - have a look at Avalon or Ant build files to see
it in action ;)
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 |
*-----------------------------------------------------*