annotate castor-ant.xml @ 129:bef2bfc61f6e

CM-133: fix bamboo plan parsing. enable showEnv to display sytem properties and env variables in -info mode
author smith@nwoca.org
date Wed, 05 Jun 2013 02:29:48 +0100
parents 139a3611ae99
children
rev   line source
41
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
2 <project name="castor-ant" default="all" basedir="."
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
3 xmlns:ivy="antlib:fr.jayasoft.ivy.ant" >
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
4
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
5 <!-- Standard Castor initializer.
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
6 Should used by all Ivy-based projects using Castor 1.2 or higher.
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
7 Project's ivy.xml must provide a configuration called 'castor-ant'
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
8 to declare the desired version of castor.
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
9 -->
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
10 <target name="castor-init" unless="castor.initialized">
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
11 <property name="castor.initialized" value="true"/>
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
12 <ivy:settings id="castor.ivy.id"/>
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
13 <ivy:resolve id="castor.ivy.id" conf="castor-ant" log="quiet"/>
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
14 <ivy:cachepath
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
15 resolveId="castor.ivy.id"
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
16 pathid="castor.codegen.classpath"
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
17 conf="castor-ant"
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
18 type="jar"
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
19 log="quiet"/>
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
20 <taskdef name="castor-srcgen"
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
21 classname="org.castor.anttask.CastorCodeGenTask"
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
22 classpathref="castor.codegen.classpath" />
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
23
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
24 </target>
139a3611ae99 CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
smith@nwoca.org
parents:
diff changeset
25 </project>