Re: How to put cobertura.ser in target DIR

2007-04-27 Thread Hugues Pisapia

Hi There,

I've had the antrun plugin does thi for me by adding this the parent
pom of my multi project:

 
   maven-antrun-plugin
   
 
   process-test-resources
   cobertura:bugfix
   
 
   
 
   
   
 run
   
 
   
 

And it seems to fix the stuff with sirefire 2.3 and cobertura 2.1.

- Hugues


2007/1/8, Hans L'Hoest <[EMAIL PROTECTED]>:

Hello all,

I seem to be running into the same problem: I can't configure the
cobertura datafile.

When running cobertura:cobertura I am getting:

"Cobertura: Coverage data file C:\projects\myproject\cobertura.ser
either does not exist or is not readable.  Creating a new data file."

Followed by lines like:

"[cobertura] INFO  [main]
net.sourceforge.cobertura.reporting.html.HTMLReport - Data file does
not contain instrumentation information for the file
MethodEditor.java.  Ensure this class was instrumented, and this data
file contains the instrumentation information."

It seems the instrumentation is saved to a different ser file than the
one that is being used by the report generation. (The instrument goal
instruments more classes than on the 2nd run with the cobertura goal.)

I can get it to work with a manual step:
* First run: mvn clean cobertura:instrument
* Then I copy the cobertura.ser file from
C:\projects\myproject\target\cobertura to C:\projects\myproject
* I run mvn cobertura:cobertura

My report is generated fine. No errors.

Any idea how I can fix this (this has nothing to do with the clean
goal it seems as the correct file cannot be found.)?

Thank you,
Kind regards,

Hans



On 10/4/06, Joakim Erdfelt <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The situation with the dataFile parameter, is that it is unreliable to
> use System Properties from within the embedded nature of the
> cobertura-maven-plugin.
>
> The bug has a fix on the cobertura side:
> 
https://sourceforge.net/tracker/index.php?func=detail&aid=1543280&group_id=130558&atid=720017
>
> Go encourage the cobertura folks to commit that patch.
> Full disclosure: Yes I wrote that patch, so I'm a little biased. ;-)
>
> The current cobertura-maven-plugin snapshot available in subversion
> already supports that cobertura patch.
>
> Once that patch is applied on the cobertura side, we should be able to
> reliably set the dataFile parameter. yay!
>
> You can also use the maven-clean-plugin to clean out that file.
>
> 
>   org.apache.maven.plugins
>   maven-clean-plugin
>   
> 
>   
> ${basedir}
> 
>   cobertura.ser
> 
>   
> 
>   
> 
>
> (caution, I wrote this out from memory, it might contain typos.)
>
> - Joakim Erdfelt
>
> dan tran wrote:
> > oopps, the doc did say we can not change this location due to bug in
> > corbertura 1.6
> >
> > how about remove that file in your post-clean phase
> >
> > -D
> >
> >
> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >>
> >> So how would I configure dataFile  in my plugin?
> >>
> >>
> >>
> >>
> >> On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
> >> >
> >> > http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html
> >> >
> >> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >> > >
> >> > > I want to know how I can put cobertura.ser into my target DIR so
> >> when
> >> I
> >> > > run
> >> > > mvn clean, the cobertura files get cleaned as well.
> >> > >
> >> > > --
> >> > >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Hugues
--
e: [EMAIL PROTECTED]
jid: [EMAIL PROTECTED]
Fight Multiple Sclerosis - http://odyssee-espoir.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to put cobertura.ser in target DIR

2007-01-08 Thread Hans L'Hoest

Thank you Bob. This worked.

On 1/9/07, Bob Allison <[EMAIL PROTECTED]> wrote:

I have gotten around this problem by specifying version 2.0 of the cobertura
plugin.  This causes Maven to use version 1.7 of Cobertura which does not
exhibit this problem.

- Original Message -
From: "Hans L'Hoest" <[EMAIL PROTECTED]>
To: "Maven Users List" 
Sent: Monday, January 08, 2007 8:01 AM
Subject: Re: How to put cobertura.ser in target DIR


