ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30601] - Error in jar task
Date Wed, 25 Aug 2004 18:42:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30601>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30601

Error in jar task





------- Additional Comments From chris@xoom.com  2004-08-25 18:42 -------
I'm having a similiar problem where the "Class-Path" line within MANIFEST.MF is
being "wrapped" by the <Jar> task onto multiple lines at a 70 character line
break.   My goal has been to include a series of jars within my jar for easy
distribution. 

********after unpacking my jar I see :
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
Created-By: 1.4.2_04-b05 (Sun Microsystems Inc.)
Main-Class: com.xoom.config.XoomEnv
Class-Path: activation-1.0.2.jar commons-httpclient-2.0.jar commons-ne
 t-1.2.2.jar jython-2.1.jar lucene-1.4-rc3.jar mysql-connector-java-3.
 0.14-production-bin.jar BlowfishJ.jar commons-logging.jar jline.jar .
 /log4j-1.2.8.jar mail-1.3.1.jar xmlrpc-1.2-b1.jar



*********  but before packing the jar.. the MANIFEST.MF reads:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
Created-By: 1.4.2_04-b05 (Sun Microsystems Inc.)
Main-Class: com.xoom.config.XoomEnv
Class-Path: activation-1.0.2.jar commons-httpclient-2.0.jar
commons-net-1.2.2.jar jython-2.1.jar lucene-1.4-rc3.jar
mysql-connector-java-3.0.14-production-bin.jar BlowfishJ.jar commons-logging.jar
jline.jar ./log4j-1.2.8.jar mail-1.3.1.jar xmlrpc-1.2-b1.jar

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


Mime
View raw message