This is a repackage of serviceMessages.jar from TeamCity open-api as Ant task.
Usage in Ant
<!-- import task into Ant -->
<taskdef name="teamcity-service-message"
classname="org.jonnyzzz.teamcity.ant.TeamCityServiceMessageTask">
<classpath>
<fileset dir="PATH_TO_LIBRARIES" includes="TeamCity.AntMessages-VERSION.jar"/>
</classpath>
</taskdef>
<!-- post simple service message
<teamcity-service-message name="name" value="value"/>
<!-- post complex service message -->
<teamcity-service-message name="name">
<param name="aaa" value="vvv"/>
<param name="aa2a" value="v2vv"/>
</teamcity-service-message>
<taskdef resource="teamcity-messages.xml">
<classpath>
<fileset dir="PATH_TO_LIBRARIES" includes="TeamCity.AntMessages-*.jar"/>
</classpath>
</taskdef>
This antlib contains a number of macrodefs for most of TeamCity service messages
Run ./gradlew dist
MIT. See LICENSE
See NOTICE