[jdom-interest] jar version info?

William Krick wkrick at eio-online.com
Mon Jul 28 13:23:06 PDT 2003


Why read a text/html file at all?  Just put the version info into strings in
labels in the main method.  Every time you make a new release, update the
strings.  Parsing a file is overkill for a frame that shows 3 pieces of
information.


> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jason Hunter
> Sent: Monday, July 28, 2003 3:49 PM
> To: William Krick
> Cc: jdom-interest at jdom.org
> Subject: Re: [jdom-interest] jar version info?
>
>
>  From the MANIFEST.MF CVS log:
>
> revision 1.5
> date: 2002/02/06 13:40:05;  author: jhunter;  state: Exp;  lines: +0 -2
> 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
> because the browser will no longer automatically try to pull xerces.jar
> from the server.  The downside is that now if you run
>
> java -jar jdom.jar
>
> you won't get any output.  But if you run "java JDOMAbout" you will, so
> that's cool.  No one probably typed "java -jar jdom.jar" anyway and this
> was always more of a cool demo than anything else.  We'd talked about
> having the file just read a plain text file so we didn't need Xerces in
> the path, but I think it's better to give up the "java -jar" functionality
> than to give up the XML parsing functionality.
>
> -jh-
>
> William Krick wrote:
>
> > I think it would be useful to make the jdom.jar an
> > "executable" jar that when double clicked, pops up
> > a small frame with version info.
> >
> > I think all this requires is a small class with
> > a "main" method and a manifest file that points at it.
> >
> > I've seen this done with other library distributions.
> >
> > Check out J2PrinterWorks from Wildcrest Associates
> > to see an example of what I mean....
> > http://www.wildcrest.com/
> > _______________________________________________
> > To control your jdom-interest membership:
> >
> http://lists.denveronline.net/mailman/options/jdom-interest/yourad
dr at yourhost.com
>

_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com




More information about the jdom-interest mailing list