org.ninjasoft.macpackager
Class MacPackager
java.lang.Object
org.ninjasoft.macpackager.MacPackager
- public class MacPackager
- extends java.lang.Object
Ant task that will create a Mac OS X application bundle.
This task expects a nested fileset of *.jar files
Requires: jar files (in nested fileset)
Version - Application version
InfoString - Name, version, copyright information
Icon file - *.icns file containing application icon(s)
VM Options - Optional things to pass to the VM (name in app menu, shiny metal look, etc)
mainclass - main class
Derives: BundleIdentifier: from mainclass + version
- Author:
- Brian Enigma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacPackager
public MacPackager()
buildApplication
public void buildApplication()
throws PackageException
- Throws:
PackageException
validate
public void validate()
throws PackageException
- Check that all of the required attributes have been set, source files exist, and
required executables exist.
- Throws:
BuildException
PackageException
addJar
public void addJar(java.lang.String jar)
setIcon
public void setIcon(java.lang.String icon)
setInfoString
public void setInfoString(java.lang.String infoString)
setMainClass
public void setMainClass(java.lang.String mainClass)
setVersion
public void setVersion(java.lang.String version)
setVmOptions
public void setVmOptions(java.lang.String vmOptions)
setAppName
public void setAppName(java.lang.String appName)
Copyright © 2004 Ninjasoft. All Rights Reserved.