com.threerings.jpkg.ant.dpkg.scripts
Class BaseTemplateScript
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.threerings.antidote.field.BaseComponent
com.threerings.antidote.field.BaseField
com.threerings.jpkg.ant.dpkg.scripts.BaseTemplateScript
- All Implemented Interfaces:
- Field, ReferenceField, RequiresValidation, PackageScript, ValidationScript, VelocityTemplate, Cloneable
- Direct Known Subclasses:
- TemplateScript
public abstract class BaseTemplateScript
- extends BaseField
- implements ValidationScript, VelocityTemplate
A PackageScript
where the script source comes from a Velocity template.
See TemplateScript
for a useful subclass to extend from.
Methods inherited from class com.threerings.antidote.field.BaseComponent |
appendViolation, appendViolationList, getReferencedField, isReference, registerField, reportConflictingProperties, reportUnsetDependentFields, reportUnsetDependentProperties, reportUnsetField, setReference, validate, validateChildFields, validateChildFields, validateField, validateOptionalProperties, validateProperties, validateProperties |
Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
BaseTemplateScript
public BaseTemplateScript()
mergeTemplate
protected InputStream mergeTemplate()
throws IOException
- Return an
InputStream
of the merged script template.
- Throws:
IOException
Copyright © 2007-2008 Three Rings Design, Inc.
All Rights Reserved. Released under a BSD license.