Re: no rule to process file
Re: no rule to process file
- Subject: Re: no rule to process file
- From: Ivan C Myrvold <email@hidden>
- Date: Mon, 5 Jun 2006 22:08:04 +0200
OK, I did that now. But the Build Java Resources .. Info window only
shows one tab, Comments. There must be something I miss here.
Ivan
Den 5. jun. 2006 kl. 18.53 skrev Gouri Jonnalagadda:
I believe you need to add a "Build Java Resources Build Phase" to
your target, then add the file to this build phase and build for it
to work.
Gouri
On Jun 5, 2006, at 7:03 AM, Ivan C Myrvold wrote:
I have a Cocoa project, in Objective-C, where one class is a Java
class, programmed back in 2002.
I tried to compile it directly as a Universal binary, but as that
failed, I am now slowly rebuilding it as a universal binary in a
new project.
But it now looks like Xcode will not compile the java file,
Helix.java. It says:
warning: no rule to process file '$(PROJECT_DIR)/Helix.java' of
type sourcecode.java for architecture i386
And when trying to use it in the project like this, I can see in
the debugger that myjavaclass is nil after this:
myjavaclass = [[NSClassFromString(@"Helix") alloc] init];
I have set NSJavaNeeded to YES in Info.plist. Is there anything
else I need to do?
Ivan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden