Article View: borland.public.jbuilder.java.api
Article #562Re: Path problems after doing a Rebuild
From: Lori M Olson (TeamB)
Date: Sun, 08 Jun 2003 21:06
Date: Sun, 08 Jun 2003 21:06
73 lines
3384 bytes
3384 bytes
Pete Antoniak wrote: > I am an experienced Java Programmer that recently switched from VisualCafe > to JBuilder Personnel Version. I had a lot of problems getting all the > classes to reference each other at first, but somehow I got everything to > compile and thing were going fine for the last two months. However recently > I accidentally did a "Rebuild" of the whole project and everything turned to > c**p. Almost nothing will compile now. I have struggled with this for > two days and have tried to reduce the problem to a simple test to explain > it. > >> > a.. "D.java": Error #: 901 : package COM.edugames.common stated in source > C:\CodeJB\com\edugames\common\D.java does not match directory > COM.edugames.common at line 1, column 22 " > Note that the path is now "COM.edugames.common". Could this be a DOS > thing? > > > > If I try to compile D from the "game" Project I get: > > > > a.. "D.java": Error #: 901 : package COM.edugames.common stated in source > C:\CodeJB\com\edugames\common\D.java does not match directory > COM.edugames.common at line 1, column 22 > Just to test that I could compile D, I created a Project with a working > directory of "com.edugames.common" and was able to compile D with no > problems. > > > > I am using Windows XP. My working directory is > C:/CodeJB/com/edugames/games. > > > > Thanks in advance if you can help me. > > > > Pete Antoniak > > It's a case problem. Windows doesn't care about "COM" vs "com", and even hides it from you, but Java cares. Get out of JBuilder. Get into a command-line prompt, and "cd" to "C:\CodeJB". Rename your "com" directory to "junk". Then rename it back to "com", making sure you are using lower case. Start up JBuilder again, and make sure that you do a "clean" first. Hopefully it will work now. -- Regards, Lori Olson (TeamB) ------------ Save yourself, and everyone else, some time and search the newsgroups and the FAQ-O-Matic before posting your next question. Google Advanced Newsgroup Search http://www.google.ca/advanced_group_search Other Newsgroup Searches: http://www.borland.com/newsgroups/ngsearch.html Joi Ellis's FAQ-O-Matic: http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID:
<3EE3A562.7080409@techie.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3ee39039$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,da0f3d1640562bd X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2003-06-08 14:09:31 PST Message-ID: <3EE3A562.7080409@techie.com> Date: Sun, 08 Jun 2003 15:06:42 -0600 From: "Lori M Olson (TeamB)" <javadragon@techie.com> Organization: Java Dragon Inc User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: Path problems after doing a Rebuild References: <3ee39039$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.181.200 X-Trace: newsgroups.borland.com 1055106399 142.179.181.200 (8 Jun 2003 14:06:39 -0700) Lines: 74 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail