U can create the manifest.mf automatically using the Jar task in Ant, and even get it to set up the Classpath reference using something like the following:
<jar destfile="${deploy.target}/${project.name.short}-ejb.jar">
<!-- Note: the generated manifest will have the classpath line wrapped to -->
<!-- not exceed 72 character lines. If this happens, the subsequent line will -->
<!-- start with a space, to indicate a continuation -->
<!-- this is as per the JAR File Specification -->
<!-- see this link for more details: -->
<!--
http://java.sun.com/j2se/1.3/docs/guide ... 20Manifest -->
<manifest>
<attribute
name="Class-Path"
value = "${runtime.classpath.list}"
/>
</manifest>
...
</jar>