Mercurial > public > develkit
comparison castor-ant.xml @ 41:139a3611ae99
CM-127: Move castor-ant to develkit and teach jacoco how to instrument non-groovy projects.
author | smith@nwoca.org |
---|---|
date | Tue, 07 Jun 2011 18:08:47 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
40:5f8d6291cc66 | 41:139a3611ae99 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <project name="castor-ant" default="all" basedir="." | |
3 xmlns:ivy="antlib:fr.jayasoft.ivy.ant" > | |
4 | |
5 <!-- Standard Castor initializer. | |
6 Should used by all Ivy-based projects using Castor 1.2 or higher. | |
7 Project's ivy.xml must provide a configuration called 'castor-ant' | |
8 to declare the desired version of castor. | |
9 --> | |
10 <target name="castor-init" unless="castor.initialized"> | |
11 <property name="castor.initialized" value="true"/> | |
12 <ivy:settings id="castor.ivy.id"/> | |
13 <ivy:resolve id="castor.ivy.id" conf="castor-ant" log="quiet"/> | |
14 <ivy:cachepath | |
15 resolveId="castor.ivy.id" | |
16 pathid="castor.codegen.classpath" | |
17 conf="castor-ant" | |
18 type="jar" | |
19 log="quiet"/> | |
20 <taskdef name="castor-srcgen" | |
21 classname="org.castor.anttask.CastorCodeGenTask" | |
22 classpathref="castor.codegen.classpath" /> | |
23 | |
24 </target> | |
25 </project> |