<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
  <channel>
    <title>litchi</title>
    <description></description>
    <link>http://litchi.javaeye.com</link>
    <language>UTF-8</language>
    <copyright>Copyright 2003-2008, JavaEye.com</copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>JavaEye - 做最棒的软件开发交流社区</generator>
      <item>
        <title>自己作的一个简单的build system</title>
        <author>litchi</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://litchi.javaeye.com">litchi</a>&nbsp;
          链接：<a href="http://litchi.javaeye.com/blog/126737" style="color:red;">http://litchi.javaeye.com/blog/126737</a>&nbsp;
          发表时间: 2007年09月24日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          为了写小程序时候方便一些，写了一个简单的build system<br />包括功能：<br /><br />compile source<br />compile unit test source<br />run unit test<br />generate unit test report<br />generate code coverage report<br />generate find bugs report<br />generate javadoc<br /><br />下载，确认安装了ant，然后打开命令行窗口，在根目录下运行<br /><br />ant<br /><br />就会显示帮助<br /><br />没什么技术含量，希望对大家有用<br /><br />可以随便修改分发，保留帮助里面的作者信息就可以了
          <br/>
          <span style="color:red;">
            <a href="http://litchi.javaeye.com/blog/126737#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 24 Sep 2007 21:30:18 +0800</pubDate>
        <link>http://litchi.javaeye.com/blog/126737</link>
        <guid>http://litchi.javaeye.com/blog/126737</guid>
      </item>
      <item>
        <title>在Mac下创建SVN Server管理ruby代码</title>
        <author>litchi</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://litchi.javaeye.com">litchi</a>&nbsp;
          链接：<a href="http://litchi.javaeye.com/blog/122002" style="color:red;">http://litchi.javaeye.com/blog/122002</a>&nbsp;
          发表时间: 2007年09月08日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          准备自己用ruby on rails做一个简单的开源的CMS系统，本来代码已经写了一部分，但是发现代码管理比较乱，而且没有一个统一的需求迭代控制管理，写代码的时候老是会跑题，所以从ThoughtWork下载了Mingle，然后search了一下，配了一个SVN代码仓库，并且和Mingle集成起来了。做完以后把这个过程纪录下来了。<br /><br />因为记的时候着急所以直接用英文写了<br /><br />How to setup svn server in MaxOS 10.4.10?<br /><br />1. install svn server(Subversion-1.4.4.pkg)<br /><br />2. create new SVN repository using the command<br />    svnadmin create /Users/larry/Repositories<br />you can change the path /Users/larry/Repositories to your desire directory,<br />remember this path, we would need to use this path in step 3.<br /><br />3. rename the file I offered to org.tigris.subversion.svnserve.plist then, modify the file.<br />there are four place where you need to change:<br />         &lt;key>UserName&lt;/key><br />        &lt;string>larry&lt;/string><br />change "larry " to your user name(!notice! there are two places you need to<br />modify, one at the beginning, another near the end)<br /><br />        &lt;key>Program&lt;/key><br />        &lt;string>/usr/local/bin/svnserve&lt;/string><br />change "/usr/local/bin/svnserve" to the path of your installed svnserver executable file<br />if you can not find it, check /usr/local/bin or /usr/local/darwinports/bin first. <br /><br />       &lt;string>--root=/Users/larry/Repositories&lt;/string><br />change "/Users/larry/Repositories" to the path of your SVN repository which you<br />choose when creating the repository in step 2.<br />    <br />4. copy the file org.tigris.subversion.svnserve.plist you modified to<br />/Library/LaunchDaemons/, use the command<br />    sudo copy org.tigris.subversion.svnserve.plist /Library/LaunchDaemons<br /><br />5. load the plist config file and start the daemon process use command<br />    sudo launchctl load /Library/LaunchDaemons/org.tigris.subversion.svnserve.plist <br />then start it use<br />    sudo launchctl start org.tigris.subversion.svnserve <br /><br />if anything wrong among the above steps and you want to reload the plist config<br />file, unload it use the command<br />    sudo launchctl unload /Library/LaunchDaemons/org.tigris.subversion.svnserve.plist <br />and then load it again by<br />    sudo launchctl load /Library/LaunchDaemons/org.tigris.subversion.svnserve.plist <br /><br />6. config the svn authorize<br />edit the file conf/passwd in SVN repository directory, add a new line:<br />"larry=123456"(without the quote)<br />change "larry" to your own username and "123456" to your own password <br /><br />edit file conf/svnserve.conf in SVN repository directory<br /><br />remove # before line <br /># anon-access = read<br /># auth-access = write <br />to grant read permission to annoymous user and write permission to authorized<br />user<br /><br />remove # before line <br /># password-db = passwd<br />to read the username and password settings in file 'passwd'<br /><br /><br />7. create blank project template and import it to svn <br />create blank project template<br />    mkdir ~/blank<br />    mkdir ~/blank/branches<br />    mkdir ~/blank/tags<br />    mkdir ~/blank/trunk   <br /><br />import the blank project template to your new SVN repository<br />    svn import blank svn://localhost/ProjectName -m "Initial import" --username larry --password 123456<br />make sure you replaced "larry" to your own username and "123456" to your own password<br /><br />8. that's it, we are done!
          <br/>
          <span style="color:red;">
            <a href="http://litchi.javaeye.com/blog/122002#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Sat, 08 Sep 2007 17:52:01 +0800</pubDate>
        <link>http://litchi.javaeye.com/blog/122002</link>
        <guid>http://litchi.javaeye.com/blog/122002</guid>
      </item>
  </channel>
</rss>