|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.jetspeed.anttasks.ArchetypeDescriptor
public class ArchetypeDescriptor
ArchetypeDescriptor This Ant task is used to generate a Maven2 Archetype Descriptor file.
| 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 | |
|---|---|
ArchetypeDescriptor()
|
|
| Method Summary | |
|---|---|
void |
addText(java.lang.String header)
Set archetype descriptor header text |
void |
execute()
Executes task to generate desciptor file. |
void |
setAllowpartial(java.lang.Boolean allowPartial)
Set archetype partial rules to support execution in existing projects. |
void |
setArtifactid(java.lang.String artifactId)
Set archetype artifact id. |
void |
setBasedir(java.io.File baseDir)
Set archetype base directory for all sources/resources. |
void |
setDestfile(java.io.File destFile)
Set archetype descriptor destination file. |
void |
setResourcesrefid(org.apache.tools.ant.types.Reference resourcesRefId)
Set archetype resources fileset refid. |
void |
setSiteresourcesrefid(org.apache.tools.ant.types.Reference siteResourcesRefId)
Set archetype site resources fileset refid. |
void |
setSourcesrefid(org.apache.tools.ant.types.Reference sourcesRefId)
Set archetype sources refid. |
void |
setTestresourcesrefid(org.apache.tools.ant.types.Reference testResourcesRefId)
Set archetype test resources fileset refid. |
void |
setTestsourcesrefid(org.apache.tools.ant.types.Reference testSourcesRefId)
Set archetype test sources fileset refid. |
| 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 |
|---|
public ArchetypeDescriptor()
| Method Detail |
|---|
public void addText(java.lang.String header)
header - archetype header textpublic void setArtifactid(java.lang.String artifactId)
artifactId - archetype artifact idpublic void setAllowpartial(java.lang.Boolean allowPartial)
allowPartial - archetype allow partial settingpublic void setBasedir(java.io.File baseDir)
baseDir - archtype source/resource base directorypublic void setDestfile(java.io.File destFile)
destFile - archetype descriptor file to generatepublic void setSourcesrefid(org.apache.tools.ant.types.Reference sourcesRefId)
sourcesRefId - archetype sourcespublic void setResourcesrefid(org.apache.tools.ant.types.Reference resourcesRefId)
resourcesRefId - archetype resourcespublic void setTestsourcesrefid(org.apache.tools.ant.types.Reference testSourcesRefId)
testSourcesRefId - archetype test sourcespublic void setTestresourcesrefid(org.apache.tools.ant.types.Reference testResourcesRefId)
testResourcesRefId - archetype test resourcespublic void setSiteresourcesrefid(org.apache.tools.ant.types.Reference siteResourcesRefId)
siteResourcesRefId - archetype site resources
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||