Secret to success is taking the Class-path: jar jar jar jar and making: Class-path: jar jar jar jar
Note that in the wrapped lines it's crucial that a space precedes the jar file name. Anyone know how to replace a " " with a carriage return AND a space? -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 5:44 PM To: Ant Users List Subject: ejbjar with manifest file 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]