ca.sqlpower.architect.antbuild
Class AddLicenseToDMGTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by ca.sqlpower.architect.antbuild.AddLicenseToDMGTask

public class AddLicenseToDMGTask
extends org.apache.tools.ant.Task

Ant task for adding a Software Licence Agreement to an existing Mac OS X disk image (DMG) file. This task will only work on a Mac that has the Developer Tools installed (specifically, the /Developer/Tools/Rez utility must exist). If the Rez executable can't be found, the task will throw a reasonable error message.

Version:
$Id$
Author:
fuerth

Field Summary
 
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
AddLicenseToDMGTask()
           
 
Method Summary
 void execute()
           
 void setDebug(boolean debug)
           
 void setDmgFile(java.io.File dmgFile)
           
 void setLicenseFile(java.io.File licenseFile)
           
 void setResourceTemplateFile(java.io.File resourceTemplateFile)
           
 void setRezExecutable(java.io.File rezExecutable)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
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
 

Constructor Detail

AddLicenseToDMGTask

public AddLicenseToDMGTask()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

setDmgFile

public void setDmgFile(java.io.File dmgFile)

setLicenseFile

public void setLicenseFile(java.io.File licenseFile)

setRezExecutable

public void setRezExecutable(java.io.File rezExecutable)

setResourceTemplateFile

public void setResourceTemplateFile(java.io.File resourceTemplateFile)

setDebug

public void setDebug(boolean debug)


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca