org.freecompany.imp
Class Import

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.ImportTask
              extended by org.freecompany.imp.Import
All Implemented Interfaces:
java.lang.Cloneable

public class Import
extends org.apache.tools.ant.taskdefs.ImportTask

Extension of the built in Ant import task that allows a imported Ant build file to be resovled and downloaded from configured repositories. This task actively tries to figure out if it's at the top level and fail if so, so we cannot simply delegate to a new instance.


Field Summary
protected  java.util.logging.Logger logger
           
protected  java.lang.String uri
           
 
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
Import()
           
 
Method Summary
 void execute()
           
 void setUri(java.lang.String uri)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.ImportTask
setFile, setOptional
 
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
 

Field Detail

logger

protected java.util.logging.Logger logger

uri

protected java.lang.String uri
Constructor Detail

Import

public Import()
Method Detail

execute

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

setUri

public void setUri(java.lang.String uri)