• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XCode 1.5 Java Indexer bugs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 1.5 Java Indexer bugs


  • Subject: XCode 1.5 Java Indexer bugs
  • From: Martin Kahr <email@hidden>
  • Date: Fri, 6 Aug 2004 17:43:02 +0200

After WWDC I thought I should give XCode a try. So I switched one webproject from eclipse to xcode.
(I am back at eclipse again)


I like most of the concepts of XCode, but the following bugs made me crazy...

In XCode 1.5 I found the following bugs regarding the Java Indexer (bug already reported)

1) Java package definiton crashes the indexer

After 3 hours I isolated the bug.
It's really a very annoying bug. I am wondering if someone at apple really uses XCode for Java Development.
(or does nobody need a Singleton, ...?)


When I add a package declaration to the following simple code:
public class IndexerBug {
	private IndexerBug a;
	public IndexerBug() {
	}
}

e.g.
package com.test.something;

public class IndexerBug {
	private IndexerBug a;

	public IndexerBug() {
	}
}

than the indexer crashes on the next save (after I saved the file with the package definition) - error: "unable to delete reference....".
Index must be rebuild - which causes the same error on the next save - I am not programming - I am just wondering :(
Each time the indexer crashes (which should never happen of course) my work is interupted by this message.
When I move the attribute definiton to the bottom of the class definition it works. Of course that's not really a solution - I would have to find and change each class which has this "coding bug".
When I close the the "unable to delete ..." crash window with "cancel", XCode hangs some time later during the save of a file - which leads to lost code, ....It looks like XCode tries to access the non existing IndexDB of the project.


2) When I add junit.jar (www.junit.org) to the project it gets indexed. Unfortunatly when I use the code completion in a class which extends junit.framework.TestCase I am unable to see the defined methods of the super-super class.
e.g.: the class TestCase provides a method named "assertTrue" which is not visible. I checked this behavior with java.awt.Button and some methods which are defined in java.awt.Component (baseclass of Button) and there it works - strange thing.


any help for this problems? Am I doing something wrong?

Martin
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: XCode 1.5 Java Indexer bugs
      • From: Christian Pekeler <email@hidden>
    • Re: XCode 1.5 Java Indexer bugs
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Xcode Project Files in CVS?
  • Next by Date: Re: Linking Errors
  • Previous by thread: Re: Xcode Project Files in CVS?
  • Next by thread: Re: XCode 1.5 Java Indexer bugs
  • Index(es):
    • Date
    • Thread