I have a build.xml that I use for developing Jonas EJB and would like to port everything to Jboss with minimal changes.
I have the following task in ant:
<taskdef name="ejbjar" classname="org.objectweb.jonas.ant.EjbJar" classpath="C:/JOnAS-4.0.0/lib/common/ow_jonas_ant.jar"/>
I found the solution:
-Just pack all classes into a jar
-Drop it into the appropiate directory
-Jboss will generate the interposition classes for you