org.activemath.omdocjdom.mbase
Class OmdocJdomMBaseReloaderTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.activemath.omdocjdom.mbase.OmdocJdomMBaseReloaderTask

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

This class provides a little wrapper to send, without any xml-rpc library, a request to reload the OmdocJdomMbase.


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
OmdocJdomMBaseReloaderTask()
           
 
Method Summary
 void execute()
           
 void setBasePath(File basePath)
           
 void setCollection(String collection)
           
 void setDebug(boolean debug)
           
 void setMapBackToOQMath(boolean mapBackToOQMath)
          If true, the errors received will be attempted to be mapped back to the oqmath corresponding sources.
 void setMBaseRefURL(String url)
           
 
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

OmdocJdomMBaseReloaderTask

public OmdocJdomMBaseReloaderTask()
Method Detail

setMBaseRefURL

public void setMBaseRefURL(String url)
                    throws Exception
Throws:
Exception

setBasePath

public void setBasePath(File basePath)

setMapBackToOQMath

public void setMapBackToOQMath(boolean mapBackToOQMath)
If true, the errors received will be attempted to be mapped back to the oqmath corresponding sources. The default mapper is assumed here, mapping file x.omdoc to file ../oqmath/x.oqmath if it exists and is younger the the omdoc file.

Parameters:
mapBackToOQMath - Wether to map or not, defaults to true.

setCollection

public void setCollection(String collection)

setDebug

public void setDebug(boolean debug)

execute

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