Re: [Stat-scm-user] stat scm - info
Brought to you by:
benoitx,
dougculnane
From: Franck A. <Fra...@re...> - 2007-05-30 06:21:19
|
Hi Doug, I use now following syntax in my pom.xml: <pluginRepositories> <pluginRepository> <id>stat-scm-sourceforge</id> <url>http://stat-scm.sourceforge.net/maven2</url> </pluginRepository> </pluginRepositories> ... <plugin> <groupId>net.sf</groupId> <artifactId>stat-scm</artifactId> <version>1.0.0</version> </plugin> After a mvn install I can find in .m2/repository/jtreemap-site-1.1.0 following files: LICENSE.txt docs/ jtreemap-1.1.0-bundle.jar jtreemap-1.1.0.jar net.sf.jtreemap.ktreemap-1.1.0-bundle.jar net.sf.jtreemap.ktreemap-1.1.0.jar But mvn site always generates the same error, I've cleanup, updated, ... My svn repository ... It doesn't change anything? I've tried on my windows machine svn log is too big, on my solaris server jtreemap error occurs. Any idea? Thanks and regards Franck = -----Original Message----- From: Doug Culnane [mailto:do...@cu...] = Sent: 25 May 2007 15:58 To: Franck Amiot Cc: Doug Culnane; sta...@li... Subject: RE: stat scm - info This is not good. It looks like the file jtreemap-1.1.0.jar is missing. Are you using the latest and greatest version of StatSCM? verison 1.0.0? Are you using the latest from a source build? Thanks for the info, Doug > Doug, > > I've tested on a clean version and I've the same error. > Regards > > Franck > > > -----Original Message----- > From: Doug Culnane [mailto:do...@cu...] > Sent: 24 May 2007 17:41 > To: Franck Amiot > Cc: sta...@li... > Subject: RE: stat scm - info > > Try a svn update to make sure the local working copy is in sync with = > the log file. If this does not fix the problem please let me know. > > All the best, > > Doug > > > >> Hi doug, >> >> Sorry to bother you again, but I still have problem with stat-scm, = >> when I launch mvn site I can that log seems ok and that the plugin is >> working and many svn diff are launched but at the end of the process = >> I've the following error. >> Have you an idea of the problem? >> Thanks in advance >> >> Regards >> Franck >> >> May 24, 2007 2:05:49 PM net.sf.statsvn.util.JavaUtilTaskLogger info >> INFO: Revision of >> webaccess-calculation-bo-forex/src/main/java/com/reuters/webaccess/ca >> l cu lation/bo/forex/do not overwrite PIVOT class does not match = >> expected revision >> java.io.FileNotFoundException: >> /files1/cruise_control/cruisecontrol-bin-2.6/projects/webaccess/src/j >> a va /target/generated-site/xdoc/statscm/jtreemap-1.1.0.jar (No such = >> file or >> directory) >> at java.io.FileOutputStream.open(Native Method) >> at java.io.FileOutputStream.<init>(FileOutputStream.java:179) >> at java.io.FileOutputStream.<init>(FileOutputStream.java:131) >> at net.sf.statcvs.util.FileUtils.copyFile(FileUtils.java:72) >> at >> net.sf.statsvn.output.RepoMapPageMaker.copyJar(RepoMapPageMaker.java: >> 1 >> 36 >> ) >> at >> net.sf.statsvn.output.RepoMapPageMaker.buildXmlForJTreeMap(RepoMapPag >> e >> Ma >> ker.java:107) >> at >> > net.sf.statsvn.output.RepoMapPageMaker.toFile(RepoMapPageMaker.java:91 > ) >> at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:297) >> at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:230) >> at net.sf.statscm.StatScmMojo.doSvnStats(StatScmMojo.java:155) >> at >> net.sf.statscm.StatScmMojo.executeReport(StatScmMojo.java:125) >> at >> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven >> R >> ep >> ort.java:101) >> at >> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(R >> e >> po >> rtDocumentRenderer.java:67) >> at >> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule( >> D >> ef >> aultSiteRenderer.java:239) >> at >> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(Defaul >> t >> Si >> teRenderer.java:115) >> at >> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124) >> at >> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92) >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi >> n >> Ma >> nager.java:412) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >> u >> lt >> LifecycleExecutor.java:534) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi >> f >> ec >> ycle(DefaultLifecycleExecutor.java:475) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau >> l >> tL >> ifecycleExecutor.java:454) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >> d >> le >> Failures(DefaultLifecycleExecutor.java:306) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >> t >> s( >> DefaultLifecycleExecutor.java:273) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi >> f >> ec >> ycleExecutor.java:140) >> at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) >> at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> j >> av >> a:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> s >> or >> Impl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> May 24, 2007 2:06:01 PM net.sf.statcvs.charts.ChartImage write >> INFO: writing chart 'Lines of Code and Churn Level' to = >> locandchurn.png > >> May 24, 2007 2:06:01 PM net.sf.statcvs.charts.ChartImage write >> WARNING: could not write chart 'locandchurn.png': >> java.io.FileNotFoundException: >> /files1/cruise_control/cruisecontrol-bin-2.6/projects/webaccess/src/j >> a va /target/generated-site/xdoc/statscm/locandchurn.png (No such = >> file or >> directory) >> May 24, 2007 2:06:01 PM net.sf.statcvs.output.DefaultCssHandler >> createOutputFiles >> INFO: Creating CSS file at >> '/files1/cruise_control/cruisecontrol-bin-2.6/projects/webaccess/src/ >> j av a/target/generated-site/xdoc/statscm/statcvs.css' >> [ERROR] Error generating Subversion Stats. >> java.io.FileNotFoundException: >> /files1/cruise_control/cruisecontrol-bin-2.6/projects/webaccess/src/j >> a va /target/generated-site/xdoc/statscm/statcvs.css (No such file or >> directory) >> at java.io.FileOutputStream.open(Native Method) >> at java.io.FileOutputStream.<init>(FileOutputStream.java:179) >> at java.io.FileOutputStream.<init>(FileOutputStream.java:131) >> at net.sf.statcvs.util.FileUtils.copyFile(FileUtils.java:72) >> at >> net.sf.statcvs.output.DefaultCssHandler.createOutputFiles(DefaultCssH >> a >> nd >> ler.java:79) >> at >> net.sf.statcvs.pages.ReportSuiteMaker.toFile(ReportSuiteMaker.java:66) >> at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:300) >> at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:230) >> at net.sf.statscm.StatScmMojo.doSvnStats(StatScmMojo.java:155) >> at >> net.sf.statscm.StatScmMojo.executeReport(StatScmMojo.java:125) >> at >> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven >> R >> ep >> ort.java:101) >> at >> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(R >> e >> po >> rtDocumentRenderer.java:67) >> at >> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule( >> D >> ef >> aultSiteRenderer.java:239) >> at >> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(Defaul >> t >> Si >> teRenderer.java:115) >> at >> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124) >> at >> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92) >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi >> n >> Ma >> nager.java:412) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >> u >> lt >> LifecycleExecutor.java:534) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi >> f >> ec >> ycle(DefaultLifecycleExecutor.java:475) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau >> l >> tL >> ifecycleExecutor.java:454) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >> d >> le >> Failures(DefaultLifecycleExecutor.java:306) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >> t >> s( >> DefaultLifecycleExecutor.java:273) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi >> f >> ec >> ycleExecutor.java:140) >> at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) >> at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> j >> av >> a:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> s >> or >> Impl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> [INFO] >> --------------------------------------------------------------------- >> - >> -- >> [ERROR] BUILD ERROR >> [INFO] >> --------------------------------------------------------------------- >> - >> -- >> [INFO] Error during page generation >> >> >> >> -----Original Message----- >> From: Doug Culnane [mailto:do...@cu...] >> Sent: 20 April 2007 11:05 >> To: Franck Amiot >> Cc: sta...@li... >> Subject: RE: stat scm - info >> >> Is it possible to run StatSCM on a smaller project in your = >> environment > >> to see if it is the environment or the log file that is the problem? >> >> Can you do a: >> >> $ svn checkout https://svn.sourceforge.net/svnroot/stat-scm/trunk >> stat-scm $ cd stat-scm $ mvn site >> >> This will tell us if there is an XML parser problem or other = >> environment problem or if there is something about your projects log = >> file that StatSCM does not like. >> >> All the best, >> >> Doug >> >>> The doc is complete and it size is around 4700 KB I've succeded to = >>> load in firefox, so well formed. >>> >>> If the size is the problem, have planned to fix it? >>> Thanks and regards for your very quick answer. >>> >>> Franck >>> >>> >>> -----Original Message----- >>> From: Doug Culnane [mailto:do...@cu...] >>> Sent: 20 April 2007 10:01 >>> To: Franck Amiot >>> Subject: Re: stat scm - info >>> >>> I think the clue is: >>> "svn log: svn info: XML document structures must start and end = >>> within > >>> the same entity." >>> >>> It looks like the log file is not complete, and only half downloaded. >>> How big is this log file? Is it complete? Maybe I have a problem = >>> with >> >>> my code for large logs. >>> >>> Good luck, >>> >>> Doug >>> >>>> Hi Doug, >>>> >>>> I'm trying to use statscm maven plugin following recommendations = >>>> found >>> >>>> on sourceforge site, unfortunately I've a fatal error avoiding to = >>>> have >>> >>>> final report. >>>> I've the following stack: >>>> [INFO] StatSCM Generating Source Code Management Metrics. >>>> [INFO] Configuring StatXXX >>>> [INFO] SCM Connection Type :svn >>>> [INFO] Output Directory >>>> :C:\works\webaccess\trunk\src\main\java\target\generated-site\xdoc\ >>>> s >>>> t >>>> a >>>> ts >>>> cm\ >>>> [INFO] scm log > >>>> C:\works\webaccess\trunk\src\main\java\target\generated-site\xdoc\s >>>> t >>>> a >>>> t >>>> sc >>>> m\scm.log >>>> [INFO] >>>> C:\works\webaccess\trunk\src\main\java\target\generated-site\xdoc\s >>>> t >>>> a >>>> t >>>> sc >>>> m\scm.log EOF. >>>> [INFO] scm log ...; exitValue: 0 >>>> Apr 20, 2007 9:13:28 AM net.sf.statsvn.util.JavaUtilTaskLogger info >>>> INFO: Parsing SVN log >>>> 'C:\works\webaccess\trunk\src\main\java\target\generated-site\xdoc\ >>>> s >>>> t >>>> a >>>> ts >>>> cm\scm.log' exclude pattern 'null' >>>> [ERROR] Error parsing Log file. >>>> net.sf.statcvs.input.LogSyntaxException: svn log: svn info: XML = >>>> document structures must start and end within the same entity. >>>> at >>>> >>> >> > net.sf.statsvn.input.SvnLogfileParser.parseSvnLog(SvnLogfileParser.java: >>>> 565) >>>> at >>>> >> net.sf.statsvn.input.SvnLogfileParser.parse(SvnLogfileParser.java:293 >> ) >>>> at >> net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:265) >>>> at >> net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:227) >>>> at >> net.sf.statscm.StatScmMojo.doSvnStats(StatScmMojo.java:155) >>>> at >>>> net.sf.statscm.StatScmMojo.executeReport(StatScmMojo.java:125) >>>> at >>>> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMav >>>> e >>>> n >>>> R >>>> ep >>>> ort.java:101) >>>> at >>>> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument >>>> ( >>>> R >>>> e >>>> po >>>> rtDocumentRenderer.java:67) >>>> at >>>> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModul >>>> e >>>> ( >>>> D >>>> ef >>>> aultSiteRenderer.java:239) >>>> at >>>> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(Defa >>>> u >>>> l >>>> t >>>> Si >>>> teRenderer.java:115) >>>> at >>>> >> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124 >> ) >>>> at >>>> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92) >>>> at >>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlu >>>> g >>>> i >>>> n >>>> Ma >>>> nager.java:412) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(De >>>> f >>>> a >>>> u >>>> lt >>>> LifecycleExecutor.java:534) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWith >>>> L >>>> i >>>> f >>>> ec >>>> ycle(DefaultLifecycleExecutor.java:475) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Def >>>> a >>>> u >>>> l >>>> tL >>>> ifecycleExecutor.java:454) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndH >>>> a >>>> n >>>> d >>>> le >>>> Failures(DefaultLifecycleExecutor.java:306) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegm >>>> e >>>> n >>>> t >>>> s( >>>> DefaultLifecycleExecutor.java:273) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(Default >>>> L >>>> i >>>> f >>>> ec >>>> ycleExecutor.java:140) >>>> at >>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) >>>> at >>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method) >>>> at >>>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >>>> j >>>> av >>>> a:39) >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc >>>> e >>>> s >>>> s >>>> or >>>> Impl.java:25) >>>> at java.lang.reflect.Method.invoke(Method.java:585) >>>> at >>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >>>> at >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >>>> at >>>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >>>> at = >>>> org.codehaus.classworlds.Launcher.main(Launcher.java:375) >>>> [INFO] >>>> ------------------------------------------------------------------- >>>> - >>>> - >>>> - >>>> -- >>>> [ERROR] BUILD ERROR >>>> [INFO] >>>> ------------------------------------------------------------------- >>>> - >>>> - >>>> - >>>> -- >>>> [INFO] Error during page generation >>>> >>>> Embedded error: Error rendering Maven report: svn log: svn info: = >>>> XML > >>>> document structures must start and end within the same entity. >>>> [INFO] >>>> ------------------------------------------------------------------- >>>> - >>>> - >>>> - >>>> -- [INFO] For more information, run Maven with the -e switch [INFO] >>>> ------------------------------------------------------------------- >>>> - >>>> - >>>> - >>>> -- [INFO] Total time: 6 minutes 58 seconds [INFO] Finished at: Fri = >>>> Apr >>> >>>> 20 09:14:19 CEST 2007 [INFO] Final Memory: 27M/49M [INFO] >>>> ------------------------------------------------------------------- >>>> - >>>> - >>>> - >>>> -- >>>> >>>> I'm using maven 2.0.4 on windows xp sp2, jdk 1.5.0_07 I've = >>>> installed > >>>> svn 1.4.3 and check that the log file = >>>> C:\works\webaccess\trunk\src\main\java\target\generated-site\xdoc\s >>>> t >>>> a >>>> t >>>> sc >>>> m\scm.log is a correct xml file. >>>> Unfortunately, I can't find nothing on mailing list. >>>> Have you an idea of the problem? >>>> Any help will be appreciated. >>>> Sorry to bother you with my question. >>>> >>>> Thanks in advance >>>> Regards >>>> >>>> Franck >>>> >>>> >>>> >>>> >>>> This email was sent to you by Reuters, the global news and = >>>> information >>> >>>> company. >>>> To find out more about Reuters visit www.about.reuters.com >>>> >>>> Any views expressed in this message are those of the individual = >>>> sender, except where the sender specifically states them to be the = >>>> views of Reuters Limited. >>>> >>>> Reuters Limited is part of the Reuters Group of companies, of which >>>> Reuters Group PLC is the ultimate parent company. >>>> Reuters Group PLC - Registered office address: The Reuters = >>>> Building, > >>>> South Colonnade, Canary Wharf, London E14 5EP, United Kingdom = >>>> Registered No: 3296375 Registered in England and Wales >>>> >>>> >>> >>> >>> >>> >>> This email was sent to you by Reuters, the global news and = >>> information >> >>> company. >>> To find out more about Reuters visit www.about.reuters.com >>> >>> Any views expressed in this message are those of the individual = >>> sender, except where the sender specifically states them to be the = >>> views of Reuters Limited. >>> >>> Reuters Limited is part of the Reuters Group of companies, of which = >>> Reuters Group PLC is the ultimate parent company. >>> Reuters Group PLC - Registered office address: The Reuters Building, >>> South Colonnade, Canary Wharf, London E14 5EP, United Kingdom = >>> Registered No: 3296375 Registered in England and Wales >>> >>> >>> >> >> >> >> >> This email was sent to you by Reuters, the global news and = >> information > >> company. >> To find out more about Reuters visit www.about.reuters.com >> >> Any views expressed in this message are those of the individual = >> sender, except where the sender specifically states them to be the = >> views of Reuters Limited. >> >> Reuters Limited is part of the Reuters Group of companies, of which = >> Reuters Group PLC is the ultimate parent company. >> Reuters Group PLC - Registered office address: The Reuters Building, = >> South Colonnade, Canary Wharf, London E14 5EP, United Kingdom = >> Registered No: 3296375 Registered in England and Wales >> >> >> > > > > > This email was sent to you by Reuters, the global news and information > company. > To find out more about Reuters visit www.about.reuters.com > > Any views expressed in this message are those of the individual = > sender, except where the sender specifically states them to be the = > views of Reuters Limited. > > Reuters Limited is part of the Reuters Group of companies, of which = > Reuters Group PLC is the ultimate parent company. > Reuters Group PLC - Registered office address: The Reuters Building, = > South Colonnade, Canary Wharf, London E14 5EP, United Kingdom = > Registered No: 3296375 Registered in England and Wales > > > This email was sent to you by Reuters, the global news and information comp= any. = To find out more about Reuters visit www.about.reuters.com Any views expressed in this message are those of the individual sender, = except where the sender specifically states them to be the views of Reuters= Limited. Reuters Limited is part of the Reuters Group of companies, of which Reuters= Group PLC is the ultimate parent company. Reuters Group PLC - Registered office address: The Reuters Building, South = Colonnade, Canary Wharf, London E14 5EP, United Kingdom Registered No: 3296375 Registered in England and Wales |