public class SCRDescriptorTask
extends org.apache.tools.ant.taskdefs.MatchingTask
SCRDescriptorTask generates a service descriptor file based
on annotations found in the sources.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
strictMode
In strict mode the plugin even fails on warnings.
|
| Constructor and Description |
|---|
SCRDescriptorTask() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tools.ant.types.Path |
createClasspath() |
void |
execute() |
protected Collection<org.apache.felix.scrplugin.Source> |
getSourceFiles(org.apache.tools.ant.types.FileSet sourceFiles) |
boolean |
isScanClasses() |
void |
setClasspath(org.apache.tools.ant.types.Path classPath) |
void |
setClasspathRef(org.apache.tools.ant.types.Reference classpathRef) |
void |
setDestdir(File outputDirectory) |
void |
setGenerateAccessors(boolean generateAccessors) |
void |
setScanClasses(boolean scanClasses) |
void |
setSpecVersion(String specVersion) |
void |
setSrcdir(File srcdir) |
void |
setStrictMode(boolean strictMode) |
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, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected boolean strictMode
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionprotected Collection<org.apache.felix.scrplugin.Source> getSourceFiles(org.apache.tools.ant.types.FileSet sourceFiles)
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspath(org.apache.tools.ant.types.Path classPath)
public void setClasspathRef(org.apache.tools.ant.types.Reference classpathRef)
public void setSrcdir(File srcdir)
public void setDestdir(File outputDirectory)
public void setGenerateAccessors(boolean generateAccessors)
public void setStrictMode(boolean strictMode)
public void setSpecVersion(String specVersion)
public boolean isScanClasses()
public void setScanClasses(boolean scanClasses)
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.