🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1561

Re: Libraries and unkown source

#1561
From: roymcbrayer
Date: Mon, 03 Dec 2001 18:30
53 lines
3383 bytes
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?

Thanks,

Roy
Joi Ellis <joi@artoo.gyles19.visi.com> wrote:
>Roy McBrayer <roymcbrayer@austin.rr.com> wrote:
>
>> I'm not sure why it can't find the IPWorks library.  If I include it
>> as a required library for the project, shouldn't JBuilder include all
>> of the required files in the jar?  I am specifying that all classes and
>> resources for IPWorks be included in the jar.  I encountered this problem
>> before with trying to use class files in a third party package and have
>> never been able to figure out how to integrate them into a project in
>> JBuilder so that they can be found at run time.  I thought that was what
>> the library functionality provided.  Can anyone explain this?
>
>By default, the archive builder excludes everything in required libraries.
>You have to visit the node's properties | dependencies tab and change
>this behavior.  However, beware that doing so may violate the license
>agreement with IP*Works.  I can't find the reference, but I think that
>jar is a developer license only, not a deployment license.  
>
>For using the app's manifest to control the classpath, see here:
>http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=252
>
>> Roy
>
>> John McGrath  [TeamB] <ng-b@JPMcGrath.net> wrote:
>>>On 30 Nov 2001 11:59:30 -0800, Roy McBrayer wrote:
>>>
>>>> It works fine from within JBuilder but will not work with the
>>>> jar from the command line.
>>>
>>>> $ java -jar mailtest.jar
>>>> Exception in thread "main" java.lang.NoClassDefFoundError
>>>
>>>It cannot find the IPWorks library.  You can specify it with the java 
>>>-classpath option.
>>>
>>>There is also a mechanism for specifying required libraries in the 
>>>manifest, but I have not used it.
>>>
>>>-- 
>>>Regards,
>>>
>>>John McGrath [TeamB]
>>>
>>>---------------------------------------------------
>>>Before sending me e-mail, please read:
>>>    http://www.JPMcGrath.net/newsgroups/e-mail.html
>
Technical Details
Message-ID: <3c0bc4ca$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3c07e522$1_2@dnews> <MPG.1671e5059dff63f498ac96@forums.borland.com> <3c090696$1_2@dnews> <3c0a28df_2@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-03 10:33:31 PST
From: "roymcbrayer" <roymcbrayer@austin.rr.com>
Sender: "roymcbrayer" <roymcbrayer@austin.rr.com>
Reply-To: "roymcbrayer" <roymcbrayer@austin.rr.com>
Subject: Re: Libraries and unkown source
Newsgroups: borland.public.jbuilder.java.api
X-User-Info: 63.160.3.152 63.160.3.152    
References: <3c07e522$1_2@dnews>  <MPG.1671e5059dff63f498ac96@forums.borland.com> <3c090696$1_2@dnews>  <3c0a28df_2@dnews> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3c0bc4ca$1_1@dnews>
Date: 3 Dec 2001 10:30:34 -0800
X-Trace: dnews 1007404234 207.105.83.65 (3 Dec 2001 10:30:34 -0800)
Lines: 54
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews