RE: Possible to use with Cobertura?
"Bret Kumler" <[email protected]>
| Newsgroups | gmane.comp.jakarta.cactus.user |
|---|---|
| Message-ID | <24F7E976D2C85149A4785E11309B603303F0A5C9@traveler> |
See my answers with the *******
Couple questions...
1) <!-- Configure the cactus task for logging -->
<cactusproperty server="false"
propertiesFile="${meta.dir}/${configtype}/test/logging_client.properties"/>
<cactusproperty server="true"
propertiesFile="${meta.dir}/${configtype}/test/logging_server.properties"/>
Are these logging configurations necessary to create Cobertura tset results?
and what is in your meta-dir directory?
2)
******* Nope, I use it for Cactus logging. *******
Where and how did you put the instumented classes into the war file?
3)
******* Sorry I meant, put the instrumented classes in the classpath of the <cactus warfile> element.
<classpath>
<pathelement path="${instrumented.classes}"/>
<pathelement path="${classes.dir}"/>
</classpath>
*******
<containerclasspath>
<pathelement path="${test-props.dir}"/>
</containerclasspath>
What is in your test-props.dir directory?
******* Ignore this.*******
4) <classpath>
..
..
<pathelement location="${test-lib.dir}/veridata-tests.jar"/>
..
</classpath>
What is your veridata-tests.jar? and what does it contain?
******* Ignore this, it's my test classes *******
5)<tomcat4x if="tomcat-dist.dir"
..
..
..
..
jvmArgs="${gg.home}
-Dnet.sourceforge.cobertura.datafile=${test.dir}/cobertura.ser/≥
</containerset>
for the jvmArgs property, what is your ${gg.home} directory and what does
-Dnet.sourceforge.cobertura.datafile=${test.dir}/cobertura.ser/≥ tell me?
******* Ignore ${gg.home} it's used by my testing harness. *******
******* The -Dnet.sourceforge.cobertura.datafile=${test.dir}/cobertura.ser is used by cobertura to tell it where the .ser is located so it can generate all the stats. This is mentioned in the cobertura docs...... *******
Thanks again for your help with this...much appreciated!
Ryan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
This e-mail message and any attachments may contain private, confidential, proprietary or privileged material of GoldenGate Software, Inc. that is for the sole use of the intended recipient(s) of this e-mail message. Any review, copying or distribution or other use of this e-mail message or any attachments hereto by anyone other than the intended recipient(s) is strictly prohibited. If you are not the intended recipient(s) of this e-mail message, please contact GoldenGate Software, Inc. (415-777-0200) immediately and permanently delete the original e-mail message and any copies of this e-mail message and all attachments, if any.