> Hello all,
>
> I seem to be running into the same problem: I can't configure the
> cobertura datafile.
>
> When running cobertura:cobertura I am getting:
>
> "Cobertura: Coverage data file C:\projects\myproject\cobertura.ser
> either does not exist or is not readable.  Creating a new data file."
>
> Followed by lines like:
>
> "[cobertura] INFO  [main]
> net.sourceforge.cobertura.reporting.html.HTMLReport - Data file does
> not contain instrumentation information for the file
> MethodEditor.java.  Ensure this class was instrumented, and this data
> file contains the instrumentation information."
>
> It seems the instrumentation is saved to a different ser file than the
> one that is being used by the report generation. (The instrument goal
> instruments more classes than on the 2nd run with the cobertura goal.)
>
> I can get it to work with a manual step:
> * First run: mvn clean cobertura:instrument
> * Then I copy the cobertura.ser file from
> C:\projects\myproject\target\cobertura to C:\projects\myproject
> * I run mvn cobertura:cobertura
>
> My report is generated fine. No errors.
>
> Any idea how I can fix this (this has nothing to do with the clean
> goal it seems as the correct file cannot be found.)?
>
> Thank you,
> Kind regards,
>
> Hans
>
>
>
> On 10/4/06, Joakim Erdfelt <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> The situation with the dataFile parameter, is that it is unreliable to
>> use System Properties from within the embedded nature of the
>> cobertura-maven-plugin.
>>
>> The bug has a fix on the cobertura side:
>> 
https://sourceforge.net/tracker/index.php?func=detail&aid=1543280&group_id=130558&atid=720017
>>
>> Go encourage the cobertura folks to commit that patch.
>> Full disclosure: Yes I wrote that patch, so I'm a little biased. ;-)
>>
>> The current cobertura-maven-plugin snapshot available in subversion
>> already supports that cobertura patch.
>>
>> Once that patch is applied on the cobertura side, we should be able to
>> reliably set the dataFile parameter. yay!
>>
>> You can also use the maven-clean-plugin to clean out that file.
>>
>> 
>>   org.apache.maven.plugins
>>   maven-clean-plugin
>>   
>> 
>>   
>> ${basedir}
>> 
>>   cobertura.ser
>> 
>>   
>> 
>>   
>> 
>>
>> (caution, I wrote this out from memory, it might contain typos.)
>>
>> - Joakim Erdfelt
>>
>> dan tran wrote:
>> > oopps, the doc did say we can not change this location due to bug in
>> > corbertura 1.6
>> >
>> > how about remove that file in your post-clean phase
>> >
>> > -D
>> >
>> >
>> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>> >>
>> >> So how would I configure dataFile  in my plugin?
>> >>
>> >>
>> >>
>> >>
>> >> On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html
>> >> >
>> >> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>> >> > >
>> >> > > I want to know how I can put cobertura.ser into my target DIR so
>> >> when
>> >> I
>> >> > > run
>> >> > > mvn clean, the cobertura files get cleaned as well.
>> >> > >
>> >> > > --
>> >> > >
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to put cobertura.ser in target DIR

2007-01-08 Thread Bob Allison
I have gotten around this problem by specifying version 2.0 of the cobertura 
plugin.  This causes Maven to use version 1.7 of Cobertura which does not 
exhibit this problem.


- Original Message - 
From: "Hans L'Hoest" <[EMAIL PROTECTED]>

To: "Maven Users List" 
Sent: Monday, January 08, 2007 8:01 AM
Subject: Re: How to put cobertura.ser in target DIR



Hello all,

I seem to be running into the same problem: I can't configure the
cobertura datafile.

When running cobertura:cobertura I am getting:

"Cobertura: Coverage data file C:\projects\myproject\cobertura.ser
either does not exist or is not readable.  Creating a new data file."

Followed by lines like:

"[cobertura] INFO  [main]
net.sourceforge.cobertura.reporting.html.HTMLReport - Data file does
not contain instrumentation information for the file
MethodEditor.java.  Ensure this class was instrumented, and this data
file contains the instrumentation information."

It seems the instrumentation is saved to a different ser file than the
one that is being used by the report generation. (The instrument goal
instruments more classes than on the 2nd run with the cobertura goal.)

I can get it to work with a manual step:
* First run: mvn clean cobertura:instrument
* Then I copy the cobertura.ser file from
C:\projects\myproject\target\cobertura to C:\projects\myproject
* I run mvn cobertura:cobertura

My report is generated fine. No errors.

Any idea how I can fix this (this has nothing to do with the clean
goal it seems as the correct file cannot be found.)?

Thank you,
Kind regards,

Hans



On 10/4/06, Joakim Erdfelt <[EMAIL PROTECTED]> wrote:

Hi,

The situation with the dataFile parameter, is that it is unreliable to
use System Properties from within the embedded nature of the
cobertura-maven-plugin.

The bug has a fix on the cobertura side:
https://sourceforge.net/tracker/index.php?func=detail&aid=1543280&group_id=130558&atid=720017

Go encourage the cobertura folks to commit that patch.
Full disclosure: Yes I wrote that patch, so I'm a little biased. ;-)

The current cobertura-maven-plugin snapshot available in subversion
already supports that cobertura patch.

Once that patch is applied on the cobertura side, we should be able to
reliably set the dataFile parameter. yay!

You can also use the maven-clean-plugin to clean out that file.


  org.apache.maven.plugins
  maven-clean-plugin
  

  
${basedir}

  cobertura.ser

  

  


(caution, I wrote this out from memory, it might contain typos.)

- Joakim Erdfelt

dan tran wrote:
> oopps, the doc did say we can not change this location due to bug in
> corbertura 1.6
>
> how about remove that file in your post-clean phase
>
> -D
>
>
> On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>>
>> So how would I configure dataFile  in my plugin?
>>
>>
>>
>>
>> On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
>> >
>> > http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html
>> >
>> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>> > >
>> > > I want to know how I can put cobertura.ser into my target DIR so
>> when
>> I
>> > > run
>> > > mvn clean, the cobertura files get cleaned as well.
>> > >
>> > > --
>> > >


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to put cobertura.ser in target DIR

2007-01-08 Thread Hans L'Hoest

Hello all,

I seem to be running into the same problem: I can't configure the
cobertura datafile.

When running cobertura:cobertura I am getting:

"Cobertura: Coverage data file C:\projects\myproject\cobertura.ser
either does not exist or is not readable.  Creating a new data file."

Followed by lines like:

"[cobertura] INFO  [main]
net.sourceforge.cobertura.reporting.html.HTMLReport - Data file does
not contain instrumentation information for the file
MethodEditor.java.  Ensure this class was instrumented, and this data
file contains the instrumentation information."

It seems the instrumentation is saved to a different ser file than the
one that is being used by the report generation. (The instrument goal
instruments more classes than on the 2nd run with the cobertura goal.)

I can get it to work with a manual step:
* First run: mvn clean cobertura:instrument
* Then I copy the cobertura.ser file from
C:\projects\myproject\target\cobertura to C:\projects\myproject
* I run mvn cobertura:cobertura

My report is generated fine. No errors.

Any idea how I can fix this (this has nothing to do with the clean
goal it seems as the correct file cannot be found.)?

Thank you,
Kind regards,

Hans



On 10/4/06, Joakim Erdfelt <[EMAIL PROTECTED]> wrote:

Hi,

The situation with the dataFile parameter, is that it is unreliable to
use System Properties from within the embedded nature of the
cobertura-maven-plugin.

The bug has a fix on the cobertura side:
https://sourceforge.net/tracker/index.php?func=detail&aid=1543280&group_id=130558&atid=720017

Go encourage the cobertura folks to commit that patch.
Full disclosure: Yes I wrote that patch, so I'm a little biased. ;-)

The current cobertura-maven-plugin snapshot available in subversion
already supports that cobertura patch.

Once that patch is applied on the cobertura side, we should be able to
reliably set the dataFile parameter. yay!

