﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-思考，沉淀，自省-随笔分类-项目管理工具</title><link>http://www.blogjava.net/gothicly16/category/41650.html</link><description>梦开始的地方</description><language>zh-cn</language><lastBuildDate>Sat, 12 Dec 2009 18:33:12 GMT</lastBuildDate><pubDate>Sat, 12 Dec 2009 18:33:12 GMT</pubDate><ttl>60</ttl><item><title>sonar版本升级 --官网翻译</title><link>http://www.blogjava.net/gothicly16/archive/2009/12/11/sonar.html</link><dc:creator>cofF</dc:creator><author>cofF</author><pubDate>Fri, 11 Dec 2009 07:03:00 GMT</pubDate><guid>http://www.blogjava.net/gothicly16/archive/2009/12/11/sonar.html</guid><wfw:comment>http://www.blogjava.net/gothicly16/comments/305568.html</wfw:comment><comments>http://www.blogjava.net/gothicly16/archive/2009/12/11/sonar.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/gothicly16/comments/commentRss/305568.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/gothicly16/services/trackbacks/305568.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Upgrade guideUpgrade server 升级服务&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop the current Sonar server 1停止sonar服务&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bin/[OS]/sonar.shstop&nbsp;&nbsp;&nbsp;&...&nbsp;&nbsp;<a href='http://www.blogjava.net/gothicly16/archive/2009/12/11/sonar.html'>阅读全文</a><img src ="http://www.blogjava.net/gothicly16/aggbug/305568.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/gothicly16/" target="_blank">cofF</a> 2009-12-11 15:03 <a href="http://www.blogjava.net/gothicly16/archive/2009/12/11/sonar.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sonar初始安装笔记</title><link>http://www.blogjava.net/gothicly16/archive/2009/06/30/284807.html</link><dc:creator>cofF</dc:creator><author>cofF</author><pubDate>Tue, 30 Jun 2009 09:51:00 GMT</pubDate><guid>http://www.blogjava.net/gothicly16/archive/2009/06/30/284807.html</guid><wfw:comment>http://www.blogjava.net/gothicly16/comments/284807.html</wfw:comment><comments>http://www.blogjava.net/gothicly16/archive/2009/06/30/284807.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/gothicly16/comments/commentRss/284807.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/gothicly16/services/trackbacks/284807.html</trackback:ping><description><![CDATA[<h1><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">一．要求</span></h1>
<h2>1.<span style="font-family:黑体;">服务器端</span></h2>
<h3><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">依赖：</span>1<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">）</span><span><a href="http://java.sun.com/javase/downloads">Java Development Kit</a>&nbsp;v1.5
or later</span></h3>
<p>1<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">．系统变量中新建&#8220;</span>JAVA_HOME=C:"Program Files"Java"jdk1.6.0_14<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">&#8221;(</span><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">安装路径</span>)</p>
<p>2<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">．新建</span>CLASSBATH<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">，添加&#8220;</span>.;%JAVA_HOME%"lib"dt.jar;%JAVA_HOME%"lib"tools.jar<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">&#8221;</span></p>
<p>3<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">．</span>Path<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">中添加&#8220;</span>;%JAVA_HOME%"bin<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">&#8221;</span></p>
<p>4<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">．</span>cmd<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">下，输入</span><span>javac &#8211;version
</span><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">查看版本信息，检验是否安装成功</span></p>
<h3 style="text-indent:31.5pt;">2<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">）</span><span><a href="http://maven.apache.org/">Maven</a>&nbsp;2.0.7,
2.0.9, 2.0.10 and 2.1.0</span></h3>
<p>1.<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">官网下载</span><span style="font-size:9.0pt;font-family:Tahoma;color:black">http://maven.apache.org/download.html
</span><span style="font-size:9.0pt;font-family:宋体;color:black">，解压缩到一个指定的目录</span></p>
<p>2.<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">系统变量中新建&#8220;</span>MAVEN_HOME=D:"apache-maven-2.1.0<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">&#8221;（安装路径）</span></p>
<p>3.Path<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">中添加&#8220;</span>;%MAVEN_HOME%"bin<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">&#8221;</span></p>
<p>4.cd<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">至安装目录，</span>cmd<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">下输入</span>mvn &#8211;v <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">查看版本信息，检验是否安装成功</span></p>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">（注：命令行下可直接使用</span>mvn<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">）</span></p>
<p><span style="font-size:16.0pt;Times New Roman&quot;;Times New Roman&quot;">支持</span><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">：</span><a href="http://www.mysql.com/">MySQL</a>&nbsp;5.x</p>
<p style="text-indent:42.0pt;"><a href="http://www.oracle.com/database/">Oracle</a>&nbsp;10g XE</p>
<p style="text-indent:42.0pt;">PostgreSQL 8.3</p>
<h2>2.<span style="font-family:黑体;">客户端</span></h2>
<ul style="margin-top:0cm" type="disc">
    <li style="tab-stops:list 36.0pt">Firefox 2.x and 3.x</li>
    <li style="tab-stops:list 36.0pt">Internet Explorer 6.x and 7.x</li>
    <li style="tab-stops:list 36.0pt">Safari (latest version)</li>
    <li style="tab-stops:list 36.0pt">Opera (latest version)&nbsp;</li>
