Skip navigation.
 
mlRe: no rule to process file
FROM : Ivan C Myrvold
DATE : Mon Jun 05 22:08:04 2006

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_removed>)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/xcode-users/<email_removed>
>>
>> This email sent to <email_removed>

>

Related mailsAuthorDate
No related mails found.