Are you using the Ant tasks that came with WebSphere 5 or WebSphere 6? (I believe they changed.)
I haven't used either. The WebSphere 5 ones gave me trouble so I started using a standalone Ant file to compile. You can run ejbdeploy at he command line separately (or through an ant script) or even generate the deploy code as part of deploying.