What is the jcoverage.ser file for, and why does "clean" not delete it?
It was the entire cause of the JCoverage problems I've been looking at for 2 weeks... --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
I do not know what the purpose of jcoverage.ser file but you can tell
maven to instruct jcoverage to place it in your target by using maven.jcoverage.merge.outputDir property, so when you do clean it will remove the jcoverage.ser file too. Alex. > -----Original Message----- > From: Jeff Jensen [mailto:[hidden email]] > Sent: Thursday, June 02, 2005 1:59 PM > To: Maven Users List > Subject: jcoverage.ser file: purpose & clean impact? > > > What is the jcoverage.ser file for, and why does "clean" not > delete it? > > It was the entire cause of the JCoverage problems I've been > looking at for 2 weeks... > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Excellent point. I was just surprised as the velocity.log file was cleaned and
it was not. And by default it resides in ${basedir}, not something like ${maven.jcoverage.dir}. Made me think it was a "special" file (like a cache file) for reuse. Additionally, I cannot get it to work! I tried both of these maven.jcoverage.merge.outputDir=${maven.jcoverage.dir} maven.jcoverage.merge.outputDir=${maven.build.dir}/jcoverage and the file is always written to ${basedir}. Has anyone successfully used that property to change the output location? Quoting Aleksandr Shneyderman <[hidden email]>: > I do not know what the purpose of jcoverage.ser file but you can tell > maven to instruct jcoverage to place it in your target by using > maven.jcoverage.merge.outputDir property, so when you do clean it will > remove the jcoverage.ser file too. > > Alex. > > > -----Original Message----- > > From: Jeff Jensen [mailto:[hidden email]] > > Sent: Thursday, June 02, 2005 1:59 PM > > To: Maven Users List > > Subject: jcoverage.ser file: purpose & clean impact? > > > > > > What is the jcoverage.ser file for, and why does "clean" not > > delete it? > > > > It was the entire cause of the JCoverage problems I've been > > looking at for 2 weeks... > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Hmm, must be bug. Open a JIRA issue, I guess.
As an interim solution you might want to try do this: <preGoal name="clean:clean"> <ant:delete file="${basedir}/jcoverage.ser" /> </preGoal> In your maven.xml -----Original Message----- From: Jeff Jensen [mailto:[hidden email]] Sent: Thursday, June 02, 2005 4:19 PM To: Maven Users List Subject: RE: jcoverage.ser file: purpose & clean impact? Excellent point. I was just surprised as the velocity.log file was cleaned and it was not. And by default it resides in ${basedir}, not something like ${maven.jcoverage.dir}. Made me think it was a "special" file (like a cache file) for reuse. Additionally, I cannot get it to work! I tried both of these maven.jcoverage.merge.outputDir=${maven.jcoverage.dir} maven.jcoverage.merge.outputDir=${maven.build.dir}/jcoverage and the file is always written to ${basedir}. Has anyone successfully used that property to change the output location? Quoting Aleksandr Shneyderman <[hidden email]>: > I do not know what the purpose of jcoverage.ser file but you can tell > maven to instruct jcoverage to place it in your target by using > maven.jcoverage.merge.outputDir property, so when you do clean it will > remove the jcoverage.ser file too. > > Alex. > > > -----Original Message----- > > From: Jeff Jensen [mailto:[hidden email]] > > Sent: Thursday, June 02, 2005 1:59 PM > > To: Maven Users List > > Subject: jcoverage.ser file: purpose & clean impact? > > > > > > What is the jcoverage.ser file for, and why does "clean" not delete > > it? > > > > It was the entire cause of the JCoverage problems I've been looking > > at for 2 weeks... > > > > -------------------------------------------------------------------- > > - To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
In reply to this post by Jeff Jensen
Thanks! That is a good idea and works well.
I'll enter a JIRA too.... -----Original Message----- From: A. Shneyderman [mailto:[hidden email]] Sent: Thursday, June 02, 2005 5:35 PM To: 'Maven Users List' Subject: RE: jcoverage.ser file: purpose & clean impact? Hmm, must be bug. Open a JIRA issue, I guess. As an interim solution you might want to try do this: <preGoal name="clean:clean"> <ant:delete file="${basedir}/jcoverage.ser" /> </preGoal> In your maven.xml -----Original Message----- From: Jeff Jensen [mailto:[hidden email]] Sent: Thursday, June 02, 2005 4:19 PM To: Maven Users List Subject: RE: jcoverage.ser file: purpose & clean impact? Excellent point. I was just surprised as the velocity.log file was cleaned and it was not. And by default it resides in ${basedir}, not something like ${maven.jcoverage.dir}. Made me think it was a "special" file (like a cache file) for reuse. Additionally, I cannot get it to work! I tried both of these maven.jcoverage.merge.outputDir=${maven.jcoverage.dir} maven.jcoverage.merge.outputDir=${maven.build.dir}/jcoverage and the file is always written to ${basedir}. Has anyone successfully used that property to change the output location? Quoting Aleksandr Shneyderman <[hidden email]>: > I do not know what the purpose of jcoverage.ser file but you can tell > maven to instruct jcoverage to place it in your target by using > maven.jcoverage.merge.outputDir property, so when you do clean it will > remove the jcoverage.ser file too. > > Alex. > > > -----Original Message----- > > From: Jeff Jensen [mailto:[hidden email]] > > Sent: Thursday, June 02, 2005 1:59 PM > > To: Maven Users List > > Subject: jcoverage.ser file: purpose & clean impact? > > > > > > What is the jcoverage.ser file for, and why does "clean" not delete > > it? > > > > It was the entire cause of the JCoverage problems I've been looking > > at for 2 weeks... --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Free forum by Nabble | Edit this page |