Mercurial > public > develkit
comparison ivy-ant.xml @ 48:561ece0a8225
Return to using snapshot resolver to ensure ivy.xml file from dependency can be found and improve performance and tracbility. removed changing from chain. Modified local to be treated as local.
author | smith@nwoca.org |
---|---|
date | Thu, 16 Jun 2011 17:26:39 -0400 |
parents | 639bec4999f2 |
children | 7066d68bcb47 |
comparison
equal
deleted
inserted
replaced
47:f1c7d93a41c8 | 48:561ece0a8225 |
---|---|
32 <target name="ivy-info" depends="init"> | 32 <target name="ivy-info" depends="init"> |
33 <ivy:info file="ivy.xml" property="ivy.project"/> | 33 <ivy:info file="ivy.xml" property="ivy.project"/> |
34 <echoproperties prefix="ivy.project"/> | 34 <echoproperties prefix="ivy.project"/> |
35 </target> | 35 </target> |
36 | 36 |
37 <target name="ivy-clean-all" description="cleans ssdt caches and local builds" depends="init"> | |
38 <delete failonerror="false" includeemptydirs="true" dir="${user.home}/.ivy2"/> | |
39 </target> | |
40 | |
37 <target name="ivy-clean" description="cleans ssdt caches and local builds" depends="init"> | 41 <target name="ivy-clean" description="cleans ssdt caches and local builds" depends="init"> |
38 <delete failonerror="false" includeemptydirs="true"> | 42 <delete failonerror="false" includeemptydirs="true"> |
39 <fileset dir="${user.home}/.ivy2/cache"> | 43 <fileset dir="${user.home}/.ivy2/cache"> |
40 <include name="org.ssdt_ohio/**"/> | 44 <include name="org.ssdt_ohio/**"/> |
41 <include name="org.nwoca.ssdt/**"/> | 45 <include name="org.nwoca.ssdt/**"/> |
42 <include name="*org*.ssdt*.*"/> | 46 <include name="*ssdt*.*"/> |
43 </fileset> | 47 </fileset> |
44 </delete> | 48 </delete> |
45 <delete dir="${user.home}/.ivy2/ssdt-cache" failonerror="false"/> | 49 <delete dir="${user.home}/.ivy2/ssdt-cache" failonerror="false"/> |
50 <delete dir="${user.home}/.ivy2/snapshot-cache" failonerror="false"/> | |
46 <delete dir="${user.home}/.ivy2/local" failonerror="false"/> | 51 <delete dir="${user.home}/.ivy2/local" failonerror="false"/> |
47 </target> | 52 </target> |
48 | 53 |
49 <target name="-ivy-retrieve-custom" depends="-ivy-define-classpaths,-ivy-retrieve-web-jars"> | 54 <target name="-ivy-retrieve-custom" depends="-ivy-define-classpaths,-ivy-retrieve-web-jars"> |
50 </target> | 55 </target> |
146 <else> | 151 <else> |
147 <property name="run.test.classpath" value="${old.run.test.classpath}${path.separator}${ivy.run.test.classpath}"/> | 152 <property name="run.test.classpath" value="${old.run.test.classpath}${path.separator}${ivy.run.test.classpath}"/> |
148 </else> | 153 </else> |
149 </if> | 154 </if> |
150 <if> | 155 <if> |
151 <isset property="coverage.run.with.cobertura"/> | 156 <isset property="coverage.run.with.cobertura"/> |
152 <then> | 157 <then> |
153 <property name="precoverage.run.test.classpath" value="${run.test.classpath}"/> | 158 <property name="precoverage.run.test.classpath" value="${run.test.classpath}"/> |
154 <var name="run.test.classpath" unset="true"/> | 159 <var name="run.test.classpath" unset="true"/> |
155 <property name="run.test.classpath" value="${cobertura.instrumented.classes}${path.separator}${precoverage.run.test.classpath}${path.separator}${cobertura.classpath.path}"/> | 160 <property name="run.test.classpath" value="${cobertura.instrumented.classes}${path.separator}${precoverage.run.test.classpath}${path.separator}${cobertura.classpath.path}"/> |
156 </then> | 161 </then> |
157 </if> | 162 </if> |
158 <if> | 163 <if> |
159 <isset property="coverage.run.with.clover"/> | 164 <isset property="coverage.run.with.clover"/> |
160 <then> | 165 <then> |
161 <property name="preclover.run.test.classpath" value="${run.test.classpath}"/> | 166 <property name="preclover.run.test.classpath" value="${run.test.classpath}"/> |
162 <var name="run.test.classpath" unset="true"/> | 167 <var name="run.test.classpath" unset="true"/> |
163 <property name="run.test.classpath" value="${preclover.run.test.classpath}${path.separator}${clover.jar.file}"/> | 168 <property name="run.test.classpath" value="${preclover.run.test.classpath}${path.separator}${clover.jar.file}"/> |
164 </then> | 169 </then> |
165 </if> | 170 </if> |
166 | 171 |
167 <echo level="debug" message="$${run.test.classpath} : ${run.test.classpath}"/> | 172 <echo level="debug" message="$${run.test.classpath} : ${run.test.classpath}"/> |
168 | 173 |
169 <ivy:cachepath pathid="ivy.debug.classpath.id" conf="compile,runtime" type="jar"/> | 174 <ivy:cachepath pathid="ivy.debug.classpath.id" conf="compile,runtime" type="jar"/> |
170 <pathconvert dirsep="/" pathsep="${path.separator}" property="ivy.debug.classpath"> | 175 <pathconvert dirsep="/" pathsep="${path.separator}" property="ivy.debug.classpath"> |