|
Replies:
6
-
Pages:
1
-
Last Post:
Oct 25, 2009 12:11 AM
by: lstest1
|
|
|
Posts:
2
Registered:
9/22/08
|
|
|
|
jprobe integation with Maven CPM?
Posted:
Sep 29, 2008 1:33 PM
|
|
|
Has anyone integrated jProbe into a maven build process? It seems that one approach would be to execute the ant scripts that Steven Haines referensed in his whitepaper, CPM with Eclipse.
The best solution would probably require a Maven mojo to directly pass the classpath and program variables to jplauncher.
Has anyone done this?
|
|
|
Posts:
171
Registered:
3/21/07
|
|
|
|
Re: jprobe integation with Maven CPM?
Posted:
Sep 29, 2008 1:39 PM
in response to: bchaplin
|
 |
Answered |
|
|
We provide a simple example of Maven integration using our automation tooling (which is also the basis that Steve Haines used for the CPM toolkit) in our demo set, look for ...\<JProbe root>\demos\treasurehunt\Maven
Please take a look and let me know if that's helpful to you.
|
|
|
Posts:
2
Registered:
9/22/08
|
|
|
|
Re: jprobe integation with Maven CPM?
Posted:
Sep 30, 2008 6:00 AM
in response to: SHodgins
|
|
|
|
|
Yes, that was helpful but I had to make 2 changes but still wasn't able to run most of the reports. Is it possible someone could make the demo run using maven 2.0.9? I attached what I've changed so far, if that helps. I'm using jProbe 8.0.1, btw.
1. We're using Maven 2.0.9 so I had to upgrade the version of maven-plugin-tools-ant to 2.1 in the pom to build the plugin. You might want to update that in your next build.
2. since the jprobe.ant.jar was apparently refactored, i changed the class names in jprobe.build.xml taskdef's to the new class names
for example, I changed com.jprobe.ant.JPCovBaseline to com.jprobe.ant.reports.coverage.JPCovBaseline
However,
Of the report goals, I could only run jpcovreport
I got the following:
jpperfreport doesn't support the collectdata attribute jpperfdiffreport doesn't support the collectdata attribute jpcovmerge type doesn't support the "destfile" attribute jpcovbaseline type doesn't support the "destfile" attribute
jpheapreport, snapshot attribute must be set
|
|
|
Posts:
171
Registered:
3/21/07
|
|
|
|
Re: jprobe integation with Maven CPM?
Posted:
Oct 7, 2008 3:41 PM
in response to: bchaplin
|
|
|
|
|
Here are the revised files. Please let us know if they help you out!
|
|
|
Posts:
6
Registered:
7/3/07
|
|
|
|
Re: jprobe integation with Maven CPM?
Posted:
Nov 24, 2008 3:33 AM
in response to: bchaplin
|
|
|
Hi there,
We (DeCare Systems Ireland) have been working on a CPM Toolkit implementation for the last number of months. In fact Stuart mentioned in another post that we have taken ownership of the development of the toolkit.
It works with ANT and Maven and we have it running successfully on a number of Maven based projects. There is very little manual intervention required to get it working with your project as we pass all the relevant Maven properties to a cpm.build.xml ANT file via the ANTRUN plugin.
If you go to our homepage you can register to access the online live demonstration and forum
http://www.decaresystems.com/
If you'd like to know more, check out
http://blog.decaresystems.ie/index.php/2008/10/08/continuous-performance-management-in-practise/ http://blog.decaresystems.ie/index.php/2008/09/25/changes-to-our-process-cpm/
Regards, Jay apm@decaresystems.ie Message was edited by: Jay
Message was edited by: Jay
|
|
|
Posts:
2
Registered:
10/21/09
|
|
|
|
Re: jprobe integation with Maven CPM?
Posted:
Oct 21, 2009 7:34 AM
in response to: bchaplin
|
|
|
seems other open source tools are more usable.
|
|
|
|
Legend
|
|
Guru: 2001
+
pts
|
|
Expert: 751
- 2000
pts
|
|
Enthusiast: 31
- 750
pts
|
|
Novice: 0
- 30
pts
|
|
Moderators
|
|
Helpful answer
(5 pts)
|
|
Answered
(10 pts)
|
|