org.ninjasoft.macpackager
Class AntMacPackager
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.ninjasoft.macpackager.AntMacPackager
- public class AntMacPackager
- extends org.apache.tools.ant.Task
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)
BundleName - Name of application
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
Field Summary |
protected java.util.Vector |
filesets
|
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filesets
protected java.util.Vector filesets
AntMacPackager
public AntMacPackager()
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet fileset)
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.