com.sun.tools.ws.ant
Class Apt

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.sun.tools.ws.ant.Apt
All Implemented Interfaces:
Cloneable

Deprecated.

@Deprecated
public class Apt
extends org.apache.tools.ant.Task

Reincarnation of old APT task The task has the same API as old one, with only difference that it isn't possible to set additional annotation factories Ant task which will process JAX-WS annotations


Nested Class Summary
static class Apt.Jvmarg
          Deprecated.  
static class Apt.Option
          Deprecated.  
 
Field Summary
protected  org.apache.tools.ant.types.Path bootclassPath
          Deprecated. -bootclasspath option: override location of bootstrap class files
protected  org.apache.tools.ant.types.Path compileClasspath
          Deprecated. -classpath option
protected  boolean debug
          Deprecated. -g option: debugging info
protected  String debugLevel
          Deprecated. debug level
protected  boolean deprecation
          Deprecated. -deprecation option: output source locations where deprecated APIs are used
protected  String encoding
          Deprecated. -encoding option: character encoding used by the source files
protected  String endorseddirs
          Deprecated. -endorseddirs option: override location of endorsed standards path
protected  String extdirs
          Deprecated. -extdirs option: override location of installed extensions
protected  boolean fork
          Deprecated. -fork option:
protected  List<Apt.Jvmarg> jvmargs
          Deprecated. -J option: Pass directly to the runtime
protected  boolean nowarn
          Deprecated. -nowarn option: generate no warnings
protected  List<Apt.Option> options
          Deprecated. -A option
protected  List<org.apache.tools.ant.types.FileSet> sourceFileset
          Deprecated.  
protected  org.apache.tools.ant.types.Path sourcePath
          Deprecated. -sourcepath option: Specify where to find input source files
protected  String targetVM
          Deprecated. -target option: generate class files for specific VM version
protected  boolean verbose
          Deprecated. -verbose option: output messages about what the compiler is doing
 
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
Apt()
          Deprecated.  
 
Method Summary
 void addConfiguredSource(org.apache.tools.ant.types.FileSet fileset)
          Deprecated.  
 org.apache.tools.ant.types.Path createClasspath()
          Deprecated. Creates a nested classpath element.
 Apt.Jvmarg createJvmarg()
          Deprecated.  
 Apt.Option createOption()
          Deprecated.  
 void execute()
          Deprecated. Called by the project to let the task do it's work *
 org.apache.tools.ant.types.Path getBootclasspath()
          Deprecated.  
 org.apache.tools.ant.types.Path getClasspath()
          Deprecated.  
 String getDebuglevel()
          Deprecated.  
 File getDestdir()
          Deprecated.  
 String getEncoding()
          Deprecated.  
 String getEndorseddirs()
          Deprecated.  
 String getExtdirs()
          Deprecated.  
 List<Apt.Jvmarg> getJvmargs()
          Deprecated.  
 List<Apt.Option> getOptions()
          Deprecated.  
 File getSourcedestdir()
          Deprecated.  
 org.apache.tools.ant.types.Path getSourcepath()
          Deprecated.  
 String getTarget()
          Deprecated.  
 boolean isDebug()
          Deprecated.  
 boolean isDeprecation()
          Deprecated.  
 boolean isFork()
          Deprecated.  
 boolean isNocompile()
          Deprecated.  
 boolean isNowarn()
          Deprecated.  
 boolean isPrint()
          Deprecated.  
 boolean isVerbose()
          Deprecated.  
 boolean isXprintaptrounds()
          Deprecated.  
 boolean isXprintfactoryinfo()
          Deprecated.  
(package private)  void prepareSourceList(Set<File> sourceFiles)
          Deprecated.  
 void setBootclasspath(org.apache.tools.ant.types.Path bootclassPath)
          Deprecated.  
 void setClasspath(org.apache.tools.ant.types.Path classpath)
          Deprecated.  
 void setClasspathRef(org.apache.tools.ant.types.Reference r)
          Deprecated. Adds a reference to a CLASSPATH defined elsewhere.
 void setDebug(boolean debug)
          Deprecated.  
 void setDebuglevel(String debugLevel)
          Deprecated.  
 void setDeprecation(boolean deprecation)
          Deprecated.  
 void setDestdir(File base)
          Deprecated.  
 void setEncoding(String encoding)
          Deprecated.  
 void setEndorseddirs(String endorseddirs)
          Deprecated.  
 void setExtdirs(String extdirs)
          Deprecated.  
 void setFork(boolean fork)
          Deprecated.  
 void setNocompile(boolean noCompile)
          Deprecated.  
 void setNowarn(boolean nowarn)
          Deprecated.  
 void setPrint(boolean print)
          Deprecated.  
 void setSourcedestdir(File sourceBase)
          Deprecated.  
 void setSourcepath(org.apache.tools.ant.types.Path sourcePath)
          Deprecated.  
 void setTarget(String target)
          Deprecated.  
 void setVerbose(boolean verbose)
          Deprecated.  
 void setXprintaptrounds(boolean xPrintAptRounds)
          Deprecated.  
 void setXprintfactoryinfo(boolean xPrintFactoryInfo)
          Deprecated.  
 
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

compileClasspath

protected org.apache.tools.ant.types.Path compileClasspath
Deprecated. 
-classpath option


options

protected List<Apt.Option> options
Deprecated. 
-A option


jvmargs

protected List<Apt.Jvmarg> jvmargs
Deprecated. 
-J option: Pass directly to the runtime


debug

protected boolean debug
Deprecated. 
-g option: debugging info


debugLevel

protected String debugLevel
Deprecated. 
debug level


nowarn

protected boolean nowarn
Deprecated. 
-nowarn option: generate no warnings


deprecation

protected boolean deprecation
Deprecated. 
-deprecation option: output source locations where deprecated APIs are used


bootclassPath

protected org.apache.tools.ant.types.Path bootclassPath
Deprecated. 
-bootclasspath option: override location of bootstrap class files


extdirs

protected String extdirs
Deprecated. 
-extdirs option: override location of installed extensions


endorseddirs

protected String endorseddirs
Deprecated. 
-endorseddirs option: override location of endorsed standards path


verbose

protected boolean verbose
Deprecated. 
-verbose option: output messages about what the compiler is doing


sourcePath

protected org.apache.tools.ant.types.Path sourcePath
Deprecated. 
-sourcepath option: Specify where to find input source files


encoding

protected String encoding
Deprecated. 
-encoding option: character encoding used by the source files


targetVM

protected String targetVM
Deprecated. 
-target option: generate class files for specific VM version


fork

protected boolean fork
Deprecated. 
-fork option:


sourceFileset

protected List<org.apache.tools.ant.types.FileSet> sourceFileset
Deprecated. 
Constructor Detail

Apt

public Apt()
Deprecated. 
Method Detail

getClasspath

public org.apache.tools.ant.types.Path getClasspath()
Deprecated. 

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path classpath)
Deprecated. 

createClasspath

public org.apache.tools.ant.types.Path createClasspath()
Deprecated. 
Creates a nested classpath element.


setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference r)
Deprecated. 
Adds a reference to a CLASSPATH defined elsewhere.


getDestdir

public File getDestdir()
Deprecated. 

setDestdir

public void setDestdir(File base)
Deprecated. 

setSourcedestdir

public void setSourcedestdir(File sourceBase)
Deprecated. 

getSourcedestdir

public File getSourcedestdir()
Deprecated. 

getOptions

public List<Apt.Option> getOptions()
Deprecated. 

createOption

public Apt.Option createOption()
Deprecated. 

getJvmargs

public List<Apt.Jvmarg> getJvmargs()
Deprecated. 

createJvmarg

public Apt.Jvmarg createJvmarg()
Deprecated. 

isNocompile

public boolean isNocompile()
Deprecated. 

setNocompile

public void setNocompile(boolean noCompile)
Deprecated. 

isPrint

public boolean isPrint()
Deprecated. 

setPrint

public void setPrint(boolean print)
Deprecated. 

isXprintaptrounds

public boolean isXprintaptrounds()
Deprecated. 

setXprintaptrounds

public void setXprintaptrounds(boolean xPrintAptRounds)
Deprecated. 

isXprintfactoryinfo

public boolean isXprintfactoryinfo()
Deprecated. 

setXprintfactoryinfo

public void setXprintfactoryinfo(boolean xPrintFactoryInfo)
Deprecated. 

isDebug

public boolean isDebug()
Deprecated. 

setDebug

public void setDebug(boolean debug)
Deprecated. 

getDebuglevel

public String getDebuglevel()
Deprecated. 

setDebuglevel

public void setDebuglevel(String debugLevel)
Deprecated. 

isNowarn

public boolean isNowarn()
Deprecated. 

setNowarn

public void setNowarn(boolean nowarn)
Deprecated. 

isDeprecation

public boolean isDeprecation()
Deprecated. 

setDeprecation

public void setDeprecation(boolean deprecation)
Deprecated. 

getBootclasspath

public org.apache.tools.ant.types.Path getBootclasspath()
Deprecated. 

setBootclasspath

public void setBootclasspath(org.apache.tools.ant.types.Path bootclassPath)
Deprecated. 

getExtdirs

public String getExtdirs()
Deprecated. 

setExtdirs

public void setExtdirs(String extdirs)
Deprecated. 

getEndorseddirs

public String getEndorseddirs()
Deprecated. 

setEndorseddirs

public void setEndorseddirs(String endorseddirs)
Deprecated. 

isVerbose

public boolean isVerbose()
Deprecated. 

setVerbose

public void setVerbose(boolean verbose)
Deprecated. 

getSourcepath

public org.apache.tools.ant.types.Path getSourcepath()
Deprecated. 

setSourcepath

public void setSourcepath(org.apache.tools.ant.types.Path sourcePath)
Deprecated. 

getEncoding

public String getEncoding()
Deprecated. 

setEncoding

public void setEncoding(String encoding)
Deprecated. 

getTarget

public String getTarget()
Deprecated. 

setTarget

public void setTarget(String target)
Deprecated. 

isFork

public boolean isFork()
Deprecated. 

setFork

public void setFork(boolean fork)
Deprecated. 

addConfiguredSource

public void addConfiguredSource(org.apache.tools.ant.types.FileSet fileset)
Deprecated. 

prepareSourceList

void prepareSourceList(Set<File> sourceFiles)
                 throws org.apache.tools.ant.BuildException
Deprecated. 
Throws:
org.apache.tools.ant.BuildException

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Deprecated. 
Called by the project to let the task do it's work *

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.