org.tigris.scarab.util.build
Class AntL10AnalysisTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.tigris.scarab.util.build.AntL10AnalysisTask

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

Ant task to check for localisation problems.

Ant parameters:

In case the output is redirected to a file, summary information is displayed on the ant output.

Author:
sreindl

Nested Class Summary
 class AntL10AnalysisTask.Message
          sub Class that represents a severity setting message
 
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
AntL10AnalysisTask()
           
 
Method Summary
 org.apache.tools.ant.types.FileSet createFileset()
          Files to load
 AntL10AnalysisTask.Message createMessageSet()
          ant handler for the messageSet token
 void execute()
           
 void setFailonerr(boolean failonerr)
          Handle the attribute fileonerr
 void setOutfile(java.lang.String filename)
          Set the output file
 void setRefFile(java.lang.String aFile)
          Handle the attribute "refFile"
 void setVerbose(int verbose)
          Handle the attribute "verbose".
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
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

AntL10AnalysisTask

public AntL10AnalysisTask()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException

setOutfile

public void setOutfile(java.lang.String filename)
Set the output file

Parameters:
filename - the file to write

setRefFile

public void setRefFile(java.lang.String aFile)
Handle the attribute "refFile"

Parameters:
aFile - The reference file to be used

setVerbose

public void setVerbose(int verbose)
Handle the attribute "verbose".

Parameters:
verbose - The verbosity to be set

setFailonerr

public void setFailonerr(boolean failonerr)
Handle the attribute fileonerr

Parameters:
failonerr - The failonerr to set.

createFileset

public org.apache.tools.ant.types.FileSet createFileset()
Files to load

Returns:
A new FileSet that represents a list of files to be read.

createMessageSet

public AntL10AnalysisTask.Message createMessageSet()
ant handler for the messageSet token

Returns:
a new allocated message


Copyright © 2000-2004 Tigris.org. All Rights Reserved.