ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas, Lee E" <Lee.E.Tho...@erac.com>
Subject RE: Jprobe coverage - Solution
Date Tue, 17 Jun 2003 17:24:48 GMT
Hi All, 

	Well I had to resort to reading the java code (coverage.java). The code adds the coverage
path to whatever home you specify. If the coverage.jar is not in the coverage directory then
it sends the message "Cannot find coverage directory  .../coverage . 
Really useful message! Any way I have now gotten around this message. 

	Thanks to all those who tried to help. 

															- Lee

-----Original Message-----
From: Thomas, Lee E 
Sent: Tuesday, June 17, 2003 10:37 AM
To: Ant Users List
Subject: RE: Jprobe coverage


yes, good catch (I was wandering if anyone would notice that, after I posted it).I placed
it there under the suites after the following kept failing:

BUILD FAILED
file:C:/junit_test/lee.xml:9: Cannot find Coverage directory: C:\Rational\coverage

So, in both cases it exists. But, usually it does not exist under the jprobe suite directory.I
have tried changing the case of the directory (even though windows is not case sensitive)
without success also. I can't figure out why it is choking on the directory. 

Thanks!

															- Lee


-----Original Message-----
From: Keith Hatton [mailto:khatton@axiomsystems.com]
Sent: Tuesday, June 17, 2003 10:29 AM
To: Ant Users List
Subject: RE: Jprobe coverage


Not wanting to state the obvious, but does the "coverage" sub-directory it is complaining
about actually exist?

Keith


-----Original Message-----
From: Thomas, Lee E [mailto:Lee.E.Thomas@erac.com]
Sent: 17 June 2003 16:13
To: Ant Users List
Subject: RE: Jprobe coverage


I previously took this into account, no difference. THanks for the suggestion though. - Lee

-----Original Message-----
From: Merdes, Matthias [mailto:matthias.merdes@eml.villa-bosch.de]
Sent: Tuesday, June 17, 2003 1:29 AM
To: Ant Users List
Subject: AW: Jprobe coverage



just a guess,
could it be that the spaces (blanks) in the path hurt?

regards
matthias


-----Urspr√ľngliche Nachricht-----
Von: Thomas, Lee E [mailto:Lee.E.Thomas@erac.com]
Gesendet: Montag, 16. Juni 2003 18:47
An: Ant Users List
Betreff: Jprobe coverage


Hi All, 

	Has anyone out there played around with jprobe coverage?

	I am trying to run this piece of ant code 

<jpcoverage home="C:\Program Files\Jprobe Suite 4.0.2"
classname="SimpleTest">
		     <jvmarg value="-classic"/>
		     <classpath path="."/> 
		</jpcoverage>


	and I get the following error. The coverage directory is a child
directory under the one specified. ANy idea as to what is going on with
this? Has anyone out there made use of the jprobe coverage, with ant.
Thank you!     - Lee

	BUILD FAILED
file:C:/junit_test/lee.xml:14: Cannot find Coverage directory:
C:\Program Files\
Jprobe Suite 4.0.2\coverage
        at
org.apache.tools.ant.taskdefs.optional.sitraka.Coverage.checkOptions(
Coverage.java:366)
        at
org.apache.tools.ant.taskdefs.optional.sitraka.Coverage.execute(Cover
age.java:328)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

<jpcoverage home="C:\Program Files\Jprobe Suite 4.0.2"
classname="SimpleTest">
		     <jvmarg value="-classic"/>
		     <classpath path="."/> 
		</jpcoverage>

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


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

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


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


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


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


Mime
View raw message