• 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
Re: Java Assertions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java Assertions


  • Subject: Re: Java Assertions
  • From: David Ewing <email@hidden>
  • Date: Mon, 3 Nov 2003 23:55:20 -0700

You need to add "-source 1.4" to the "Other Java Compiler Flags" of your target.

Dave

On Nov 3, 2003, at 1:06 AM, email@hidden wrote:

I've tried all I could to fix this, and I'm sure its easy, but I can't figure it
out.


When using assertions in any form, I get the error saying that it is now a
keyword, not an identifier, and that it can't find the method assert (boolean).
Even if I do "assert true;" it returns errors. Any ideas?


I had a similar problem when trying to upgrade from 1.3.* to 1.4.1 when using
BlueJ, and it not recognizing the new version's path. But since I just
installed Panther, this shouldn't be a problem.


Blake
_______________________________________________
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.
_______________________________________________
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: Java Assertions
      • From: email@hidden
References: 
 >Java Assertions (From: email@hidden)

  • Prev by Date: Strange problems with XCode
  • Next by Date: Re: Xcode On Jaguar PLUS Project Builder?
  • Previous by thread: Java Assertions
  • Next by thread: Re: Java Assertions
  • Index(es):
    • Date
    • Thread