• 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
New java class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New java class


  • Subject: New java class
  • From: netBrackets <email@hidden>
  • Date: Thu, 6 Apr 2006 21:06:10 -0500

File this under one of those problems that seems to crop up and drive me crazy from time to time...

I simply want to add a new Java class to my webojbects project in xcode.  I choose File->New File and pick Webobjects Java Class as the type of file in the wizard.  I add it to my ApplicationName target and neither of the other ones.  The java file is created fine and looks like this:

import com.webobjects.foundation.*;
import com.webobjects.eocontrol.*;

public class temp {

}

Then, when I compile my build, making no  other changes to the file, I get a compiler error that the imported packages in the new class (temp) don't exist.  I have many other Java classes in this same project which import these same exact packages, and they compile fine.  How can this be???

Thanks,
Jeff
 _______________________________________________
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

  • Follow-Ups:
    • Re: New java class
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: FOP and WebObjects yet again.
  • Next by Date: Re: New java class
  • Previous by thread: RE: FOP and WebObjects yet again.
  • Next by thread: Re: New java class
  • Index(es):
    • Date
    • Thread