You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by EJ Ciramella <ec...@upromise.com> on 2004/07/30 21:13:24 UTC

ejbjar with nested weblogic element dtd question

What is the proper way to pick up the http://java.sun.com/dtd/ejb-jar_2_0.dtd from the classpath?  I can't seem to get this to work unless I change the individual ejb deployment descriptors.

<target name="ejbc-lty" depends="init">
   <mkdir dir="${dist.dir}/generatedlibs/ejbs"/>
   <ejbjar srcdir="${dist.dir}/classes"  
		descriptordir="${src.dir}/com/upromise/app/ejb/session"
		dependency="none"
		naming="directory">
      <weblogic destdir="${dist.dir}/generatedlibs/ejbs" jvmdebuglevel="16">
       <classpath>
        <pathelement path="${dist.dir}/classes"/>
        <pathelement location="${wl61.home}/lib/weblogic.jar"/>
       </classpath>
      </weblogic>
      <include name="**/ejb-jar.xml"/>
      <exclude name="**/weblogic-ejb-jar.xml"/>
      <exclude name="**/test*/**"/>
      <exclude name="**/csrauth/**"/>
      <exclude name="**/CSR/**"/>
    </ejbjar>
 </target>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org