DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21716>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21716 trying to execute jars created with jar task fail because java do not get the manifest classpath ------- Additional Comments From [EMAIL PROTECTED] 2003-07-22 08:10 ------- The problem is the index="true" attribute for the jar task. This creates an INDEX.LIST file in the META-INF directory of the jar file system. The jar task populates this with the classes from the jar file and NOT the classes from the jars in the Class-Path. If the INDEX.LIST file is present the java -jar command will use this to search for classes and if they are not there, it will not bother to check the jars themselves. The jar task would need to be extended to support the index attribute in combination with the Class-Path manifest entry, but this may be a little tricky (where is the jar in the source/build tree that corresponds to the entry in the Class-Path). As a current work-around, dropping the index="true" attribute should be sufficient. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]