Article View: borland.public.jbuilder.java.api
Article #565I tried your suggestion and it didn't work.
From: Pete Antoniak
Date: Mon, 09 Jun 2003 21:41
Date: Mon, 09 Jun 2003 21:41
112 lines
3722 bytes
3722 bytes
Lori, You suggested that I rename my directories to solve the problem. I tried that twice and it didn't change anything. So I created a whole new set of directories and moved the java files into them. I then created a whole new Project. And selected "Make Project." The new project seems to be plagued by the same problems including some of the same error codes. Specifically: a.. "TextPanel.java": Error #: 901 : package COM.edugames.common stated in source C:\Code\com\edugames\common\TextPanel.java does not match directory COM.edugames.common at line 1, column 22 Note: the "COM" is still there, but this is a totally NEW Project with NEW Directories. The old path was CodeJB/com.edugames.common. The new path is Code/com.edugames.common. Now I also have problems with Classes in the "games" Package Directory. I get this error from Base in the structure window where it references a file in the same directory:: a.. Class ControlPanel not found in class com.edugames.games.Base at line 19 However, if I go the edit panel tab for ControlPanel and click back to the tab for Base, the error goes away. The same for D and other references I have in Base. However, when I try to compile Base again, all the error come back. I even retyped both the lines in the java file "package com.edugames.games;" and "import com.edugames.common.*;" and this didn't stop the problem. I tried changing my source path for both test and default to both C:/Code/com/edugames/games and C:/Code/ And that didn't work. My new Project "jpx" file is at C:Code/games My header for the "games" files is "package com.edugames.games; import com.edugames.common.*;" My header for the "common" files is "package com.edugames.common;" Going into the Project Properties, my working directory is: C:Code/com/edugames/games And my source path for both test and default is presently set at: C:Code/ I can get files to compile if they do not reference any other non compiled files. If I compile D for example, Base sees it and has no problems with it, however, if i take D.class out of the output directory, Base can't reference it anymore. So the reference from Base to the output directory works. I think the underlying problem might be taking a project from Visual Caf� to Jbuilder two months ago where a lot of the output files were already three and could be referenced, When I did the Rebuild, they were cleaned out and now I can only get files that do not reference other files to compile. Lori, any help is greatly appreciated. Thanks Pete Antoniak
Technical Details
Message-ID:
<3ee4ff0c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1089d0,277cd745ffbec81f,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2003-06-09 15:04:03 PST From: "Pete Antoniak" <pete@edugames.com> Newsgroups: borland.public.jbuilder.java.api Subject: I tried your suggestion and it didn't work. Date: Mon, 9 Jun 2003 14:41:33 -0700 Lines: 114 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 216.103.213.201 Message-ID: <3ee4ff0c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1055194892 216.103.213.201 (9 Jun 2003 14:41:32 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail