I'm trying to get one Ant build file to call an Ant build file in a
subfolder. I can't seem to get the classpath passed to the subfolder.

This is the classpath definition in the top level file

<path id="classpath">
 <pathelement location="${shared}/lib/NetComponents.jar"/>
        <pathelement location="${shared}/lib/junit.jar"/>
        <pathelement location="${shared}/lib/jakarta-regexp-1.2.jar"/>
</path>


This is how I call the subfolders' build file

<target name="compile">
                <ant antfile="build.xml" dir="${ant.dir}" target="main"/>
</target>

The subfolder's build file is not under my control & is updated from cvs
so I can't make modifications

-- 
 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 
---------------------------------------------------------------------

Reply via email to