|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.MatchingTask | +--org.acmsl.antmake.AntMakeTask
Generates required files to build a Java project using GNU Autoconf, Automake and libtool.
Field Summary |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset, useDefaultExcludes |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
AntMakeTask()
Creates a AntMakeTask. |
Method Summary | |
org.apache.tools.ant.types.Path |
createClasspath()
Creates the classpath. |
org.apache.tools.ant.types.Path |
createLiblicensepath()
Creates the library licenses path. |
org.apache.tools.ant.types.Path |
createSourcepath()
Creates the source-roots path. |
void |
execute()
Requests the AntMake generation process to be performed. |
java.io.File |
getAuthorsfile()
Retrieves the AUTHORS file. |
org.apache.tools.ant.types.Path |
getClasspath()
Retrieves the classpath. |
java.io.File |
getCopyingfile()
Retrieves the COPYING file. |
java.io.File |
getDestinationfolder()
Retrieves the destination folder. |
org.apache.tools.ant.types.Path |
getLiblicensepath()
Retrieves the library licenses path. |
java.lang.String |
getProjectname()
Retrieves the project name. |
java.lang.String |
getProjectversion()
Retrieves the project version. |
java.io.File |
getReadmefile()
Retrieves the README file. |
org.apache.tools.ant.types.Path |
getSourcepath()
Retrieves the sourcepath. |
void |
setAuthorsfile(java.io.File authors)
Specifies the AUTHORS file. |
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Specifies the classpath. |
void |
setClasspathref(org.apache.tools.ant.types.Reference ref)
Specifies the classpath reference. |
void |
setCopyingfile(java.io.File copying)
Specifies the COPYING file. |
void |
setDestinationfolder(java.io.File destination)
Specifies the destination folder. |
void |
setLiblicensepath(org.apache.tools.ant.types.Path liblicensepath)
Specifies the library licenses path. |
void |
setLiblicensepathref(org.apache.tools.ant.types.Reference ref)
Specifies the library licenses path reference. |
void |
setProjectname(java.lang.String name)
Specifies the project name. |
void |
setProjectversion(java.lang.String version)
Specifies the project version. |
void |
setReadmefile(java.io.File readme)
Specifies the README file. |
void |
setSourcepath(org.apache.tools.ant.types.Path sourcepath)
Specifies the sourcepath. |
void |
setSourcepathref(org.apache.tools.ant.types.Reference ref)
Specifies the sourcepath reference. |
protected void |
validateParameters()
Validates the parameters given. |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
addAnd, addContains, addCustom, addDate, addDepend, addDepth, addFilename, addMajority, addNone, addNot, addOr, addPresent, addSelector, addSize, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AntMakeTask()
Method Detail |
public void setSourcepath(org.apache.tools.ant.types.Path sourcepath)
sourcepath
- such path.public org.apache.tools.ant.types.Path getSourcepath()
public org.apache.tools.ant.types.Path createSourcepath()
public void setSourcepathref(org.apache.tools.ant.types.Reference ref)
ref
- such reference.public void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath
- such path.public org.apache.tools.ant.types.Path getClasspath()
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathref(org.apache.tools.ant.types.Reference ref)
ref
- such reference.public void setLiblicensepath(org.apache.tools.ant.types.Path liblicensepath)
liblicensepath
- such path.public org.apache.tools.ant.types.Path getLiblicensepath()
public org.apache.tools.ant.types.Path createLiblicensepath()
public void setLiblicensepathref(org.apache.tools.ant.types.Reference ref)
ref
- such reference.public void setProjectname(java.lang.String name)
name
- the project name.public java.lang.String getProjectname()
public void setProjectversion(java.lang.String version)
version
- the project version.public java.lang.String getProjectversion()
public void setDestinationfolder(java.io.File destination)
destination
- the base folder of the files to generate.public java.io.File getDestinationfolder()
public void setReadmefile(java.io.File readme)
readme
- such file.public java.io.File getReadmefile()
public void setAuthorsfile(java.io.File authors)
authors
- such file.public java.io.File getAuthorsfile()
public void setCopyingfile(java.io.File copying)
copying
- such file.public java.io.File getCopyingfile()
protected void validateParameters() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- if any parameter
is not valid.public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- whenever the required
parameters are not present or valid.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |