org.ninjasoft.macpackager
Class AntMacPackager

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.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
 
Constructor Summary
AntMacPackager()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet fileset)
           
 void execute()
           
 void setAppName(java.lang.String appName)
           
 void setIcon(java.lang.String icon)
           
 void setInfoString(java.lang.String infoString)
           
 void setMainClass(java.lang.String mainClass)
           
 void setVersion(java.lang.String version)
           
 void setVmOptions(java.lang.String vmOptions)
           
 
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
 

Field Detail

filesets

protected java.util.Vector filesets
Constructor Detail

AntMacPackager

public AntMacPackager()
Method Detail

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.