• 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
Java Build Rule Missing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java Build Rule Missing


  • Subject: Java Build Rule Missing
  • From: "Alexander F. Hartner" <email@hidden>
  • Date: Tue, 6 Apr 2004 08:57:11 +0200

I created a Cocoa Application Project and added some Java classes to
it. I want the core of the application to be objective C, but use my
java classes via the java bridge. In earlier version of Project Builder
this worked create as the target had the option to configure the Java
VM, with settings as CLASSPATH and so on. In X-Code it seems these
settings have disappeared. When I open up my older projects they still
work with X-Code, but any new Cocoa Application are missing a JAVA
Build rule.

When I compile my code I get a "warning: no rule to process XYZ.java"

I take it I have to add a build rule to compile and package my java
files into a jar, but I haven't found a way of doing this. I tried
added a Java Resource Phase to my target, but it didn't make a
difference.

Any suggestions welcome

Alex
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Java Build Rule Missing
      • From: "Alexander F. Hartner" <email@hidden>
  • Prev by Date: Interface Builder Is Driving Me Nuts
  • Next by Date: Dragging from dock to application
  • Previous by thread: Re: Interface Builder Is Driving Me Nuts
  • Next by thread: Re: Java Build Rule Missing
  • Index(es):
    • Date
    • Thread