You can also use the maven-clean-plugin to clean out that file.


  org.apache.maven.plugins
  maven-clean-plugin
  

  
${basedir}

  cobertura.ser

  

  


(caution, I wrote this out from memory, it might contain typos.)

- Joakim Erdfelt

dan tran wrote:
> oopps, the doc did say we can not change this location due to bug in
> corbertura 1.6
>
> how about remove that file in your post-clean phase
>
> -D
>
>
> On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>>
>> So how would I configure dataFile  in my plugin?
>>
>>
>>
>>
>> On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
>> >
>> > http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html
>> >
>> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>> > >
>> > > I want to know how I can put cobertura.ser into my target DIR so
>> when
>> I
>> > > run
>> > > mvn clean, the cobertura files get cleaned as well.
>> > >
>> > > --
>> > >


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



SOLVED: Re: How to put cobertura.ser in target DIR

2006-10-05 Thread Mick Knutson

Solution:


   
   
   
   
   
   
   org.codehaus.mojo
   cobertura-maven-plugin
   2.0
   
   
   
   
   com.example.boringcode.*
   
   
   com/**/*Test.class
   
   
   
   
   
   clean
   
   clean
   
   
   
   






On 10/4/06, Joakim Erdfelt <[EMAIL PROTECTED]> wrote:


Hi,

The situation with the dataFile parameter, is that it is unreliable to
use System Properties from within the embedded nature of the
cobertura-maven-plugin.

The bug has a fix on the cobertura side:

https://sourceforge.net/tracker/index.php?func=detail&aid=1543280&group_id=130558&atid=720017

Go encourage the cobertura folks to commit that patch.
Full disclosure: Yes I wrote that patch, so I'm a little biased. ;-)

The current cobertura-maven-plugin snapshot available in subversion
already supports that cobertura patch.

Once that patch is applied on the cobertura side, we should be able to
reliably set the dataFile parameter. yay!

You can also use the maven-clean-plugin to clean out that file.


  org.apache.maven.plugins
  maven-clean-plugin
  

  
${basedir}

  cobertura.ser

  

  


(caution, I wrote this out from memory, it might contain typos.)

- Joakim Erdfelt

dan tran wrote:
> oopps, the doc did say we can not change this location due to bug in
> corbertura 1.6
>
> how about remove that file in your post-clean phase
>
> -D
>
>
> On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>>
>> So how would I configure dataFile  in my plugin?
>>
>>
>>
>>
>> On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
>> >
>> > http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html
>> >
>> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>> > >
>> > > I want to know how I can put cobertura.ser into my target DIR so
>> when
>> I
>> > > run
>> > > mvn clean, the cobertura files get cleaned as well.
>> > >
>> > > --
>> > >


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Joakim Erdfelt
Hi,

The situation with the dataFile parameter, is that it is unreliable to
use System Properties from within the embedded nature of the
cobertura-maven-plugin.

The bug has a fix on the cobertura side:
https://sourceforge.net/tracker/index.php?func=detail&aid=1543280&group_id=130558&atid=720017

Go encourage the cobertura folks to commit that patch.
Full disclosure: Yes I wrote that patch, so I'm a little biased. ;-)

The current cobertura-maven-plugin snapshot available in subversion
already supports that cobertura patch.

Once that patch is applied on the cobertura side, we should be able to
reliably set the dataFile parameter. yay!

You can also use the maven-clean-plugin to clean out that file.


  org.apache.maven.plugins
  maven-clean-plugin
  

  
${basedir}

  cobertura.ser

  

  


(caution, I wrote this out from memory, it might contain typos.)

- Joakim Erdfelt

dan tran wrote:
> oopps, the doc did say we can not change this location due to bug in
> corbertura 1.6
>
> how about remove that file in your post-clean phase
>
> -D
>
>
> On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>>
>> So how would I configure dataFile  in my plugin?
>>
>>
>>
>>
>> On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
>> >
>> > http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html
>> >
>> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>> > >
>> > > I want to know how I can put cobertura.ser into my target DIR so
>> when
>> I
>> > > run
>> > > mvn clean, the cobertura files get cleaned as well.
>> > >
>> > > --
>> > >


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Joakim Erdfelt
Hi,

