Hi,

I have defined an XMLCatalog as below in my build.xml file. I have a custom task 'EJB_build' to build all the EJB files. How do I reference the xmlCatalog from the EJB_Build task ? Thanks.

<xmlcatalog id="commonDTDs">
<dtd
publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN"
location="ejb-jar_1_1.dtd"/>

<dtd
publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
location="ejb-jar_2_0.dtd"/>

<dtd
publicId="-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN"
location="weblogic-ejb-jar.dtd"/>
</xmlcatalog




//Custom task 'EJB_build' to build all the EJB files

<taskdef name="EJB_build" classname="CustomTask" >
-------
</taskdef >

<javac debug="${debug.fl}" srcdir="${ejb_source_dir};" destdir="${output.dir}/tmp" failonerror="true">
-----------
</javac>


<name="EJB_build" srcRootDir="${source_dir}"
packagePrefix=""
buildDir="${output_dir}"
jarDistDir="${dest_dir}"
beanDeployDir="${deploy_dir}"
weblogicHome="${wl.home}"
makeJar = "yes" />

</target>