Article View: borland.public.jbuilder.java.api
Article #1366Re: Archive Wizard generates incorrect JAR files
From: Joi Ellis [TeamB]
Date: Fri, 01 Feb 2002 04:45
Date: Fri, 01 Feb 2002 04:45
31 lines
2451 bytes
2451 bytes
Tor Iver Wilhelmsen <tor.wilhelmsen@ergo.no> wrote: > "Joi Ellis [TeamB]" <joi@aravox.com> writes: >> Ok, now I'm confused. That page is talking about JDK extensions. >> Extensions are packaged in a single jar for easy installation and >> security. There's nothing in there at all about java packages. > Java packages that represent "extensions"/libraries your app depends > on (say, classes12.zip for Oracle JDBC) should be addressed via > "Class-Path" for purposes of allowing "java -jar" type invocation, > which doesn't use -classpath or the env. variable CLASSPATH. > The alternatives are either to ship the packages as part of the JAR > file (which is akin to static linking in C and perhaps against the > license for the library) or place the jars in the lib/ext directory of > the JRE. > This is relevant to how the JBuilder Archive Builder wizard constructs > the manifest file for libraries with "Exclude all" option. You can > tell it to create the manifest into the project, edit that by hand and > change the archive node to use the edited manifest, though. Okay. I was using the term 'package' strictly in the java namespace sense. -- Joi Ellis (TeamB) http://www.teamb.com/ No direct email, please. For best results, post on news server newsgroups.borland.com! Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html Only posts which violate the rules in guide.html are subject to cancelation.
Technical Details
Message-ID:
<3c5a1d60_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews!not-for-mailReferences:
<3C57A352.6788B633@solarenergy.ch> <3c58047b_2@dnews> <uk7tyizth.fsf@ergo.no> <3c594ca7_1@dnews> <ud6zqcx31.fsf@ergo.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,c02176f8fd925de0
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-01-31 20:47:16 PST
Sender: Joi Ellis <joi@artoo.gyles19.visi.com>
Message-ID: <3c5a1d60_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: Archive Wizard generates incorrect JAR files
Newsgroups: borland.public.jbuilder.java.api
References: <3C57A352.6788B633@solarenergy.ch> <3c58047b_2@dnews> <uk7tyizth.fsf@ergo.no> <3c594ca7_1@dnews> <ud6zqcx31.fsf@ergo.no>
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.2.19-6.2.7 (i686))
NNTP-Posting-Host: 209.98.6.107
Date: 31 Jan 2002 20:45:21 -0800
X-Trace: dnews 1012538721 209.98.6.107 (31 Jan 2002 20:45:21 -0800)
Lines: 31
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews!not-for-mail