The situation with the dataFile parameter, is that it is unreliable to
use System Properties from within the embedded nature of the
cobertura-maven-plugin.

The bug has a fix on the cobertura side:
https://sourceforge.net/tracker/index.php?func=detail&aid=1543280&group_id=130558&atid=720017

Go encourage the cobertura folks to commit that patch.
Full disclosure: Yes I wrote that patch, so I'm a little biased.  ;-) 

The current cobertura-maven-plugin snapshot available in subversion
already supports that cobertura patch.

Once that patch is applied on the cobertura side, we should be able to
reliably set the dataFile parameter. yay!

You can also use the maven-clean-plugin to clean out that file.


  org.apache.maven.plugins
  maven-clean-plugin
  

  
${basedir}

  cobertura.ser

  

  


(caution, I wrote this out from memory, it might contain typos.)

- Joakim Erdfelt

dan tran wrote:
> oopps, the doc did say we can not change this location due to bug in
> corbertura 1.6
>
> how about remove that file in your post-clean phase
>
> -D
>
>
> On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>>
>> So how would I configure dataFile  in my plugin?
>>
>>
>>
>>
>> On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
>> >
>> > http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html
>> >
>> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>> > >
>> > > I want to know how I can put cobertura.ser into my target DIR so
>> when
>> I
>> > > run
>> > > mvn clean, the cobertura files get cleaned as well.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson

Did your test use modules, and submodules?


On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:


hmm, it works for me



On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> I already have that as it was in the example usage for this plugin. But
I
> use modules and sub-modules heavily and the files are not cleaned.
>
> On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
> >
> > Put this
> >
> >   
> > 
> >   
> > org.codehaus.mojo
> > cobertura-maven-plugin
> > 
> >   
> > 
> >   clean
> > 
> >   
> > 
> >   
> > 
> >   
> >
> > in your parent pom, so that it is propagated to all submodules.  Note
it
> > is
> > invoked at clean phase implicitly by default
> >
> >
> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > Did that as well, and no dice.
> > >
> > > Are you using modules heavily? I am, and I have sub-modules as well.
> > >
> > >
> > >
> > > On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Mick
> > > > Is it in the  plugins?
> > > > The stanza with the "clean" information needs to be in the 
> > > > section.
> > > >
> > > > I also have this in the  section
> > > >   
> > > > org.codehaus.mojo
> > > > cobertura-maven-plugin
> > > >   
> > > >
> > > > I should have added that information, sorry.
> > > >
> > > > Gail
> > > > Mick Knutson wrote:
> > > >
> > > > > I had that, minus the clean in my code already, and
that
> > does
> > >
> > > > > not
> > > > > work for me.
> > > > >
> > > > > Thanks though.
> > > > >
> > > > > On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > >>
> > > > >> Mick Knutson wrote:
> > > > >>
> > > > >> > I want to know how I can put cobertura.ser into my target DIR
> so
> > > when
> > > > >> > I run
> > > > >> > mvn clean, the cobertura files get cleaned as well.
> > > > >> >
> > > > >> I read somewhere to put this in your plug-ins so cobertura
files
> > > > >> would be
> > > > >> cleaned as part of the clean goal.  It works for me.
> > > > >>
> > > > >>
> > > > >>   
> > > > >> org.codehaus.mojo
> > > > >> cobertura-maven-plugin
> > > > >> 
> > > > >>   
> > > > >> clean
> > > > >> 
> > > > >>   clean
> > > > >> 
> > > > >>   
> > > > >> 
> > > > >>   
> > > > >>
> > > > >> Gail
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > -
> > > > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > > Thanks
> > >
> > > DJ MICK
> > > http://www.djmick.com
> > > http://www.myspace.com/mickknutson
> > >
> > >
> >
> >
>
>
> --
>
> Thanks
>
> DJ MICK
> http://www.djmick.com
> http://www.myspace.com/mickknutson
>
>





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Re: How to put cobertura.ser in target DIR

