org.autosemantix.ant
Class AutoSemantixTask

java.lang.Object
  extended byTask
      extended byorg.autosemantix.ant.AutoSemantixTask

public class AutoSemantixTask
extends Task

This task provides an interface to AutoSemantix for the Ant build tool. This feature is not working yet.

Version:
Created on Aug 7, 2005
Author:
Shawn Simister
See Also:
Serialized Form

Constructor Summary
AutoSemantixTask()
           
 
Method Summary
 void execute()
           
 void setBaseClass(java.lang.String baseClass)
          Set the base class for the Thing class.
 void setChangeLog(java.lang.String changeLog)
          Set the filepath of the HTML change log.
 void setDeltaFile(java.lang.String deltaFile)
          Set the filename ofthe delta change log file.
 void setHeaderFile(java.lang.String headerFile)
          Set the header file to be used in all generated source files.
 void setModelFile(java.lang.String modelFile)
          Set the filename of the ecore model file.
 void setName(java.lang.String name)
          Set the project name.
 void setOntology(java.lang.String ontology)
          Set the URI of the ontology to be processed.
 void setPackagePrefix(java.lang.String packagePrefix)
          Set the base package to place all other packages inside.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoSemantixTask

public AutoSemantixTask()
Method Detail

setBaseClass

public void setBaseClass(java.lang.String baseClass)
Set the base class for the Thing class.

Parameters:
baseClass - The base class.

setChangeLog

public void setChangeLog(java.lang.String changeLog)
Set the filepath of the HTML change log.

Parameters:
changeLog - The filepath of the delta file.

setName

public void setName(java.lang.String name)
Set the project name.

Parameters:
name - Project name.

setOntology

public void setOntology(java.lang.String ontology)
Set the URI of the ontology to be processed.

Parameters:
ontology - The URI of the ontology.

setPackagePrefix

public void setPackagePrefix(java.lang.String packagePrefix)
Set the base package to place all other packages inside.

Parameters:
packagePrefix - The base package.

setModelFile

public void setModelFile(java.lang.String modelFile)
Set the filename of the ecore model file.

Parameters:
modelFile - The .ecore model filename.

setDeltaFile

public void setDeltaFile(java.lang.String deltaFile)
Set the filename ofthe delta change log file.

Parameters:
deltaFile - The .delta file.

setHeaderFile

public void setHeaderFile(java.lang.String headerFile)
Set the header file to be used in all generated source files.

Parameters:
headerFile - The header text file.

execute

public void execute()
             throws BuildException
Throws:
BuildException