de.viaboxx.nlstools.tasks
Class CopyBundlesTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by de.viaboxx.nlstools.tasks.CopyBundlesTask
All Implemented Interfaces:
Cloneable

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

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 ------------------------------


User: roman
Date: 09.02.2009
Time: 16:05:43
Copyright: Viaboxx GmbH


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

CopyBundlesTask

public CopyBundlesTask()
Method Detail

getMasterFile

public File getMasterFile()

setMasterFile

public void setMasterFile(File masterFile)

getDest

public File getDest()

setDest

public void setDest(File dest)

isZip

public boolean isZip()

setZip

public void setZip(boolean zip)

execute

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


Copyright © 2011. All Rights Reserved.