2006-10-04 Thread dan tran

hmm, it works for me



On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:


I already have that as it was in the example usage for this plugin. But I
use modules and sub-modules heavily and the files are not cleaned.

On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
>
> Put this
>
>   
> 
>   
> org.codehaus.mojo
> cobertura-maven-plugin
> 
>   
> 
>   clean
> 
>   
> 
>   
> 
>   
>
> in your parent pom, so that it is propagated to all submodules.  Note it
> is
> invoked at clean phase implicitly by default
>
>
> On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > Did that as well, and no dice.
> >
> > Are you using modules heavily? I am, and I have sub-modules as well.
> >
> >
> >
> > On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:
> > >
> > > Mick
> > > Is it in the  plugins?
> > > The stanza with the "clean" information needs to be in the 
> > > section.
> > >
> > > I also have this in the  section
> > >   
> > > org.codehaus.mojo
> > > cobertura-maven-plugin
> > >   
> > >
> > > I should have added that information, sorry.
> > >
> > > Gail
> > > Mick Knutson wrote:
> > >
> > > > I had that, minus the clean in my code already, and that
> does
> >
> > > > not
> > > > work for me.
> > > >
> > > > Thanks though.
> > > >
> > > > On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:
> > > >
> > > >>
> > > >> Mick Knutson wrote:
> > > >>
> > > >> > I want to know how I can put cobertura.ser into my target DIR
so
> > when
> > > >> > I run
> > > >> > mvn clean, the cobertura files get cleaned as well.
> > > >> >
> > > >> I read somewhere to put this in your plug-ins so cobertura files
> > > >> would be
> > > >> cleaned as part of the clean goal.  It works for me.
> > > >>
> > > >>
> > > >>   
> > > >> org.codehaus.mojo
> > > >> cobertura-maven-plugin
> > > >> 
> > > >>   
> > > >> clean
> > > >> 
> > > >>   clean
> > > >> 
> > > >>   
> > > >> 
> > > >>   
> > > >>
> > > >> Gail
> > > >>
> > > >>
> > > >>
> > > >>
> -
> > > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > > >>
> > > >>
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> >
> > Thanks
> >
> > DJ MICK
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> >
> >
>
>


--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson




Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson

I already have that as it was in the example usage for this plugin. But I
use modules and sub-modules heavily and the files are not cleaned.

On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:


Put this

  

  
org.codehaus.mojo
cobertura-maven-plugin

  

  clean

  

  

  

in your parent pom, so that it is propagated to all submodules.  Note it
is
invoked at clean phase implicitly by default


On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> Did that as well, and no dice.
>
> Are you using modules heavily? I am, and I have sub-modules as well.
>
>
>
> On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:
> >
> > Mick
> > Is it in the  plugins?
> > The stanza with the "clean" information needs to be in the 
> > section.
> >
> > I also have this in the  section
> >   
> > org.codehaus.mojo
> > cobertura-maven-plugin
> >   
> >
> > I should have added that information, sorry.
> >
> > Gail
> > Mick Knutson wrote:
> >
> > > I had that, minus the clean in my code already, and that
does
>
> > > not
> > > work for me.
> > >
> > > Thanks though.
> > >
> > > On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:
> > >
> > >>
> > >> Mick Knutson wrote:
> > >>
> > >> > I want to know how I can put cobertura.ser into my target DIR so
> when
> > >> > I run
> > >> > mvn clean, the cobertura files get cleaned as well.
> > >> >
> > >> I read somewhere to put this in your plug-ins so cobertura files
> > >> would be
> > >> cleaned as part of the clean goal.  It works for me.
> > >>
> > >>
> > >>   
> > >> org.codehaus.mojo
> > >> cobertura-maven-plugin
> > >> 
> > >>   
> > >> clean
> > >> 
> > >>   clean
> > >> 
> > >>   
> > >> 
> > >>   
> > >>
> > >> Gail
> > >>
> > >>
> > >>
> > >>
-
> > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >>
> > >
> > >
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
>
> Thanks
>
> DJ MICK
> http://www.djmick.com
> http://www.myspace.com/mickknutson
>
>





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Gail Bowman