</ul>
<h1><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">二．创建</span>maven2<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">工程</span></h1>
<h3>1.<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">修改</span>maven2<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">的配置文件</span></h3>
<p>maven2<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">需要配置的文件，主要集中在</span>pom.xml<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">和</span>settings.xml<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">中。</span><span><br />
&nbsp;&nbsp;&nbsp; settings.xml</span><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">对于</span>maven<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">来说相当于全局性的配置，用于所有的项目。在</span>maven2<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">中存在两个</span>settings.xml<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">，一个位于</span>maven2<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">的安装目录</span>conf<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">下面，作为全局性配置。对于团队设置，保持一致的定义是关键，所以</span>maven2/conf<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">下面的</span>settings.xml<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">就作为团队共同的配置文件。保证所有的团队成员都拥有相同的配置。</span></p>
<p style="text-indent:21.0pt;"><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">对于每个成员，都需要特殊的自定义设置，如用户信息，所以另外一个</span>settings.xml<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">就作为本地配置。默认的位置为：</span>${user.dir}/.m2/settings.xml<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">目录中（</span>${user.dir} <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">指</span>windows <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">中的用户目录）。</span></p>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">其中</span>&nbsp;<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">对</span><strong>Proxies</strong><strong><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">属性</span></strong><span>&nbsp;<br />
</span><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">此设置，主要用于无法直接访问中心的库用户配置。</span></p>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">需修改如下</span><span><br />
&nbsp; &lt;proxies&gt;<br />
&nbsp;&nbsp;</span></p>
<p>&nbsp;&lt;proxy&gt;</p>
<p><span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>&lt;id&gt;optional&lt;/id&gt;</span></p>
<p><span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>&lt;active&gt;true&lt;/active&gt;</span></p>
<p><span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>&lt;protocol&gt;http&lt;/protocol&gt;</span></p>
<p><span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>&lt;username&gt;proxyuser&lt;/username&gt;</span></p>
<p><span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>&lt;password&gt;proxypass&lt;/password&gt;</span></p>
<p><span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>&lt;host&gt;<span style="color:red">172.17.17.100</span>&lt;/host&gt;</span></p>
<p><span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>&lt;port&gt;<span style="color:red">8080</span>&lt;/port&gt;</span></p>
<p><span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>&lt;nonProxyHosts&gt;local.net|some.host.com&lt;/nonProxyHosts&gt;</span></p>
<p>&nbsp;&nbsp;&nbsp; &lt;/proxy&gt;</p>
<p><span><br />
&nbsp; &lt;/proxies&gt;</span></p>
<ul style="margin-top:0cm" type="disc">
    <li style="tab-stops:list 36.0pt">id:<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">代理的标志</span></li>
    <li style="tab-stops:list 36.0pt">active<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">：是否激活代理</span></li>
    <li style="tab-stops:list 36.0pt">protocol, host, port:protocol://host:port <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">代理</span></li>
    <li style="tab-stops:list 36.0pt">username, password<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">：用户名和密码</span></li>
    <li style="tab-stops:list 36.0pt">nonProxyHosts: <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">不需要代理的</span>host</li>
</ul>
<h3>2.<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">建</span>maven2<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">项目</span></h3>
<p><span style="
font-family:宋体;color:black">1</span><span style="font-family:宋体;
color:black">、选择一个根目录</span><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">，我的</span>java<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">工</span><span style="font-family:宋体;color:black">作目录是e:"eclipse"workspace</span><span><br />
</span><span style="font-family:宋体;color:black">2</span><span style="font-family:宋体;color:black">、打开dos窗口采用cd命令进入e:"eclipse"workspace目录下</span><span><br />
</span><span style="font-family:宋体;color:black">3</span><span style="font-family:宋体;color:black">、输入下列指令</span><span><br />
</span><span style="font-family:宋体;color:black">e:"eclipse"workspace&gt;mvn archetype:create
-DgroupId=com.efn -DartifactId=study</span></p>
<p><span style="font-family:宋体">4</span><span style="font-family:宋体">、即可生成名为study的工程文件夹</span></p>
<h1><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">三．配置</span>sonar</h1>
<h3>1.<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">下载</span></h3>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">到官方网站下载</span>Sonar<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">的压缩包，解压到任意目录</span></p>
<h3>2.<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">创建数据库</span></h3>
<p>Sonar<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">默认使用嵌入式</span>Derby<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">数据库，如果要迁移到</span>Mysql<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">上，需首先创建一个</span>sonar/sonar<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">的</span>UTF-8<span style="font-family:
宋体;Times New Roman&quot;;Times New Roman&quot;">的</span>mysql<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">数据库</span>,<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">并授权访问</span>sonar<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">库</span></p>
<p><span>mysql&gt; CREATE DATABASE sonar CHARACTER
SET utf8 COLLATE utf8_general_ci;</span></p>
<p><span>mysql&gt; grant all privileges on sonar."*
to 'sonar'@'localhost' identified by 'sonar';</span></p>
<p>mysql&gt; flush privileges;</p>
<p><span><span style="font-size:16.0pt;
font-family:&quot;Times New Roman&quot;">3.</span></span><span style="font-size:16.0pt;Times New Roman&quot;;Times New Roman&quot;">修改</span><span style="font-size:16.0pt;font-family:&quot;Times New Roman&quot;">"conf"sonar.properties</span><span style="font-size:16.0pt;Times New Roman&quot;;Times New Roman&quot;">文件</span><span style="font-size:9.0pt;font-family:宋体;color:black">：</span></p>
<p><strong><span style="font-size:9.0pt;font-family:Arial;
color:black">Properties</span></strong><strong><span style="font-size:9.0pt;font-family:
宋体;color:black">代码：</span></strong></p>
<p><span>#sonar.jdbc.url:
jdbc:derby://localhost:1527/sonar;create=true</span></p>
<p>#sonar.jdbc.driver: org.apache.derby.jdbc.ClientDriver</p>
<p>#sonar.jdbc.defaultTransactionIsolation: 1</p>
<p>#sonar.jdbc.validationQuery: values(1)</p>
<p><span>sonar.jdbc.url:
jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8</span></p>
<p>sonar.jdbc.driver: com.mysql.jdbc.Driver</p>
<p>sonar.jdbc.validationQuery: select 1</p>
<h3>4.<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">配置</span>maven2</h3>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">编辑位于</span><span>$MAVEN_HOME/conf
</span><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">下的</span>settings.xml<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">文件</span></p>
<p>&nbsp;&lt;profile&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;id&gt;sonar&lt;/id&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;activation&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;activeByDefault&gt;true&lt;/activeByDefault&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/activation&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;properties&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;sonar.jdbc.url&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf-8&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/sonar.jdbc.url&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;sonar.jdbc.driver&gt;com.mysql.jdbc.Driver&lt;/sonar.jdbc.driver&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;sonar.jdbc.username&gt;sonar&lt;/sonar.jdbc.username&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;sonar.jdbc.password&gt;sonar&lt;/sonar.jdbc.password&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;sonar.host.url&gt;http://localhost:9000&lt;/sonar.host.url&gt;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/properties&gt;&nbsp;&nbsp;</p>
<p>&lt;/profile&gt;&nbsp;&nbsp;</p>
<h1><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">四．启动</span>sonar</h1>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">执行位于以下脚本</span></p>
<p><span style="font-family:宋体">在Windows ：<span>$sonar_home/
bin/windows-x86-32/StartSonar.bat</span></span></p>
<p><span style="font-family:宋体">启动sonar程序</span></p>
<h1><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">五．</span>Maven<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">你的项目</span></h1>
<p><span style="font-family:
宋体">cd</span><span style="font-family:宋体">至所建maven工程目录下</span></p>
<p><span style="font-family:宋体">命令行代码：</span></p>
<p>mvn&nbsp;org.codehaus.sonar:sonar-maven-plugin:1.8:sonar&nbsp;-Dsonar.skipInstall=true&nbsp;</p>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">此时</span>maven<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">会下载</span>sonar-maven-plugin</p>
<h1><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">六．访问</span></h1>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">待下载完毕，访问</span><a href="http://localhost:9000/">http://localhost:9000</a><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">，即可</span></p>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">注：这里的端口也可以在</span>sonar.properties<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">中设置</span></p>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">例如：将</span>$sonar_home/conf<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">下</span>sonar<span style="font-family:
宋体;Times New Roman&quot;;Times New Roman&quot;">修改如下</span></p>
<p>sonar.web.host : 192.0.0.1</p>
<p>sonar.web.port: 80</p>
<p>sonar.web.context: /sonar</p>
<p><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">即可访问</span><a href="http://localhost/sonar">http://localhost:80/sonar</a></p>
<h1><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">七．</span>Sonar<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">功能</span></h1>
<p>Sonar<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">提供了对代码行、注释行、代码覆盖率、复杂度、代码规则、违例、项目视图等内容的统计和图形化报表显示功能。同时</span>Sonar<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">还提供了测算和违例的钻取、项目不同版本间指标差异的图形化比较、代码覆盖率云的形象化描述等。同时</span>Sonar<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">也提供了灵活的配置功能，包括对系统的配置和对规则的配置。</span></p>
<img src ="http://www.blogjava.net/gothicly16/aggbug/284807.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/gothicly16/" target="_blank">cofF</a> 2009-06-30 17:51 <a href="http://www.blogjava.net/gothicly16/archive/2009/06/30/284807.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>