ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas <nwhit...@yahoo.com>
Subject Re: Clover
Date Sun, 23 Nov 2003 17:19:19 GMT
I have implemented it, but I do not think there is a
target like you have described as such. Basically, my
build script instruments the source code, and when you
run the compiled source code, then the clover db is
initialized and writen to.

Here is the ant script I use to instrument the code:

		<java
classname="com.cortexeb.tools.clover.CloverInstr"
fork="true" failonerror="true">
			<arg value="${clover.jdk14}"/>
			<arg value="-f"/>
			<arg value="${clover.flush.interval}"/>
			<arg value="--initstring"/>
			<arg
value="c:/temp/clover_coverage-${version}.db"/>
			<arg value="--srcdir"/>
			<arg value="${src.dir}"/>
			<arg value="--destdir"/>
			<arg value="${tmpsrc.dir}"/>
			<classpath>
				<fileset dir="${lib.dir}">
					<include name="**/*.jar"/>
				</fileset>
			</classpath>
		</java>

 Hope that helps.

//Nicholas

--- Martin Gainty <mgainty@hotmail.com> wrote:
> Has anyone implemented clover successfully?
> I am trying like crazy to find the clover target
> which creates / initialises
> the DB?
> The setup doc is REALLY hard to find
> Help!
> 
> Thanks,
> -Martin
> GMT+3
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 


=====
Nicholas Whitehead
Home: (973) 377 9335
Cell: (201) 615 2716
nwhitehe@yahoo.com
Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message