🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Changing Package Name

#1755
From: Joi Ellis [TeamB]
Date: Wed, 26 Sep 2001 13:00
28 lines
1918 bytes
Rob <"relaxedrob@optushome.com.au"> wrote:
> Howdy all!

> I am getting all sorts of errors from manually renaming my packages..

> I had to do a find and replace just to change all instances of "texteditor" to
> "TextEditor". Now I cannot run the project because there is a setting somewhere
> that makes sure the command line is the old "texteditor.TextEditClass".

> How can I change this?! :)

> This is the snipped error line when I *run* the project:

> C:\jdk1.3.0_02\bin\javaw -classpath "<snip>"  texteditor.TextEditClass
> java.lang.NoClassDefFoundError: texteditor/TextEditClass (wrong name:
> TextEditor/TextEditClass)

You have to rename the folder the files are in to match the renaming you
did in the package statements.  Java is case sensitive.



-- 
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: <3bb1d156_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail
References: <3bb174a6$1_2@dnews> <3bb1834c$1_1@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 06:04:31 PST
Message-ID: <3bb1d156_2@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>
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 06:00:06 -0700
X-Trace: dnews 1001509206 209.46.41.66 (26 Sep 2001 06:00:06 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail