• 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
Changing Package Name Breaks My System
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing Package Name Breaks My System


  • Subject: Changing Package Name Breaks My System
  • From: Gary Morris <email@hidden>
  • Date: Wed, 12 May 2004 19:33:46 -0400

I'd appreciate any insight someone might offer on the following puzzler:

I am building a small system in pure Java 1.4.2. using XCode 1.1. This week I finally felt the need to introduce packages (I'd been using the default package for all classes). I inserted a package name line at the top of each class file. Compiler was happy, but I noticed that when I launched the current executable (in run or debug mode) XCode launched not my latest version, but the last executable built before I inserted package names. So I did "Clean All Targets" and re-compiled.

Now the class files in my "build" subdirectory are all organized by package name subdirectories (good) and are the latest build. But when I try to launch the system, XCode gives an error message:
'LaunchRunner Error] The main class "SIL_Kin" could not be found.'


That class is in the same package subdirectory as the other files. Perhaps I have to manually add the new package subdirectory (which XCode created automatically) to a CLASSPATH -- except I can't find access to my classpath list anywhere. I've tried searching the local documentation on CLASSPATH (no hits) on the ADC website (lots of information about how to do it with JBindery!) and tried every preference and menu item I can find.

I'm sure there's a simple answer: when XCode can't find the class file it just created -- how can I help it?

--
Gary Morris
2200 Ben Franklin Parkway  S-1212
Philadelphia, PA  19130
(215) 557-0410  (landline)
(202) 390-0504  (mobile)
(215) 557-0410  (FAX)

Home E-mail: email@hidden
Penn E-Mail: email@hidden


"Windows 98 (n): 32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand 1 bit of competition."
- Stan Brown _______________________________________________
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.



  • Prev by Date: Re: NSMatrix & NSTextCell <-- Interface Builder
  • Next by Date: XCode and GDB - bug ??
  • Previous by thread: Re: Using MallocDebug from XCode - Can't find malloc info
  • Next by thread: XCode and GDB - bug ??
  • Index(es):
    • Date
    • Thread