Installation: Maven

    Installation instructions for Maven
  • Download the MacPackage jar file
  • Copy it to your local Maven repository, at ${MAVEN_HOME}/plugins.

    On my system this is located at: /usr/local/maven/plugins, but this is dependent on where you installed Maven
  • You are now ready to use the goal "maven mac-package"

Installation: Ant

    Installation instructions for Ant
  • Download the MacPackage jar file
  • Copy the file somewhere within your project
  • Define a "macPackage" task near the top of your build.xml file. For instance:
    <taskdef name="macPackage" 
             classname="org.ninjasoft.macpackager.AntMacPackager"
             classpath="./lib/MacPackage-0.5.jar"/>
    (Ensure that the classpath attribute points to the correct folder and filename for the MacPackage jar)
  • You can now use the <macPackage ...> task in your build script. See the sample application's build.xml for a good example of usage.