| Class | Antwrap::AntTask |
| In: |
lib/ant_task.rb
|
| Parent: | Object |
| executed | [RW] | |
| logger | [RW] | |
| project | [RW] | |
| taskname | [RW] | |
| unknown_element | [RW] |
Creates an AntTask taskname
-A String representing the name of an Ant Task. This name should correspond to the element name of the Ant xml task (e.g. javac, jar, war, etc).
antProject
-An instance of an AntProject
attributes
-A Hash of task name/values to be applied to the task.
For example:
antProject = AntProject.new()
antTask = AntTask.new('javac', antProject, {:debug => 'on', :verbose => 'no', :fork => 'no'})