I am not using modules and sub-modules - so that may be the difference.
Mick Knutson wrote:


Did that as well, and no dice.

Are you using modules heavily? I am, and I have sub-modules as well.



On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:



Mick
Is it in the  plugins?
The stanza with the "clean" information needs to be in the 
section.

I also have this in the  section
  
org.codehaus.mojo
cobertura-maven-plugin
  

I should have added that information, sorry.

Gail
Mick Knutson wrote:

> I had that, minus the clean in my code already, and that does
> not
> work for me.
>
> Thanks though.
>
> On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:
>
>>
>> Mick Knutson wrote:
>>
>> > I want to know how I can put cobertura.ser into my target DIR so 
when

>> > I run
>> > mvn clean, the cobertura files get cleaned as well.
>> >
>> I read somewhere to put this in your plug-ins so cobertura files
>> would be
>> cleaned as part of the clean goal.  It works for me.
>>
>>
>>   
>> org.codehaus.mojo
>> cobertura-maven-plugin
>> 
>>   
>> clean
>> 
>>   clean
>> 
>>   
>> 
>>   
>>
>> Gail
>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread dan tran

Put this

 
   
 
   org.codehaus.mojo
   cobertura-maven-plugin
   
 
   
 clean
   
 
   
 
   
 

in your parent pom, so that it is propagated to all submodules.  Note it is
invoked at clean phase implicitly by default


On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:


Did that as well, and no dice.

Are you using modules heavily? I am, and I have sub-modules as well.



On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:
>
> Mick
> Is it in the  plugins?
> The stanza with the "clean" information needs to be in the 
> section.
>
> I also have this in the  section
>   
> org.codehaus.mojo
> cobertura-maven-plugin
>   
>
> I should have added that information, sorry.
>
> Gail
> Mick Knutson wrote:
>
> > I had that, minus the clean in my code already, and that does

> > not
> > work for me.
> >
> > Thanks though.
> >
> > On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> Mick Knutson wrote:
> >>
> >> > I want to know how I can put cobertura.ser into my target DIR so
when
> >> > I run
> >> > mvn clean, the cobertura files get cleaned as well.
> >> >
> >> I read somewhere to put this in your plug-ins so cobertura files
> >> would be
> >> cleaned as part of the clean goal.  It works for me.
> >>
> >>
> >>   
> >> org.codehaus.mojo
> >> cobertura-maven-plugin
> >> 
> >>   
> >> clean
> >> 
> >>   clean
> >> 
> >>   
> >> 
> >>   
> >>
> >> Gail
> >>
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson




Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson

Did that as well, and no dice.

Are you using modules heavily? I am, and I have sub-modules as well.



On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:


Mick
Is it in the  plugins?
The stanza with the "clean" information needs to be in the 
section.

I also have this in the  section
  
org.codehaus.mojo
cobertura-maven-plugin
  

I should have added that information, sorry.

Gail
Mick Knutson wrote:

> I had that, minus the clean in my code already, and that does
> not
> work for me.
>
> Thanks though.
>
> On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:
>
>>
>> Mick Knutson wrote:
>>
>> > I want to know how I can put cobertura.ser into my target DIR so when
>> > I run
>> > mvn clean, the cobertura files get cleaned as well.
>> >
>> I read somewhere to put this in your plug-ins so cobertura files
>> would be
>> cleaned as part of the clean goal.  It works for me.
>>
>>
>>   
>> org.codehaus.mojo
>> cobertura-maven-plugin
>> 
>>   
>> clean
>> 
>>   clean
>> 
>>   
>> 
>>   
>>
>> Gail
>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Gail Bowman

Mick
Is it in the  plugins?
The stanza with the "clean" information needs to be in the  section.

I also have this in the  section
 
   org.codehaus.mojo
   cobertura-maven-plugin
 

I should have added that information, sorry.

Gail
Mick Knutson wrote:

I had that, minus the clean in my code already, and that does 
not

work for me.

Thanks though.

