With ant I think it wil be manual work to set the Manifest or the jboss-deployment-structure.xml.
but there is a trick how to convert libraries from a lib path (classpath entriy) to a plain list (but I cant remember ATM)
I thought there is some kind of standard approach, may be an Ant task or any yummy routine provided by JBoss Tools.
Am I the only one that build ear files for JBoss 7 with Ant?
And the most bitter aspect of my trouble is that all or almost all denpendencies are already shipped with JBoss. So, they are even there.