JMRI: Building with XCode
MacOS X 10.3 and later comes with the XCode suite of programming tools. We're starting to learn how to build JMRI with this. This page contains the info we have so far.
Step 0: Getting Ready (Only needed once) Generate a new Xcode Project "Somewhere"(Nopossible path conflict with anything existing....) - Select: Ant-based Application Jar - Name it JMRI - Save (Finish) - Quit - Only take the jmri.xcode file and copy it into the JMRI folder right next to the build.xml file. Delete the rest.... - Start the jmri.xcode at its new location - Select the Targets -> jmri - write jar into the Arguments field Step 1: Source Code compilation Start XCode 1.5 and press compile --> Now the jmri.jar should be built at its intended location Step 2: Program compilation Start the Jar Bundler, found under Developer/Applications/Java Tools "Build Information": Choose the jmri.jar as Main Class and select the program to be compiled Add a nice picture Check the rest of the Options on this page "Classpath and Files": Add all libs to Additions to Classpath "Properties": Add the VM Options and the Additional properties found in the build.xml Press Create Applicetion and select Program Name Now you should find a nice program..... Unfortunately I did not find any way to save the entries in Jar Builder so you will need to redo everything anytime you start it.....