Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: dsl/develop/ant/ruchaud-brunel/extracted
Source used for this grammar: Julien Ruchaud, Pauline Brunel, Ant.ecore
, version 0.3, 2005/07/06 [Atlantic]
Project
, Property
, PropertyName
, PropertyValue
, PropertyLocation
, PropertyFile
, PropertyEnv
, Target
, Pattern
, Basic
, Mapper
, InExcludes
, Includes
, Excludes
, IncludesFile
, ExcludesFile
, FileList
, Filter
, FiltersFile
, PathElement
, Set
, PatternSet
, FileSet
, FilterSet
, Path
, ClassPath
, Task
, TaskDef
, NewTask
, Attribut
, PreDefinedTask
, ExecutionTask
, Exec
, Java
, MiscellaneousTask
, Echo
, Tstamp
, FormatTstamp
, CompileTask
, Javac
, DocumentationTask
, Javadoc
, ArchiveTask
, Jar
, FileTask
, Mkdir
, Copy
, Delete
, String
), 0 root (—), 2 top (Project
, Pattern
), 0 bottom (—).[name]
8, [basedir]
2, [description]
2, [default]
, [path]
3, [properties]
, [taskdef]
, [targets]
, [value]
3, [location]
2, [file]
5, [environment]
, [unless]
5, [ifCondition]
5, [depends]
, [tasks]
, [type]
, [classname]
3, [classpath]
, [classpathref]
, [from]
, [to]
, [dir]
5, [files]
, [token]
, [inexcludes]
, [patternset]
, [include]
, [exclude]
, [starttoken]
, [endtoken]
, [filter]
, [filtersfile]
, [id]
, [refid]
2, [pathElement]
2, [fileset]
3, [taskName]
, [attributes]
, [executable]
, [jar]
, [fork]
2, [classPath]
2, [message]
, [append]
, [format]
, [property]
, [pattern]
, [offset]
, [unit]
, [locale]
, [srcdir]
, [destdir]
2, [debug]
, [optimize]
, [deprecation]
, [inExcludes]
, [sourcepath]
, [packagenames]
, [defaultexcludes]
2, [author]
, [version]
, [use]
, [windowtitle]
, [jarfile]
, [compress]
, [encoding]
, [manifest]
, [presservelastmodified]
, [tofile]
, [todir]
, [overwrite]
, [filtering]
, [flatten]
, [includeEmptyDirs]
2, [filterset]
, [mapper]
, [verbose]
, [quiet]
, [failonerror]
, [includes]
, [includesfile]
, [excludes]
, [excludesfile]
.Project ::= [name]::String [basedir]::String [description]::String [default]::Target [path]::Path [properties]::Property[taskdef]::TaskDef [targets]::Target
Property ::= PropertyName
Property ::= PropertyFile
Property ::= PropertyEnv
PropertyName ::= PropertyValue
PropertyName ::= PropertyLocation
PropertyValue ::= [value]::String
PropertyLocation ::= [location]::String
PropertyFile ::= [file]::String
PropertyEnv ::= [environment]::String
Target ::= [name]::String [description]::String [unless]::String [ifCondition]::String [depends]::Target[tasks]::Task
Pattern ::= Basic
Pattern ::= Set
Basic ::= Mapper
Basic ::= InExcludes
Basic ::= FileList
Basic ::= Filter
Basic ::= FiltersFile
Basic ::= PathElement
Mapper ::= [type]::String [classname]::String [classpath]::String [classpathref]::String [from]::String [to]::String
InExcludes ::= Includes
InExcludes ::= Excludes
InExcludes ::= IncludesFile
InExcludes ::= ExcludesFile
Includes ::= [name]::String [ifCondition]::String [unless]::String
Excludes ::= [name]::String [ifCondition]::String [unless]::String
IncludesFile ::= [name]::String [ifCondition]::String [unless]::String
ExcludesFile ::= [name]::String [ifCondition]::String [unless]::String
FileList ::= [dir]::String [files]::String
Filter ::= [token]::String [value]::String
FiltersFile ::= [file]::String
PathElement ::= [path]::String [location]::String
Set ::= PatternSet
Set ::= FileSet
Set ::= FilterSet
Set ::= Path
Set ::= ClassPath
PatternSet ::=
[inexcludes]::InExcludes
FileSet ::= [dir]::String [patternset]::PatternSet[include]::Includes [exclude]::Excludes
FilterSet ::= [starttoken]::String [endtoken]::String [filter]::Filter[filtersfile]::FiltersFile
Path ::= [id]::String [refid]::String [path]::Path [pathElement]::PathElement[fileset]::FileSet
ClassPath ::= [refid]::String [pathElement]::PathElement[fileset]::FileSet
Task ::= NewTask
Task ::= PreDefinedTask
TaskDef ::= [name]::String [classname]::String
NewTask ::=
[taskName]::TaskDef [attributes]::Attribut
Attribut ::= [name]::String [value]::String
PreDefinedTask ::= ExecutionTask
PreDefinedTask ::= MiscellaneousTask
PreDefinedTask ::= CompileTask
PreDefinedTask ::= DocumentationTask
PreDefinedTask ::= ArchiveTask
PreDefinedTask ::= FileTask
ExecutionTask ::= Exec
ExecutionTask ::= Java
Exec ::= [executable]::String [dir]::String
Java ::= [classname]::String [jar]::String [fork]::String [classPath]::ClassPath
MiscellaneousTask ::= Echo
MiscellaneousTask ::= Tstamp
Echo ::= [message]::String [file]::String [append]::String
Tstamp ::=
[format]::FormatTstamp
FormatTstamp ::= [property]::String [pattern]::String [offset]::String [unit]::String [locale]::String
CompileTask ::= Javac
Javac ::=
[srcdir]::String [destdir]::String [debug]::String [fork]::String [optimize]::String [deprecation]::String [inExcludes]::InExcludes
[classPath]::ClassPathDocumentationTask ::= Javadoc
Javadoc ::= [sourcepath]::String [destdir]::String [packagenames]::String [defaultexcludes]::String [author]::String [version]::String [use]::String [windowtitle]::String
ArchiveTask ::= Jar
Jar ::= [jarfile]::String [basedir]::String [compress]::String [encoding]::String [manifest]::String
FileTask ::= Mkdir
FileTask ::= Copy
FileTask ::= Delete
Mkdir ::= [dir]::String
Copy ::= [file]::String [presservelastmodified]::String [tofile]::String [todir]::String [overwrite]::String [filtering]::String [flatten]::String [includeEmptyDirs]::String [fileset]::FileSet [filterset]::FilterSet [mapper]::Mapper
Delete ::= [file]::String [dir]::String [verbose]::String [quiet]::String [failonerror]::String [includeEmptyDirs]::String [includes]::String [includesfile]::String [excludes]::String [excludesfile]::String [defaultexcludes]::String
String ::= string