core-version task
Description
The core-version task is used to define the compatibility between core and modules.
This tasks support :
- static version (Example : 0.5)
- dynamic version (Example : latest.revision) even if we do not recommand to use it
- listed version (Example : (0.1,0.3,0.5) )
- range version (Example : [0.5,0.8] means from 0.5 to 0.8. Example2 : [0.5,+] means all version superior to 0.5)
Arguments
Parameter name | Description | Mandatory |
---|---|---|
requiredRevision | specify the required revision | true |
message | the error message to display if the core revision check fails (note: the message could also be put as a nested text of this ant task) |
Nested Elements
This task support nested text as error message.<ea:core-version requiredrevision="[0.7,+]">
This is my failing message.
</ea:core-version>
Example
<ea:core-version requiredrevision="[0.7,+]" />