
Chapter 7. Migrating from JBoss 235
<fileset dir="${web.dir}" includes="**/*Servlet.java" />
<webspherewebxml />
</webdoclet>
</target>
</project>
6. The WebSphere Application Server V6 specific deployment descriptors,
which have the .xmi file extension, are not included in the EJB module by the
build script. So you have to modify the build script.
Edit the build.xml file and replace the two
metainf elements at the end of the
Jar section with the code shown in the following example. This will tell Ant to
include the .xmi files in the build.
Example 7-26 Section of jar target in build.xml
...
<!-- ============================================== --> ...