« X11&SSH on Windows | Main | OS X 10.4.3 and Quartz 2D Extreme »

October 16, 2005

xCode Java Packages

An integral part of the java language is the package. Unfortunetly, xCode doesn't make creating packages very intuitive.

The trick it turns out, is to create the regular directory structure for the package on disk in the project's directory. Then, in xCode, mimic the structure using groups (crtl+click on the project name (root of the tree) in the "Files and Groups" pane and choose new->group.). Finally, in the group that corresponds to your folder on the disk, drag the files into xCode.

You'll need to change the manifest file to point to the correct main class aswell.

Posted by spiffed at October 16, 2005 4:53 PM

Comments

Post a comment




Remember Me?