|
||||||||||
| 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
de.viaboxx.nlstools.tasks.CopyBundlesTask
public class CopyBundlesTask
Description: copy files mentioned in 'masterFile' to the directory 'dest'
or a zip file 'dest'.
zip = true: zip (this is the default behavior)
masterFile = file with file names to copy.
dest = target directory or target zip-file to write.
example:
<taskdef name="copybundles"
classname="de.viaboxx.nlstools.tasks.CopyBundlesTask">
<classpath refid="maven.test.classpath"/>
</taskdef>
<copybundles masterFile="allBundles.txt"
dest="target/bundles.zip"/>
------------------------------
file allBundles.txt (example):
common.xml
customer.xml
orders.xml
------------------------------
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
CopyBundlesTask()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
File |
getDest()
|
File |
getMasterFile()
|
boolean |
isZip()
|
void |
setDest(File dest)
|
void |
setMasterFile(File masterFile)
|
void |
setZip(boolean zip)
|
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CopyBundlesTask()
| Method Detail |
|---|
public File getMasterFile()
public void setMasterFile(File masterFile)
public File getDest()
public void setDest(File dest)
public boolean isZip()
public void setZip(boolean zip)
public void execute()
execute in class org.apache.tools.ant.Task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||