duplicate class in XCode.
duplicate class in XCode.
- Subject: duplicate class in XCode.
- From: Corin Lawson <email@hidden>
- Date: Thu, 25 Aug 2005 22:00:37 +1000
Hi all,
I have encounter this problem in XCode 1.5 and 2.1 now and it's very
frustrating...
It comes about when a file is added (File>New File...) then deleted
(Edit>Delete), file and references, and then a file of the same name
is added again.
When I build I get this error
duplicate class: package.of.class.ClassName
However javac has no such troubles...
The work around that I have been using has been to
1. Clean All with XCode
2. Build with XCode
3. Compile with javac -d build/ProjectName.build/Development/
Application\ Server.build/JavaClasses/ -classpath /System/Library/
Frameworks/JavaFoundation.framework/Resources/Java/
javafoundation.jar:/System/Library/Frameworks/JavaEOControl.framework/
Resources/Java/javaeocontrol.jar:/System/Library/Frameworks/
JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/System/
Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar:/Library/WebObjects/Extensions *.java
4. Build agian with XCode
5. Run with XCode
This procedure has just failed to work, where it has in the past.
My last resort is to create a new project from scratch and copy all
my files/hard work from the old one.
Please suggest something better, pleeeease!
Thanks,
Corin.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden