Hi

I'm using ant 1.5 beta 2 with 1.3.1 on Linux and Win2000

Here is the build snipit

<target name="available" depends="tdefs, properties">
    <condition property="PCSC">
        <available classname="com.cryptocard.jpcsc.Card">
            <classpath location="${classes}"/>
        </available>
     </condition>
     <fail 
        message="com.cryptocard.jpcsc.PCSC must be compiled first"
        unless="${PCSC}"
     />
</target>

This is the debug output

available:
Finding class com.cryptocard.jpcsc.Card
Class java.lang.Object loaded from parent loader
Class com.cryptocard.jpcsc.Card loaded from ant loader
Class java.lang.Throwable loaded from parent loader
Class java.lang.ArrayIndexOutOfBoundsException loaded from parent loader
Finding class com.cryptocard.jpcsc.PCSCException
Class java.lang.RuntimeException loaded from parent loader
Class com.cryptocard.jpcsc.PCSCException loaded from ant loader
Class java.lang.NullPointerException loaded from parent loader
Condition true; setting PCSC to true
Setting project property: PCSC -> true

BUILD FAILED
/home/jesse/source/6.0/src/cpp/utilities/jpcsc/build.xml:81:
com.cryptocard.jpcsc.PCSC must be compiled first


The property is set but the Fail task is being run.

I also tried Stephan's Gump build from today with the same results.

Ideas?

-- 
 Jesse Stockall                 |       Tel: 1+ 613.599.2441 ext. 243
 CRYPTOCard Corporation         |       Fax: 1+ 613.599.2442            
 Suite 304, 300 March Rd.       |       email: [EMAIL PROTECTED]
 Ottawa, ON, Canada K2K 2E2     |       web: www.cryptocard.com 
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to