On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:



Mick Knutson wrote:

> I want to know how I can put cobertura.ser into my target DIR so when
> I run
> mvn clean, the cobertura files get cleaned as well.
>
I read somewhere to put this in your plug-ins so cobertura files 
would be

cleaned as part of the clean goal.  It works for me.


  
org.codehaus.mojo
cobertura-maven-plugin

  
clean

  clean

  

  

Gail



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson

I had that, minus the clean in my code already, and that does not
work for me.

Thanks though.

On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote:


Mick Knutson wrote:

> I want to know how I can put cobertura.ser into my target DIR so when
> I run
> mvn clean, the cobertura files get cleaned as well.
>
I read somewhere to put this in your plug-ins so cobertura files would be
cleaned as part of the clean goal.  It works for me.


  
org.codehaus.mojo
cobertura-maven-plugin

  
clean

  clean

  

  

Gail



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Gail Bowman

Mick Knutson wrote:

I want to know how I can put cobertura.ser into my target DIR so when 
I run

mvn clean, the cobertura files get cleaned as well.


I read somewhere to put this in your plug-ins so cobertura files would be
cleaned as part of the clean goal.  It works for me.


 
   org.codehaus.mojo
   cobertura-maven-plugin
   
 
   clean
   
 clean
   
 
   
 

Gail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson

Works for me, but how do I do it.


On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:


oopps, the doc did say we can not change this location due to bug in
corbertura 1.6

how about remove that file in your post-clean phase

-D


On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> So how would I configure dataFile  in my plugin?
>
>
>
>
> On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
> >
> > http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html
> >
> > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > I want to know how I can put cobertura.ser into my target DIR so
when
> I
> > > run
> > > mvn clean, the cobertura files get cleaned as well.
> > >
> > > --
> > >
> > > Thanks
> > >
> > > DJ MICK
> > > http://www.djmick.com
> > > http://www.myspace.com/mickknutson
> > >
> > >
> >
> >
>
>
> --
>
> Thanks
>
> DJ MICK
> http://www.djmick.com
> http://www.myspace.com/mickknutson
>
>





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Re: How to put cobertura.ser in target DIR

2006-10-04 Thread dan tran

oopps, the doc did say we can not change this location due to bug in
corbertura 1.6

how about remove that file in your post-clean phase

-D


On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:


So how would I configure dataFile  in my plugin?




On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:
>
> http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html
>
> On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > I want to know how I can put cobertura.ser into my target DIR so when
I
> > run
> > mvn clean, the cobertura files get cleaned as well.
> >
> > --
> >
> > Thanks
> >
> > DJ MICK
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> >
> >
>
>


--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson




Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson

Can you please show me your solution?


On 10/4/06, Hilco Wijbenga <[EMAIL PROTECTED]> wrote:


Hi Mick,

On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> I want to know how I can put cobertura.ser into my target DIR so when I
run
> mvn clean, the cobertura files get cleaned as well.

I use the antrun plugin to remove cobertura.ser as part of 'clean'.
It's a workaround but at least clean works then.

Cheers,
Hilco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Mick Knutson

So how would I configure dataFile  in my plugin?




On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote:


http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html

On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> I want to know how I can put cobertura.ser into my target DIR so when I
> run
> mvn clean, the cobertura files get cleaned as well.
>
> --
>
> Thanks
>
> DJ MICK
> http://www.djmick.com
> http://www.myspace.com/mickknutson
>
>





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Re: How to put cobertura.ser in target DIR

2006-10-04 Thread Hilco Wijbenga

Hi Mick,

On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:

I want to know how I can put cobertura.ser into my target DIR so when I run
mvn clean, the cobertura files get cleaned as well.


I use the antrun plugin to remove cobertura.ser as part of 'clean'.
It's a workaround but at least clean works then.

Cheers,
Hilco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to put cobertura.ser in target DIR

2006-10-04 Thread dan tran

http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-mojo.html

On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:


I want to know how I can put cobertura.ser into my target DIR so when I
run
mvn clean, the cobertura files get cleaned as well.

--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson