org.ow2.jonas.ant
Class WsGenTaskDeprecated

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.ow2.jonas.ant.AbstractAntDeprecated
              extended by org.ow2.jonas.ant.WsGenTaskDeprecated
All Implemented Interfaces:
Cloneable

public class WsGenTaskDeprecated
extends AbstractAntDeprecated

Class only used for compatibility with previous version of JOnAS

Author:
Jeremy Cazaux

Field Summary
 
Fields inherited from class org.ow2.jonas.ant.AbstractAntDeprecated
logger
 
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
WsGenTaskDeprecated()
           
 
Method Summary
 void setDebug(boolean b)
          Set WSDL2Java debug mode to on/off.
 void setDestdir(File d)
          Set the output Directory.
 void setJavac(String j)
          Set the javac command line.
 void setJavacopts(String opts)
          Set Java Compiler Options.
 void setJonasbase(File jb)
          Set the JONAS_BASE to use.
 void setJonasroot(File jr)
          Set the JONAS_ROOT to use.
 void setJvmdebug(boolean d)
          Set debug mode on/off.
 void setKeepgen(boolean k)
          Set keep Generated mode to on/off.
 void setNoconfig(boolean c)
          Set noConfig mode to on/off.
 void setSrcdir(File s)
          Set where source jar files are located.
 void setValidation(boolean v)
          Set XML Validation on/off.
 void setVerbose(boolean v)
          Set WSDL2Java verbose mode to on/off.
 
Methods inherited from class org.ow2.jonas.ant.AbstractAntDeprecated
deprecated
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, 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
 

Constructor Detail

WsGenTaskDeprecated

public WsGenTaskDeprecated()
Method Detail

setDestdir

public void setDestdir(File d)
                throws Exception
Set the output Directory.

Parameters:
d - output dir
Throws:
Exception

setSrcdir

public void setSrcdir(File s)
               throws Exception
Set where source jar files are located.

Parameters:
s - sources dir
Throws:
Exception

setValidation

public void setValidation(boolean v)
                   throws Exception
Set XML Validation on/off.

Parameters:
v - on/off
Throws:
Exception

setJavac

public void setJavac(String j)
              throws Exception
Set the javac command line.

Parameters:
j - javac to use
Throws:
Exception

setJavacopts

public void setJavacopts(String opts)
                  throws Exception
Set Java Compiler Options.

Parameters:
opts - Options
Throws:
Exception

setKeepgen

public void setKeepgen(boolean k)
                throws Exception
Set keep Generated mode to on/off.

Parameters:
k - on/off
Throws:
Exception

setNoconfig

public void setNoconfig(boolean c)
                 throws Exception
Set noConfig mode to on/off.

Parameters:
c - on/off
Throws:
Exception

setVerbose

public void setVerbose(boolean v)
                throws Exception
Set WSDL2Java verbose mode to on/off.

Parameters:
v - on/off
Throws:
Exception

setDebug

public void setDebug(boolean b)
              throws Exception
Set WSDL2Java debug mode to on/off.

Parameters:
b - on/off
Throws:
Exception

setJvmdebug

public void setJvmdebug(boolean d)
                 throws Exception
Set debug mode on/off. Used only by developers that wants to Debug WsGen.

Parameters:
d - boolean
Throws:
Exception

setJonasroot

public void setJonasroot(File jr)
                  throws Exception
Set the JONAS_ROOT to use.

Parameters:
jr - JONAS_ROOT
Throws:
Exception

setJonasbase

public void setJonasbase(File jb)
                  throws Exception
Set the JONAS_BASE to use.

Parameters:
jb - JONAS_BASE
Throws:
Exception


Copyright © 2013 OW2 Consortium. All Rights Reserved.