Re: Java Assertions
Re: Java Assertions
- Subject: Re: Java Assertions
- From: email@hidden
- Date: Tue, 4 Nov 2003 14:13:50 -0600
Ah, that worked. I had it set to target to 1.4, but that didn't work, nor did it
work with that AND the -source 1.4 command.
-source 1.4 by itself DOES work...
Thanks,
Blake
Quoting David Ewing <email@hidden>:
> 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.
_______________________________________________
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.