Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectstyle.woproject.ant
Class FrameworkSet  view FrameworkSet download FrameworkSet.java

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.types.DataType
          extended byorg.apache.tools.ant.types.AbstractFileSet
              extended byorg.apache.tools.ant.types.FileSet
                  extended byorg.objectstyle.woproject.ant.FrameworkSet
All Implemented Interfaces:
java.lang.Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer

public class FrameworkSet
extends org.apache.tools.ant.types.FileSet

Customized subclass of FileSet used to locate frameworks.


Nested Class Summary
(package private)  class FrameworkSet.JarFilter
           
 
Field Summary
protected  java.io.File aDirectory
           
protected  boolean embed
           
protected  java.lang.String ifCondition
           
 
Fields inherited from class org.apache.tools.ant.types.AbstractFileSet
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, description, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
FrameworkSet()
          Creates new FrameworkSet.
 
Method Summary
 java.io.File[] findJars(org.apache.tools.ant.Project project, java.lang.String frameworkDir)
           
 boolean getEmbed()
           
 void setDir(java.io.File dir)
          Overrides parent to discard the value.
 void setEmbed(boolean flag)
           
 void setIf(java.lang.String string)
           
 void setRoot(java.io.File aRoot)
          Sets root directory of this FileSet based on a symbolic name, that can be "wo.homeroot", "wo.woroot", "wo.localroot".
private  boolean testIfCondition()
           
 
Methods inherited from class org.apache.tools.ant.types.FileSet
clone
 
Methods inherited from class org.apache.tools.ant.types.AbstractFileSet
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDataTypeName, getDir, getDirectoryScanner, getRef, getSelectors, hasPatterns, hasSelectors, isFollowSymlinks, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setRefid, setupDirectoryScanner, toString
 
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, tooManyAttributes
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, log, log, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

aDirectory

protected java.io.File aDirectory

embed

protected boolean embed

ifCondition

protected java.lang.String ifCondition
Constructor Detail

FrameworkSet

public FrameworkSet()
Creates new FrameworkSet.

Method Detail

setDir

public void setDir(java.io.File dir)
            throws org.apache.tools.ant.BuildException
Overrides parent to discard the value. A warning will be printed if log level is high enough.


setRoot

public void setRoot(java.io.File aRoot)
             throws org.apache.tools.ant.BuildException
Sets root directory of this FileSet based on a symbolic name, that can be "wo.homeroot", "wo.woroot", "wo.localroot". Throws BuildException if an invalid root is specified.


setEmbed

public void setEmbed(boolean flag)

getEmbed

public boolean getEmbed()

setIf

public void setIf(java.lang.String string)

testIfCondition

private boolean testIfCondition()

findJars

public java.io.File[] findJars(org.apache.tools.ant.Project project,
                               java.lang.String frameworkDir)