Re: Building with Jenkins - cobertura and sonar

2012-04-11 Thread Pierre Smits
Hi Erwan, I tried ant sonar (after doing a clean-all and load-demo) against my mySQL where the repository of sonar resides and I got following: /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:1060: org.picocontainer.PicoLifecycleException: PicoLifecycleException: method 'public final

Re: Building with Jenkins - cobertura and sonar

2012-04-11 Thread Erwan de FERRIERES
Le 11/04/2012 20:49, Pierre Smits a écrit : Hi Erwan, I tried ant sonar (after doing a clean-all and load-demo) against my mySQL where the repository of sonar resides and I got following: /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:1060: org.picocontainer.PicoLifecycleException:

Re: Building with Jenkins - cobertura and sonar

2012-04-11 Thread Pierre Smits
Hi Erwan, I am a bit confused here. I have sonar running on a separate VM, with my db on yet another VM. I have sonar running and according to what I see in sonar.properties it looks ok. Do you intend to say that I need an additional sonar.properties file in my OFBiz download? Regards, Pierre

Re: Building with Jenkins - cobertura and sonar

2012-04-11 Thread Erwan de FERRIERES
Le 11/04/2012 22:50, Pierre Smits a écrit : Hi Erwan, I am a bit confused here. I have sonar running on a separate VM, with my db on yet another VM. I have sonar running and according to what I see in sonar.properties it looks ok. Do you intend to say that I need an additional sonar.properties

Building with Jenkins - cobertura and sonar

2012-04-10 Thread Pierre Smits
Hi Erwan, In build.xml is following code: !-- list of optional Sonar properties -- property name=sonar.projectName value=Apache OFBiz / sonar:sonar key=org.apache:ofbiz version= ${info.entry.commit(revision)} xmlns:sonar=antlib:org.sonar.ant:sonar/ property

Re: Building with Jenkins - cobertura and sonar

2012-04-10 Thread Erwan de FERRIERES
I am trying to set this up and I have following questions: I never used it with another DB than derby...   1. Should the mySQL driver be in framework/entity/lib/jdbc folder? can't answer but I'll make some tests   2. My mySQL db for sonar is on a different server (not localhost). Must   I

Re: Building with Jenkins - cobertura and sonar

2012-04-10 Thread Pierre Smits
Hi Erwan, I guess that the same would then be applicable for: property key=sonar.host.url value=${sonar.host.url} / Regards, Pierre Op 10 april 2012 16:09 schreef Erwan de FERRIERES erwan.deferrie...@gmail.com het volgende: I am trying to set this up and I have following questions:

Re: Building with Jenkins - cobertura and sonar

2012-04-10 Thread Pierre Smits
Hi Erwan, I think there might be an issue here regarding mysql. As licence is not compatible/usable with ASF 2.0 we cannot include the mySQL jar by default. But if we want to do an automated reporting on OFBiz, trunk pulled from svn, to sonar on mysql then the driver is needed. And manually

Re: Building with Jenkins - cobertura and sonar

2012-04-10 Thread Jacques Le Roux
Maybe out of subject, but I'd prefer Postgres and we have an ant task already for that (thanks to Erwan IIRW) Jacques From: Pierre Smits pierre.sm...@gmail.com Hi Erwan, I think there might be an issue here regarding mysql. As licence is not compatible/usable with ASF 2.0 we cannot include

Re: Building with Jenkins - cobertura and sonar

2012-04-10 Thread Pierre Smits
Hi Jacques, Postgresql is also my preferred choice of db, but OFBiz delivers on the opportunity of using mySQL as a db platform. Using a download and install mechanism as we have for Postgresql and other plugins (Cobertura, Sonar) would help our endusers in their adoption of OFBiz, in stead of

Re: Building with Jenkins - cobertura and sonar

2012-04-10 Thread Erwan de FERRIERES
Pierre, so sonar does not need any driver, just take a look in sonar-2.14/extensions/jdbc-driver You just need to configure the sonar.properties file. 2012/4/10 Pierre Smits pierre.sm...@gmail.com: Hi Jacques, Postgresql is also my preferred choice of db, but OFBiz delivers on the opportunity

Re: Building with Jenkins - cobertura and sonar

2012-04-10 Thread Jacques Le Roux
From: Pierre Smits pierre.sm...@gmail.com Hi Jacques, Postgresql is also my preferred choice of db, but OFBiz delivers on the opportunity of using mySQL as a db platform. Using a download and install mechanism as we have for Postgresql and other plugins (Cobertura, Sonar) would help our

Re: Building with Jenkins - cobertura and sonar

2012-04-10 Thread Pierre Smits
Done! Op 10 april 2012 18:36 schreef Jacques Le Roux jacques.le.r...@les7arts.com het volgende: From: Pierre Smits pierre.sm...@gmail.com Hi Jacques, Postgresql is also my preferred choice of db, but OFBiz delivers on the opportunity of using mySQL as a db platform. Using a download and