[jdom-interest] manifest missing main-class

Jason Hunter jhunter at xquery.com
Tue Feb 10 20:06:03 PST 2004


Elliotte Rusty Harold wrote:

> At 4:46 PM -0800 2/10/04, Jason Hunter wrote:
> 
>> Per the CHANGES.txt log:
>>
>> Changed the MANIFEST.MF to no longer list Xerces in the Class-Path 
>> entry, nor to have JDOMAbout as its Main-Class.  This helps applet 
>> deployment, but does remove the ability to do the cool "java -jar 
>> jdom.jar".
> 
> I'm curious. How does JDOMAbout and Main-Class get in the way of applets?

It was the Class-Path that actually caused the problem.  With xerces.jar 
there, the browser would try to fetch the JAR over the net.  Without a 
parser, the JDOMAbout we had couldn't be guaranteed to run.

-jh-




More information about the jdom-interest mailing list