Re: run tests in ofbiz and installinmg cobertura.

2009-12-20 Thread Scott Gray

Hi Hans,

The problem is that using ./ant run-tests triggers the build using the  
ant version bundled with OFBiz and of late a few dependencies have  
been introduced that haven't been made available in our bundled  
version.  It hasn't affected me because I use the ant installed on my  
system rather than OFBiz's copy so I haven't complained about it.


Without these problems running the tests is easy.

Regards
Scott

On 21/12/2009, at 3:54 PM, Hans Bakker wrote:


Can anybody give me information how to run the junit tests in ofbiz?

I used ./ant run-tests and then i see coberura is missing, i see that
need to be installed but could not find any info on it related to  
ofbiz


can tests now run without it? because i see further problems in the  
run.


We would like to add tests for the new Axis2 but run in the problems
above.

running tests should be easy?

--
Antwebsystems.com: Quality OFBiz services for competitive rates





smime.p7s
Description: S/MIME cryptographic signature


Re: run tests in ofbiz and installinmg cobertura.

2009-12-20 Thread Adam Heath
Hans Bakker wrote:
 I used ./ant run-tests and then i see coberura is missing, i see that
 need to be installed but could not find any info on it related to ofbiz

Everything should still work without the cobertura jar installed.
What error did you get?



Re: run tests in ofbiz and installinmg cobertura.

2009-12-20 Thread Adam Heath
Adam Heath wrote:
 Hans Bakker wrote:
 I used ./ant run-tests and then i see coberura is missing, i see that
 need to be installed but could not find any info on it related to ofbiz
 
 Everything should still work without the cobertura jar installed.
 What error did you get?

This error has nothing to do with cobertura.  Those exceptions you see
early are ignored by the code.  I designed the instrumentation system
to deal with the error.

The problem you are actually seeing has to do with there being no
ant-trax.jar in framework/base/lib; this is needed by junitreport.

Scott, could you get an ant-trax.jar for version 1.7.0?  I only have
1.7.1 installed locally.

Hans, next time, actually report the error(s) you get, instead of just
saying it doesn't work.  If someone reported an error in something
you had done, wouldn't you want to have as much information as possible?



Re: run tests in ofbiz and installinmg cobertura.

2009-12-20 Thread Hans Bakker
Hi Adam,

i would have come back with an error message...As i could not find any
information about running the tests in OFBiz I was just asking general
information. 

Wouldn't it be nice to have some explanation about it? There was
recently a lot of discussion about it, however only in the mailing list.

Regards,
Hans

On Sun, 2009-12-20 at 21:59 -0600, Adam Heath wrote:
 Adam Heath wrote:
  Hans Bakker wrote:
  I used ./ant run-tests and then i see coberura is missing, i see that
  need to be installed but could not find any info on it related to ofbiz
  
  Everything should still work without the cobertura jar installed.
  What error did you get?
 
 This error has nothing to do with cobertura.  Those exceptions you see
 early are ignored by the code.  I designed the instrumentation system
 to deal with the error.
 
 The problem you are actually seeing has to do with there being no
 ant-trax.jar in framework/base/lib; this is needed by junitreport.
 
 Scott, could you get an ant-trax.jar for version 1.7.0?  I only have
 1.7.1 installed locally.
 
 Hans, next time, actually report the error(s) you get, instead of just
 saying it doesn't work.  If someone reported an error in something
 you had done, wouldn't you want to have as much information as possible?
 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: run tests in ofbiz and installinmg cobertura.

2009-12-20 Thread Scott Gray

On 21/12/2009, at 4:59 PM, Adam Heath wrote:


Adam Heath wrote:

Hans Bakker wrote:
I used ./ant run-tests and then i see coberura is missing, i see  
that
need to be installed but could not find any info on it related to  
ofbiz


Everything should still work without the cobertura jar installed.
What error did you get?


This error has nothing to do with cobertura.  Those exceptions you see
early are ignored by the code.  I designed the instrumentation system
to deal with the error.

The problem you are actually seeing has to do with there being no
ant-trax.jar in framework/base/lib; this is needed by junitreport.

Scott, could you get an ant-trax.jar for version 1.7.0?  I only have
1.7.1 installed locally.


I'm on 1.7.1 as well, I'm sure we could get hold of a copy but I don't  
have time to do so right now.


Regards
Scott

smime.p7s
Description: S/MIME cryptographic signature


Re: run tests in ofbiz and installinmg cobertura.

2009-12-20 Thread Adam Heath
Scott Gray wrote:
 On 21/12/2009, at 4:59 PM, Adam Heath wrote:
 
 Adam Heath wrote:
 Hans Bakker wrote:
 I used ./ant run-tests and then i see coberura is missing, i see that
 need to be installed but could not find any info on it related to ofbiz

 Everything should still work without the cobertura jar installed.
 What error did you get?

 This error has nothing to do with cobertura.  Those exceptions you see
 early are ignored by the code.  I designed the instrumentation system
 to deal with the error.

 The problem you are actually seeing has to do with there being no
 ant-trax.jar in framework/base/lib; this is needed by junitreport.

 Scott, could you get an ant-trax.jar for version 1.7.0?  I only have
 1.7.1 installed locally.
 
 I'm on 1.7.1 as well, I'm sure we could get hold of a copy but I don't
 have time to do so right now.

I'm upgrading the internal ant to 1.7.1, and will fix this trax
problem as well.



Re: run tests in ofbiz and installinmg cobertura.

2009-12-20 Thread Scott Gray

On 21/12/2009, at 5:36 PM, Adam Heath wrote:


Scott Gray wrote:

On 21/12/2009, at 4:59 PM, Adam Heath wrote:


Adam Heath wrote:

Hans Bakker wrote:
I used ./ant run-tests and then i see coberura is missing, i see  
that
need to be installed but could not find any info on it related  
to ofbiz


Everything should still work without the cobertura jar installed.
What error did you get?


This error has nothing to do with cobertura.  Those exceptions you  
see
early are ignored by the code.  I designed the instrumentation  
system

to deal with the error.

The problem you are actually seeing has to do with there being no
ant-trax.jar in framework/base/lib; this is needed by junitreport.

Scott, could you get an ant-trax.jar for version 1.7.0?  I only have
1.7.1 installed locally.


I'm on 1.7.1 as well, I'm sure we could get hold of a copy but I  
don't

have time to do so right now.


I'm upgrading the internal ant to 1.7.1, and will fix this trax
problem as well.


That's great, thanks so much Adam.



smime.p7s
Description: S/MIME cryptographic signature