Hi Erwan:
Thanks for the info. The addition of Cobertura in-and-of-itself was a
big surprise. But then, I guess I only have myself to blame since I
don't monitor the mailing lists or the Wiki that closely, and I never
saw it coming :-)
Sorry to say, the patch will have to wait since I'm not working with
10.x on a regular basis. This was just a one-off request to take a quick
peak at some general OFBiz features and I just happen to have a 10.x
version up and running at the time.
Thanks again.
Regards,
Ruth
On 3/24/11 8:16 AM, Erwan de FERRIERES wrote:
Le 24/03/2011 12:52, Ruth Hoffman a écrit :
Hi Jacques:
I discovered this last week during a training class I was
giving...Unfortunately, I was not hooked up to the Internet so I was not
able to demonstrate. IMHO, this should be reverted back to the expected
behavior, or alternatively, an option provided to bypass and still run
non-network based tests.
Regards,
Ruth
On 3/24/11 2:49 AM, Jacques Le Roux wrote:
I have nothing against (as it can be easily bypasssed) it but it's
worth to be noted that run-tests depends now on download-cobertura,
which itself depends on an internet connection. Hence run-tests can't
be used on a server w/out Internet connection
Jacques
Hi Ruth,
it's really easy to bypass, just remove the download-cobertura call.
<target name="run-tests" depends="download-cobertura, build"
I have been added this as there was an error in the logs when lauching
tests and the lib wasn't found.
a solution I see is creating a new ant target, like
run-tests-no-internet, or whatever you want which is *not* using
cobertura nor test coverage.
This has been added in OFBiz in last december
(https://fisheye6.atlassian.com/changelog/ofbiz?cs=1050915).
I've just added a better description for the ant target.
So, waiting for your patch !
Cheers,