org.ow2.jonas.ant
Class GenICTaskDeprecated

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.GenICTaskDeprecated
All Implemented Interfaces:
Cloneable

public class GenICTaskDeprecated
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
GenICTaskDeprecated()
           
 
Method Summary
 void setAdditionalargs(String added)
          Set additional arguments for GenIC command line.
 void setInvokecmd(boolean inv)
          Use InvokeCmd option on/off.
 void setJavac(String j)
          Set the javac command line to be used.
 void setJavacopts(String opts)
          Set the options to be given to javac.
 void setJvmdebug(boolean d)
          Set debug mode on/off.
 void setKeepgenerated(boolean k)
          Keep already generated files.
 void setNocompil(boolean noc)
          Do not compile generated java files.
 void setNoFastRMIC(boolean value)
          Specifies which RMIC compiler to use: the built-in fast one or the slower external one.
 void setProtocols(String p)
          Set the set of protocols for the generation.
 void setRmicopts(String opts)
          Set the optios to be passed to the RMI compiler.
 void setValidation(boolean v)
          Validate XML descriptors.
 void setVerbose(boolean v)
          Set verbose mode 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

GenICTaskDeprecated

public GenICTaskDeprecated()
Method Detail

setAdditionalargs

public void setAdditionalargs(String added)
                       throws Exception
Set additional arguments for GenIC command line.

Parameters:
added - additional args
Throws:
Exception

setVerbose

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

Parameters:
v - boolean
Throws:
Exception

setJvmdebug

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

Parameters:
d - boolean
Throws:
Exception

setInvokecmd

public void setInvokecmd(boolean inv)
                  throws Exception
Use InvokeCmd option on/off.

Parameters:
inv - boolean
Throws:
Exception

setNocompil

public void setNocompil(boolean noc)
                 throws Exception
Do not compile generated java files.

Parameters:
noc - on/off
Throws:
Exception

setRmicopts

public void setRmicopts(String opts)
                 throws Exception
Set the optios to be passed to the RMI compiler.

Parameters:
opts - list of options
Throws:
Exception

setValidation

public void setValidation(boolean v)
                   throws Exception
Validate XML descriptors.

Parameters:
v - on/off
Throws:
Exception

setJavac

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

Parameters:
j - path to javac executable
Throws:
Exception

setJavacopts

public void setJavacopts(String opts)
                  throws Exception
Set the options to be given to javac.

Parameters:
opts - options
Throws:
Exception

setKeepgenerated

public void setKeepgenerated(boolean k)
                      throws Exception
Keep already generated files.

Parameters:
k - on/off
Throws:
Exception

setNoFastRMIC

public void setNoFastRMIC(boolean value)
                   throws Exception
Specifies which RMIC compiler to use: the built-in fast one or the slower external one.

Parameters:
value - if true, use the external RMIC compiler
Throws:
Exception

setProtocols

public void setProtocols(String p)
                  throws Exception
Set the set of protocols for the generation.

Parameters:
p - protocol list (comma separated)
Throws:
Exception


Copyright © 2013 OW2 Consortium. All Rights Reserved.