org.ow2.jonas.ant
Class JOnASBaseTaskDeprecated

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.JOnASBaseTaskDeprecated
All Implemented Interfaces:
java.lang.Cloneable

public class JOnASBaseTaskDeprecated
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
JOnASBaseTaskDeprecated()
           
 
Method Summary
 java.lang.Object createCarol()
          Add tasks for Carol configuration.
 java.lang.Object createDb()
          Add task for the DB service.
 java.lang.Object createDbm()
          Add task for the DBM service.
 java.lang.Object createDiscovery()
          Add tasks for Discovery configuration.
 java.lang.Object createJdbcRa()
          Add task for Resource adaptor.
 java.lang.Object createJdbcXml()
          Add task for Resource adaptor.
 java.lang.Object createJms()
          tasks for JMS configuration.
 java.lang.Object createJonasProperties()
          task for jonas.properties global properties configuration.
 java.lang.Object createLib()
          Add task for library to put in JONAS_BASE/lib/ext.
 java.lang.Object createMail()
          Add task for Resource adaptor.
 java.lang.Object createWebcontainer()
          Add tasks for the web container configuration.
 java.lang.Object createWsdlPublish()
          Add task for WSDL.
 void setDestDir(java.io.File destDir)
          Set the destination directory for the replacement.
 void setJonasRoot(java.io.File jonasRoot)
          Set the source directory for the replacement.
 void setUpdate(boolean onlyUpdate)
          Set if this is only an update or a new JONAS_BASE.
 
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

JOnASBaseTaskDeprecated

public JOnASBaseTaskDeprecated()
Method Detail

setDestDir

public void setDestDir(java.io.File destDir)
                throws java.lang.Exception
Set the destination directory for the replacement.

Parameters:
destDir - the destination directory
Throws:
java.lang.Exception

setJonasRoot

public void setJonasRoot(java.io.File jonasRoot)
                  throws java.lang.Exception
Set the source directory for the replacement.

Parameters:
jonasRoot - the source directory
Throws:
java.lang.Exception

setUpdate

public void setUpdate(boolean onlyUpdate)
               throws java.lang.Exception
Set if this is only an update or a new JONAS_BASE.

Parameters:
onlyUpdate - If true update, else create and then update
Throws:
java.lang.Exception

createJonasProperties

public java.lang.Object createJonasProperties()
                                       throws java.lang.Exception
task for jonas.properties global properties configuration.

Throws:
java.lang.Exception

createJms

public java.lang.Object createJms()
                           throws java.lang.Exception
tasks for JMS configuration.

Throws:
java.lang.Exception

createCarol

public java.lang.Object createCarol()
                             throws java.lang.Exception
Add tasks for Carol configuration.

Throws:
java.lang.Exception

createWebcontainer

public java.lang.Object createWebcontainer()
                                    throws java.lang.Exception
Add tasks for the web container configuration.

Throws:
java.lang.Exception

createDb

public java.lang.Object createDb()
                          throws java.lang.Exception
Add task for the DB service.

Throws:
java.lang.Exception

createDiscovery

public java.lang.Object createDiscovery()
                                 throws java.lang.Exception
Add tasks for Discovery configuration.

Throws:
java.lang.Exception

createJdbcXml

public java.lang.Object createJdbcXml()
                               throws java.lang.Exception
Add task for Resource adaptor.

Throws:
java.lang.Exception

createJdbcRa

public java.lang.Object createJdbcRa()
                              throws java.lang.Exception
Add task for Resource adaptor.

Throws:
java.lang.Exception

createMail

public java.lang.Object createMail()
                            throws java.lang.Exception
Add task for Resource adaptor.

Throws:
java.lang.Exception

createDbm

public java.lang.Object createDbm()
                           throws java.lang.Exception
Add task for the DBM service.

Throws:
java.lang.Exception

createWsdlPublish

public java.lang.Object createWsdlPublish()
                                   throws java.lang.Exception
Add task for WSDL.

Throws:
java.lang.Exception

createLib

public java.lang.Object createLib()
                           throws java.lang.Exception
Add task for library to put in JONAS_BASE/lib/ext.

Throws:
java.lang.Exception


Copyright © 2012 OW2 Consortium. All Rights Reserved.