public class Wscompile
extends org.apache.tools.ant.taskdefs.MatchingTask
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
both
-gen:both option
|
protected boolean |
client
-gen:client option
|
protected org.apache.tools.ant.types.Path |
compileClasspath
-classpath option
|
protected boolean |
define
-define option
|
protected boolean |
genImport
-import option
|
protected String |
jvmargs
-jvmargs option
|
protected boolean |
server
-gen:server option
|
protected boolean |
verbose
-verbose option
|
protected boolean |
version
-version option
|
protected boolean |
xPrintStackTrace
-Xprintstacktrace option
|
protected boolean |
xSerializable
-Xserializable option
|
| Constructor and Description |
|---|
Wscompile() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Creates a nested classpath element.
|
void |
execute()
Called by the project to let the task do it's work
|
File |
getBase()
Gets the base directory to output generated class.
|
boolean |
getBoth()
Get the value of the "gen:both" flag.
|
org.apache.tools.ant.types.Path |
getClasspath()
Gets the classpath.
|
boolean |
getClient()
Gets the "gen:client" flag.
|
File |
getConfig()
Gets the configuration file.
|
org.apache.tools.ant.types.Path |
getCP()
Gets the classpath.
|
boolean |
getDebug()
Gets the debug flag.
|
boolean |
getDefine()
Get the value of the "define" flag.
|
String |
getF()
Gets the values for the "f" flag.
|
String |
getFeatures()
Gets the values for the "features" flag.
|
boolean |
getFork()
Gets the "keep" flag.
|
boolean |
getGen()
Gets the "gen" flag.
|
String |
getHTTPProxy()
Gets the String "httpproxy" flag.
|
boolean |
getImport()
Gets the "import" flag.
|
boolean |
getIncludeantruntime()
Gets whether or not the ant classpath is to be included in the
task's classpath.
|
boolean |
getIncludejavaruntime()
Gets whether or not the java runtime should be included in this
task's classpath.
|
String |
getJvmargs()
Gets the Java VM options.
|
boolean |
getKeep()
Gets the "keep" flag.
|
File |
getMapping()
Gets the "mapping" file.
|
File |
getModel()
Gets the "model" file.
|
File |
getNonClassDir()
Gets the directory for non-class generated files.
|
boolean |
getOptimize()
Gets the optimize flag.
|
URL |
getProxyServer()
Gets the URL for "httpproxy" flag.
|
File |
getSecurity()
Gets the "security" file.
|
boolean |
getServer()
Gets the "gen:server" flag.
|
String |
getSource() |
File |
getSourceBase()
Gets the directory to place generated source java files.
|
boolean |
getVerbose()
Gets the "verbose" flag.
|
boolean |
getVersion()
Gets the "version" flag.
|
File |
getXDebugModel()
Gets the "Xdebugmodel" file.
|
boolean |
getXPrintStackTrace()
Gets the "Xprintstacktrace" flag.
|
boolean |
getXSerializable()
Gets the "Xserializable" flag.
|
void |
setBase(File base)
Sets the base directory to output generated class.
|
void |
setBoth(boolean both)
Set the value of the "gen:both" flag.
|
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Set the classpath to be used for this compilation.
|
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
Adds a reference to a CLASSPATH defined elsewhere.
|
void |
setClient(boolean client)
Sets the "gen:client" flag.
|
void |
setConfig(File config)
Sets the configuration file.
|
void |
setCP(org.apache.tools.ant.types.Path classpath)
Set the classpath to be used for this compilation.
|
void |
setDebug(boolean debug)
Sets the debug flag.
|
void |
setDefine(boolean define)
Set the value of the "define" flag.
|
void |
setF(String features)
Sets the values for the "f" flag.
|
void |
setFeatures(String features)
Sets the values for the "features" flag.
|
void |
setFork(boolean fork)
Sets the "fork" flag.
|
void |
setGen(boolean client)
Sets the "gen" flag.
|
void |
setHTTPProxy(String HTTPProxy)
Sets the String "httpproxy" flag.
|
void |
setImport(boolean genImport)
Sets the "import" flag.
|
void |
setIncludeantruntime(boolean include)
Include ant's own classpath in this task's classpath?
|
void |
setIncludejavaruntime(boolean include)
Sets whether or not to include the java runtime libraries to this
task's classpath.
|
void |
setJvmargs(String jvmargs)
Sets the Java VM options.
|
void |
setKeep(boolean keep)
Sets the "keep" flag.
|
void |
setMapping(File mappingFile)
Sets the "mapping" file.
|
void |
setModel(File modelFile)
Sets the "model" file.
|
void |
setNonClassDir(File nonClassDir)
Sets the directory for non-class generated files.
|
void |
setOptimize(boolean optimize)
Sets the optimize flag.
|
void |
setProxyServer(URL proxyURL)
Sets the URL for "httpproxy" flag.
|
void |
setSecurity(File securityFile)
Sets the "security" file.
|
void |
setServer(boolean server)
Sets the "gen:server" flag.
|
void |
setSource(String version)
Sets the -source
|
void |
setSourceBase(File sourceBase)
Sets the directory to place generated source java files.
|
void |
setVerbose(boolean verbose)
Sets the "verbose" flag.
|
void |
setVersion(boolean version)
Sets the "version" flag.
|
void |
setXDebugModel(File xDebugModel)
Sets the "Xdebugmodel" file.
|
void |
setXPrintStackTrace(boolean xPrintStackTrace)
Sets the "Xprintstacktrace" flag.
|
void |
setXSerializable(boolean xSerializable)
Sets the "Xserializable" flag.
|
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 org.apache.tools.ant.types.Path compileClasspath
protected boolean define
protected boolean client
protected boolean server
protected boolean both
protected boolean genImport
protected String jvmargs
protected boolean verbose
protected boolean version
protected boolean xPrintStackTrace
protected boolean xSerializable
public org.apache.tools.ant.types.Path getClasspath()
public void setClasspath(org.apache.tools.ant.types.Path classpath)
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public org.apache.tools.ant.types.Path getCP()
public void setCP(org.apache.tools.ant.types.Path classpath)
public File getBase()
public void setBase(File base)
public boolean getDefine()
public void setDefine(boolean define)
public String getF()
public void setF(String features)
public String getFeatures()
public void setFeatures(String features)
public boolean getDebug()
public void setDebug(boolean debug)
public boolean getGen()
public void setGen(boolean client)
public boolean getClient()
public void setClient(boolean client)
public boolean getServer()
public void setServer(boolean server)
public boolean getBoth()
public void setBoth(boolean both)
both - true if you want both client and server-side stuff
to be generated.public String getHTTPProxy()
public void setHTTPProxy(String HTTPProxy)
public URL getProxyServer()
public void setProxyServer(URL proxyURL)
public boolean getImport()
public void setImport(boolean genImport)
public String getJvmargs()
public void setJvmargs(String jvmargs)
public boolean getKeep()
public void setKeep(boolean keep)
public boolean getFork()
public void setFork(boolean fork)
public File getModel()
public void setModel(File modelFile)
public File getMapping()
public void setMapping(File mappingFile)
public File getSecurity()
public void setSecurity(File securityFile)
public File getNonClassDir()
public void setNonClassDir(File nonClassDir)
public boolean getOptimize()
public void setOptimize(boolean optimize)
public void setSourceBase(File sourceBase)
public File getSourceBase()
public boolean getVerbose()
public void setVerbose(boolean verbose)
public boolean getVersion()
public void setVersion(boolean version)
public boolean getXPrintStackTrace()
public void setXPrintStackTrace(boolean xPrintStackTrace)
public boolean getXSerializable()
public void setXSerializable(boolean xSerializable)
public File getXDebugModel()
public void setXDebugModel(File xDebugModel)
public File getConfig()
public void setConfig(File config)
public String getSource()
public void setSource(String version)
public void setIncludeantruntime(boolean include)
public boolean getIncludeantruntime()
public void setIncludejavaruntime(boolean include)
public boolean getIncludejavaruntime()
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.