"Duplicate class" error in PB

Tigger

Bring mich zum Licht!
Hi, I am hacking together some program with Java and Project Builder (it is a program with a Cocoa Frontend, so I can't use another IDE).

Now I got the error: "Duplicate class" on some of my classes.
A quick search in Google gave me the page for PB 1.1 where the "Duplicate class" error was in the list of fixed bugs. Apparently, it has NOT been fixed.

Another link I found was from the WODevelopers newsgroup, where someone said it has to do with having classes inside packages and without.

So I removed the package part from all my classes (really a pain in the ass) and voilà, it worked.
But was is this? Can't PB deal with packages? This is really SO stupid!
:mad:
 
I ran into this problem as well. It usually happened when I stopped a build and then tried to build again without modifying or resaving any source documents.

I found that if I cleaned the target, and then selected the root object in the project, brought up the info panel, and reindexed the project, the duplicate class error disappeared.

Please let us know if this helps.

Please note that I have not experienced this problem since upgrading to the April 2002 beta developer tools.

Jim
 
Back
Top