org.codehaus.aspectwerkz.compiler
Class AspectWerkzCTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.codehaus.aspectwerkz.compiler.AspectWerkzCTask

public class AspectWerkzCTask
extends org.apache.tools.ant.Task

AspectWerkzC offline Ant task. Use the following parameters to configure the task:

Use the following parameters to configure the classpath and to point to the classes to be weaved. Those can be specified with nested elements as well / instead:

Nested elements are similar to the "java" task when you configure a classpath:

Some rarely used options are also available:

Author:
the_mindstorm(at)evolva(dot)ro, Alexandre Vasseur

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
AspectWerkzCTask()
           
 
Method Summary
 org.apache.tools.ant.types.Path createClasspath()
           
 org.apache.tools.ant.types.Path createTarget()
           
 org.apache.tools.ant.types.Path createTargetpath()
           
 void execute()
           
 void setAspectModels(String aspectModels)
          aspectmodels=..
 void setBackupdir(File backupDir)
          backupdir=..
 void setClasspath(org.apache.tools.ant.types.Path classpath)
           
 void setClasspathRef(org.apache.tools.ant.types.Reference r)
           
 void setDefinition(File defFile)
          definition=..
 void setDetails(boolean details)
          details=..
 void setGenjp(boolean genjp)
          genjp=..
 void setPreprocessor(String preprocessorFqn)
          preprocessor=..
 void setTargetdir(org.apache.tools.ant.types.Path srcDir)
           
 void setTargetpath(org.apache.tools.ant.types.Path targetpath)
           
 void setTargetpathRef(org.apache.tools.ant.types.Reference r)
           
 void setTaskVerbose(boolean verbose)
          compilerverbose=..
 void setVerbose(boolean verbose)
          verbose=..
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectWerkzCTask

public AspectWerkzCTask()
Method Detail

setDefinition

public void setDefinition(File defFile)
definition=..

Parameters:
defFile -

setVerbose

public void setVerbose(boolean verbose)
verbose=..

Parameters:
verbose -

setDetails

public void setDetails(boolean details)
details=..

Parameters:
details -

setGenjp

public void setGenjp(boolean genjp)
genjp=..

Parameters:
genjp -

setTaskVerbose

public void setTaskVerbose(boolean verbose)
compilerverbose=..

Parameters:
verbose -

setAspectModels

public void setAspectModels(String aspectModels)
aspectmodels=..

Parameters:
aspectModels -

createTarget

public org.apache.tools.ant.types.Path createTarget()

setTargetdir

public void setTargetdir(org.apache.tools.ant.types.Path srcDir)

setTargetpath

public void setTargetpath(org.apache.tools.ant.types.Path targetpath)

createTargetpath

public org.apache.tools.ant.types.Path createTargetpath()

setTargetpathRef

public void setTargetpathRef(org.apache.tools.ant.types.Reference r)

setBackupdir

public void setBackupdir(File backupDir)
backupdir=..

Parameters:
backupDir -

setPreprocessor

public void setPreprocessor(String preprocessorFqn)
preprocessor=..

Parameters:
preprocessorFqn -

setClasspath

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

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference r)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.