This one time, at band camp, [EMAIL PROTECTED] said:

>I am using Ant 1.5.
>
>How can I get the ejbjar task to use a local DTD instead of the DTD
>referenced on the web?
>
>I have tried using the <xmlcatalog> node but it doesn't seem to work. The
>ant documentation says you can use this node at the project level.
>
>Thanks in advance for your help!

Below is what I did to use a local DTD using Ant 1.5:

    <ejbjar dependency="full"
            destdir="${dist.dir}"
            genericjarsuffix=""
            naming="ejb-name"
            srcdir="${build.dir}">

        <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
             location="${etc.dir}/ejb-jar_2_0.dtd" />
        ...
    </ejbjar>

Bruce
--

perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to