cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sonney <>
Subject RE: Type in Documentation..
Date Mon, 13 Dec 1999 21:34:27 GMT
On Mon, 13 Dec 1999, Donald Ball wrote:
> this might be moot now, but just out of curiousity, what good is the meta
> information in a program distribution file? i understand its significance
> in a compressed java package (for signed classes, yes?) but what good does
> it do in a compressed program distribution file?

It allows something very cool - you can specify the "default" runable
class with it. If you check out the ant jar, you can just run 
java -jar /path/to/ant.jar 
and it will properly execute for you (as long as
you have a java2 JDK). This way, if it's a command line accessable program
(like cocoon is), and your classpath is OK with the defaults, it runs just

- Kevin Sonney

View raw message