ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel CAUNE <dani...@in-fusio.com>
Subject question about the ejbjar task
Date Fri, 27 Jul 2001 09:31:22 GMT
Hi,

I use the ANT ejbjar task to create JAR files for each of my EJB. But this 
task doesn't include in each EJB JAR file the exception classes thrown by the 
EJB (those which derive from EJBException).

How can I include these exception classes file ?

Regards,


Daniel



 <target name="jar" depends="compile">
   <ejbjar descriptordir="${res}"
	   destdir="${lib}"
           srcdir="${classes}">
     <classpath refid="project.class.path"/>
     <include name="**/*-ejb-jar.xml"/>
     <exclude name="**/*jboss*.xml"/>    
     <jboss destdir="${lib}"/>
     <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 
1.1//EN"
          location="http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd"/>
     <dtd publicId="-//JBoss//DTD JBOSS//EN"
          location="http://www.jboss.org/j2ee/dtd/jboss.dtd"/>
   </ejbjar>
 </target>

Mime
View raw message