ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EJ Ciramella" <ecirame...@upromise.com>
Subject ejbjar with manifest file
Date Thu, 02 Dec 2004 22:43:31 GMT
Is there a good way to include a manifest file like:

<ejbjar srcdir="${inst.dir}/classes" manifest="path-to-manifest" descriptordir="com/<product>/ejb/session"
naming="ejb-name" dependency="none">
 <weblogic destdir="${install.dir}/lty.ear" classpath="${classpath}" newCMP="false"/>
 <include name="**/ejb-jar.xml"/>
 <exclude name="**/weblogic-ejb-jar.xml"/>
</ejbjar>

or

<ejbjar srcdir="${inst.dir}/classes" descriptordir="com/<product>/ejb/session" naming="ejb-name"
dependency="none">
 <weblogic destdir="${install.dir}/lty.ear" classpath="${classpath}" newCMP="false"/>
 <include name="**/ejb-jar.xml"/>
 <exclude name="**/weblogic-ejb-jar.xml"/>
 <support dir="mani">
  <include name="meta-inf/MANIFEST.MF"/>
 </support>
</ejbjar>

Both of these examples gives me an error:

[ejbc] ERROR: Could not create output jar.  The error was:java.io.IOException: line too long

Even if there is a way to update all 20 ejb jars later, that'd work, but I'd rather do this
via the manifest attribute or the support options.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message