🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1780

Re: Variable Helpset not found

#1780
From: John McGrath [TeamB]
Date: Mon, 21 Jul 2003 06:28
23 lines
1958 bytes
On 7/19/2003 at 1:03:27 PM, Craig Wilson wrote:

> > > URL hsURL = HelpSet.findHelpSet(null, "myHelpSet.hs");

> However, it returns null, meaning that it isn't finding myHelpSet.hs, 

The rules for finding a HelpSet are exactly the same as any other Java
resource (assuming things have not changed dramatically in 2.0.  If you
specify a simple resource name (without a path), it will look in the
same location as the class that is calling findHelpSet.

That would mean you will have to arrange for the ".hs" file to be
copied to your classpath, which does not happen by default.  If this
file is in the same source sub-directory as the class loading it, you
can tell JBuilder to copy it in the properties for the file.

I have generally stored my help sets in a separate JAR file, rooted at
'/'.  I think it will find it there if you specify "/myHelpSet.hs".

-- 
Regards,

John McGrath  [TeamB]
Technical Details
Message-ID: <3f1b881f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f183ef6@newsgroups.borland.com> <3f18481c$1@newsgroups.borland.com> <3f19799f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f68d59cce603b54f
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-07-20 23:32:21 PST
From: "John McGrath  [TeamB]" <ng-b@jpmcgrath.net>
Subject: Re: Variable Helpset not found
Newsgroups: borland.public.jbuilder.java.swing
References: <3f183ef6@newsgroups.borland.com> <3f18481c$1@newsgroups.borland.com> <3f19799f@newsgroups.borland.com>
User-Agent: XanaNews/1.15.3.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 151.197.210.86
Message-ID: <3f1b881f@newsgroups.borland.com>
Date: 20 Jul 2003 23:28:47 -0700
X-Trace: newsgroups.borland.com 1058768927 151.197.210.86 (20 Jul 2003 23:28:47 -0700)
Lines: 23
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail