ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Novotny <>
Subject <available> task seems broken
Date Wed, 04 May 2005 00:10:46 GMT

    I've been trying to see if a particular jar contains a class file, 
nothing too complex like so:

<available classname="org.apache.catalina.valves.FastCommonAccessLogValve"

   It simply would not work and then after adding -d to ant, I see why:

Finding class org.apache.catalina.valves.FastCommonAccessLogValve
Loaded from 
Finding class org.apache.catalina.valves.ValveBase
[available] Could not load dependent class 
"org/apache/catalina/valves/ValveBase" for class 
[available] Unable to load class 

    How can I tell it to not try to do any autoresolving of dependencies 
behind my back? I only want it to indicate if a given class exists in  
the jar or not.

    Thanks, Jason

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message