🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Changing Package Name

#1761
From: Joi Ellis [TeamB]
Date: Wed, 26 Sep 2001 16:54
44 lines
2702 bytes
Rob <"relaxedrob@optushome.com.au"> wrote:
> Thanks for the advice Joi,

> Well, I worked it out - I deleted the classes directory and rebuilt the
> project - which didn't work.

> Finally I opened the project file itself - TextEditor.jpx..  and in there I
> found:

>   <property category="runtime.0" name="application.class"
> value="texteditor.TextEditClass" />

Oh, duh.  This is the Project Properties | Run | Main Class field.

> and these:
>   <file path="src/texteditor/closeFile.gif" />
>   <file path="src/texteditor/help.gif" />
>   <file path="src/texteditor/openFile.gif" />
>   <file path="src/texteditor/TextEditClass.java" />
>   <file path="src/texteditor/TextEditFrame.java" />
>   <file path="src/texteditor/TextEditFrame_AboutBox.java" />

These are the references to the files you added manually to the project pane.
JBuilder doesn't seem to support renaming folders (which ends up renaming the
packages) so you'd need to remove these from the project and manually add them back
again.  That would also correct the problem.

This sort of thing is a lot more obvious on unix because unix filesystems
are also case sensitive and it doesn't respond to invalid filenames like
Windows does.


> I am not sure why they were there - I had changed every path I could see in
> Project Settings..

> Anyway, once I edited these lines I could run my program again!


-- 
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: <3bb20847_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!194.25.243.42.MISMATCH!news.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews!not-for-mail
References: <3bb174a6$1_2@dnews> <3bb1834c$1_1@dnews> <3bb1d156_2@dnews> <3bb1d6fc_2@dnews> <3bb1dd28_2@dnews> <3bb1eb5e$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,6b279098c7aa0915
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-09-26 10:06:20 PST
Message-ID: <3bb20847_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: Changing Package Name
Newsgroups: borland.public.jbuilder.java.api
References: <3bb174a6$1_2@dnews> <3bb1834c$1_1@dnews> <3bb1d156_2@dnews> <3bb1d6fc_2@dnews> <3bb1dd28_2@dnews> <3bb1eb5e$1_2@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 26 Sep 2001 09:54:31 -0700
X-Trace: dnews 1001523271 209.46.41.66 (26 Sep 2001 09:54:31 -0700)
Lines: 44
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!194.25.243.42.MISMATCH!news.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews!not-for-mail