Article View: borland.public.jbuilder.java.api
Article #1565Re: Libraries and unkown source
From: Joi Ellis [TeamB]
Date: Tue, 04 Dec 2001 15:17
Date: Tue, 04 Dec 2001 15:17
37 lines
2817 bytes
2817 bytes
roymcbrayer <roymcbrayer@austin.rr.com> wrote:
> I guess I am missing the big picture here. If the archive excludes
> the libraries, then what function do libraries server. Do I need to
> set up a directory structure on the application machine that includes
> the library files. This is not just directed to IPWorks. I have had
> the same problem every time I try to deploy third party class files.
> Source files are no problem but class files are not found. What do I
> do with the class files included in the library if they are not included
> in the archive builder?
The archive builder excludes required library classes IF that is how
the properties for those libraries are set. If you changed that
property, then it should include whatever the property says.
That said, it's still possible the archive builder can miss spotting
dependencies that are computed at runtime. It recognizes things
like Class.forName("package.class") but it can't handle variable
references.
If the resulting jar is missing classes you want contained, and the
properties for the library are set properly, then it's probably another
dynamic dependency. If those items are private and you can't define
fields for them, you need to either bundle that jar with your app
and put it on the app's classpath, or cheat and create a class in
that jar's namespace and create fields that way.
I suspect IP*Works may have done this to make unlicensed bundling
of their commercial product more difficult.
--
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:
<3c0ce912_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-out.visi.com!hermes.visi.com!news1.optus.net.au!optus!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mailReferences:
<3c07e522$1_2@dnews> <MPG.1671e5059dff63f498ac96@forums.borland.com> <3c090696$1_2@dnews> <3c0a28df_2@dnews> <3c0bc4ca$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,8c8c8ceeb08274f
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-12-04 07:29:18 PST
Sender: Joi Ellis <joi@artoo.gyles19.visi.com>
Message-ID: <3c0ce912_2@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: Libraries and unkown source
Newsgroups: borland.public.jbuilder.java.api
References: <3c07e522$1_2@dnews> <MPG.1671e5059dff63f498ac96@forums.borland.com> <3c090696$1_2@dnews> <3c0a28df_2@dnews> <3c0bc4ca$1_1@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.19-6.2.7 (i686))
NNTP-Posting-Host: 209.98.6.107
Date: 4 Dec 2001 07:17:39 -0800
X-Trace: dnews 1007479059 209.98.6.107 (4 Dec 2001 07:17:39 -0800)
Lines: 37
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-out.visi.com!hermes.visi.com!news1.optus.net.au!optus!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail