<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>五四陈科学院-坚信科学，分享技术 &#187; svn</title>
	<atom:link href="http://www.54chen.com/tag/svn/feed" rel="self" type="application/rss+xml" />
	<link>http://www.54chen.com</link>
	<description>PHP、JAVA、缓存、架构、经验、分享</description>
	<lastBuildDate>Fri, 10 Feb 2012 12:21:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ubuntu 9.10安装配置eclipse、subclipse、m2eclipse(svn插件和maven插件)</title>
		<link>http://www.54chen.com/life/ubuntu-910-installation-to-configure-eclipse-subclipse-m2eclipse-svn-plug-ins-and-maven-plug-ins.html</link>
		<comments>http://www.54chen.com/life/ubuntu-910-installation-to-configure-eclipse-subclipse-m2eclipse-svn-plug-ins-and-maven-plug-ins.html#comments</comments>
		<pubDate>Wed, 18 Nov 2009 11:38:43 +0000</pubDate>
		<dc:creator>cc0cc</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[生活备份]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.54chen.com/life/ubuntu-910-installation-to-configure-eclipse-subclipse-m2eclipse-svn-plug-ins-and-maven-plug-ins.html</guid>
		<description><![CDATA[<a href="http://www.54chen.com"><img border="0" src="http://www.54chen.com/wp-content/themes/54chen2011/images/54chen-logo.gif"></a><br>以下内容由<a href="http://www.54chen.com">[五四陈科学院]</a>提供<br>ntfs硬盘安装ubuntu 9.10方案见： x200 ntfs硬盘安装ubuntu9.10正式版手记 eclispe 3.51安装： sudo apt-get install eclipse 整完会在应用程序中多出来一项“编程”。 此时的eclipse是以自带的jre来运行的，后面的maven插件会要求eclipse在jdk里运行，而不是jre里，所以再安装一下jdk: sudo apt-get install sun-java6-jdk 这样，jdk会安装到/usr/lib/jvm/java-6-sun 然后修改eclipse.ini sudo vim /usr/lib/eclipse/eclipse.ini 在-vmargs上一行加入： -vm /usr/lib/jvm/java-6-sun-1.6.0.15/bin (有回车) 同时选择一下window-&#62;preferences-&#62;java-&#62;installed jres增加对应目录的jre 然后开始 Help-&#62;install new software subclipse http://subclipse.tigris.org/update_1.2.x 安装好subclipse。subclipse提供了svn的支持。 然后同样安装m2eclipse插件： m2eclipse比较麻烦，需要依次安装的有： emf http://download.eclipse.org/modeling/emf/updates/releases/ cdt http://download.eclipse.org/tools/cdt/releases/new &#8230;<br><br>想快点找到作者也可以到Twitter上留言: <a href="https://www.twitter.com/54chen" target="_blank">@54chen</a><br>或者你懒得带梯子上墙，请到新浪微博：<a href="http://t.sina.com.cn/54chen" target="_blank">@54chen</a>]]></description>
			<content:encoded><![CDATA[<a href="http://www.54chen.com"><img border="0" src="http://www.54chen.com/wp-content/themes/54chen2011/images/54chen-logo.gif"></a><br>以下内容由<a href="http://www.54chen.com">[五四陈科学院]</a>提供<br><p>ntfs硬盘安装ubuntu 9.10方案见：<br />
<a rel="bookmark" href="http://www.54chen.com/830-x200-ntfs-hard-disk-to-install-the-official-version-of-notes-from-ubuntu910/">x200 ntfs硬盘安装ubuntu9.10正式版手记</a><br />
eclispe 3.51安装：</p>
<blockquote><p>sudo apt-get install eclipse</p></blockquote>
<p>整完会在应用程序中多出来一项“编程”。</p>
<p>此时的eclipse是以自带的jre来运行的，后面的maven插件会要求eclipse在jdk里运行，而不是jre里，所以再安装一下jdk:</p>
<blockquote><p>sudo apt-get install sun-java6-jdk</p></blockquote>
<p>这样，jdk会安装到/usr/lib/jvm/java-6-sun</p>
<p>然后修改eclipse.ini</p>
<blockquote><p>sudo vim /usr/lib/eclipse/eclipse.ini</p></blockquote>
<p>在-vmargs上一行加入：</p>
<blockquote><p>-vm<br />
/usr/lib/jvm/java-6-sun-1.6.0.15/bin</p>
<p>(有回车)</p></blockquote>
<p>同时选择一下window-&gt;preferences-&gt;java-&gt;installed jres增加对应目录的jre</p>
<p>然后开始 Help-&gt;install new software</p>
<p>subclipse http://subclipse.tigris.org/update_1.2.x</p>
<p>安装好subclipse。subclipse提供了svn的支持。</p>
<p>然后同样安装m2eclipse插件：</p>
<p>m2eclipse比较麻烦，需要依次安装的有：</p>
<blockquote><p>emf http://download.eclipse.org/modeling/emf/updates/releases/</p>
<p>cdt http://download.eclipse.org/tools/cdt/releases/new</p>
<p>wtp http://download.eclipse.org/webtools/updates</p>
<p>ajdt http://download.eclipse.org/tools/ajdt/34/update</p>
<p>zest or GEF http://download.eclipse.org/tools/gef/updates/releases/</p>
<p>mylyn http://download.eclipse.org/tools/mylyn/update/e3.4</p></blockquote>
<p>最后才是m2eclipse:</p>
<blockquote><p>http://m2eclipse.sonatype.org/update/</p></blockquote>
<p>注意，在安装过程中，有些update的url里有不止一个版本的选项，注意适当选取。</p>
<br><br>想快点找到作者也可以到Twitter上留言: <a href="https://www.twitter.com/54chen" target="_blank">@54chen</a><br>或者你懒得带梯子上墙，请到新浪微博：<a href="http://t.sina.com.cn/54chen" target="_blank">@54chen</a>]]></content:encoded>
			<wfw:commentRss>http://www.54chen.com/life/ubuntu-910-installation-to-configure-eclipse-subclipse-m2eclipse-svn-plug-ins-and-maven-plug-ins.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一个把TortoiseSVN转成命令行的svn的bat脚本</title>
		<link>http://www.54chen.com/architecture/%e4%b8%80%e4%b8%aa%e6%8a%8atortoisesvn%e8%bd%ac%e6%88%90%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%9a%84svn%e7%9a%84bat%e8%84%9a%e6%9c%ac.html</link>
		<comments>http://www.54chen.com/architecture/%e4%b8%80%e4%b8%aa%e6%8a%8atortoisesvn%e8%bd%ac%e6%88%90%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%9a%84svn%e7%9a%84bat%e8%84%9a%e6%9c%ac.html#comments</comments>
		<pubDate>Wed, 15 Jul 2009 09:21:31 +0000</pubDate>
		<dc:creator>cc0cc</dc:creator>
				<category><![CDATA[架构研究]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[TortoiseSVN]]></category>

		<guid isPermaLink="false">http://www.54chen.com/architecture/%e4%b8%80%e4%b8%aa%e6%8a%8atortoisesvn%e8%bd%ac%e6%88%90%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%9a%84svn%e7%9a%84bat%e8%84%9a%e6%9c%ac.html</guid>
		<description><![CDATA[<a href="http://www.54chen.com"><img border="0" src="http://www.54chen.com/wp-content/themes/54chen2011/images/54chen-logo.gif"></a><br>以下内容由<a href="http://www.54chen.com">[五四陈科学院]</a>提供<br>TortoiseSVN是windows里常用的svn客户端了，有些IDE（比如说Zend Studio）要设置svn.exe的地址才能绑上svn来用，一般情况下，他附带的都是很古老的版本。 把下面的脚本保存为svn.bat，再在ide里设置svn客户端为这个bat文件，很好用 @ECHO OFF rem This is a svn for IDE rem from http://www.54chen.com start "TortoiseSVN" "C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /notempfile /command:%1 /path:%2<br><br>想快点找到作者也可以到Twitter上留言: <a href="https://www.twitter.com/54chen" target="_blank">@54chen</a><br>或者你懒得带梯子上墙，请到新浪微博：<a href="http://t.sina.com.cn/54chen" target="_blank">@54chen</a>]]></description>
			<content:encoded><![CDATA[<a href="http://www.54chen.com"><img border="0" src="http://www.54chen.com/wp-content/themes/54chen2011/images/54chen-logo.gif"></a><br>以下内容由<a href="http://www.54chen.com">[五四陈科学院]</a>提供<br><p>TortoiseSVN是windows里常用的svn客户端了，有些IDE（比如说Zend Studio）要设置svn.exe的地址才能绑上svn来用，一般情况下，他附带的都是很古老的版本。</p>
<p>把下面的脚本保存为svn.bat，再在<a href="http://www.54chen.com/c/406">ide</a>里设置svn客户端为这个bat文件，很好用</p>
<blockquote><p>@ECHO OFF<br />
rem This is a svn for IDE<br />
rem from http://www.54chen.com<br />
start "TortoiseSVN" "C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /notempfile /command:%1 /path:%2</p></blockquote>
<br><br>想快点找到作者也可以到Twitter上留言: <a href="https://www.twitter.com/54chen" target="_blank">@54chen</a><br>或者你懒得带梯子上墙，请到新浪微博：<a href="http://t.sina.com.cn/54chen" target="_blank">@54chen</a>]]></content:encoded>
			<wfw:commentRss>http://www.54chen.com/architecture/%e4%b8%80%e4%b8%aa%e6%8a%8atortoisesvn%e8%bd%ac%e6%88%90%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%9a%84svn%e7%9a%84bat%e8%84%9a%e6%9c%ac.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>svn里的branch、trunk、tag的用处</title>
		<link>http://www.54chen.com/_linux_/svn%e9%87%8c%e7%9a%84branch%e3%80%81trunk%e3%80%81tag%e7%9a%84%e7%94%a8%e5%a4%84.html</link>
		<comments>http://www.54chen.com/_linux_/svn%e9%87%8c%e7%9a%84branch%e3%80%81trunk%e3%80%81tag%e7%9a%84%e7%94%a8%e5%a4%84.html#comments</comments>
		<pubDate>Wed, 12 Nov 2008 08:10:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.54chen.com/_linux_/svn%e9%87%8c%e7%9a%84branch%e3%80%81trunk%e3%80%81tag%e7%9a%84%e7%94%a8%e5%a4%84.html</guid>
		<description><![CDATA[<a href="http://www.54chen.com"><img border="0" src="http://www.54chen.com/wp-content/themes/54chen2011/images/54chen-logo.gif"></a><br>以下内容由<a href="http://www.54chen.com">[五四陈科学院]</a>提供<br>[文章作者：陈臻 本文版本：v1.0 最后修改：2008.11.12 转载请注明原文链接：http://www.54chen.com/c/83] 这只是个说明，你不按说明来办事也不会怎么样，svn照样工作得很好。 branches：分枝 当多个人合作（Sally和John）时，可能有这样的情况出现：John突然有个想法，跟原先的设计不太一致，可能是功能的添加或者日志格式的改进等等，总而言之，这个想法可能需要花一段时间来完成，而这个过程中，John的一些操作可能会影响Sally的工作，John从现有的状态单独出一个project的话，又不能及时得到Sally对已有代码做的修正，而且独立出来的话，John的尝试成功时，跟原来的合并也存在困难。这时最好的实践方法是使用branches。John建立一个自己的branch，然后在里面实验，必要的时候从Sally的trunk里取得更新，或者将自己的阶段成果汇集到trunk中。（svn copy SourceURL/trunk \ DestinationURL/branchName \ -m "Creating a private branch of xxxx/trunk." ） trunk：主干 主干，一般来说就是开发的主要呆的地方， tag: 在经过了一段时间的开发后，项目到达了一个里程碑阶段，你可能想记录这一阶段的代码的状态，那么你就需要给代码打上标签。(svn cp file:///svnroot/mojavescripts/trunk \ file:///svnroot/mojavescripts/tags/mirrorutils_rel_0_0_1 \ -m "taged mirrorutils_rel_0_0_1") 另有一说，无所谓谁对谁错。 trunk：表示开发时版本存放的目录，即在开发阶段的代码都提交到该目录上。 branches：表示发布的版本存放的目录，即项目上线时发布的稳定版本存放在该目录中。 tags：表示标签存放的目录。 在这需要说明下分三个目录的原因，如果项目分为一期、二期、三期等，那么一期上线时的稳定版本就应该在一期完成时将代码copy到branches上，这样二期开发的代码就对一期的代码没有影响，如新增的模块就不会部署到生产环境上。而branches上的稳定的版本就是发布到生产环境上的代码，如果用户使用的过程中发现有bug，则只要在branches上修改该bug，修改完bug后再编译branches上最新的代码发布到生产环境即可。tags的作用是将在branches上修改的bug的代码合并到trank上时创建个版本标识，以后branches上修改的bug代码再合并到trunk上时就从tags的version到branches最新的version合并到trunk，以保证前期修改的bug代码不会在合并。<br><br>想快点找到作者也可以到Twitter上留言: <a href="https://www.twitter.com/54chen" target="_blank">@54chen</a><br>或者你懒得带梯子上墙，请到新浪微博：<a href="http://t.sina.com.cn/54chen" target="_blank">@54chen</a>]]></description>
			<content:encoded><![CDATA[<a href="http://www.54chen.com"><img border="0" src="http://www.54chen.com/wp-content/themes/54chen2011/images/54chen-logo.gif"></a><br>以下内容由<a href="http://www.54chen.com">[五四陈科学院]</a>提供<br><p>[文章作者：陈臻 本文版本：v1.0 最后修改：2008.11.12 转载请注明原文链接：<a href="http://www.54chen.com/c/83">http://www.54chen.com/c/83</a>]</p>
<p>这只是个说明，你不按说明来办事也不会怎么样，svn照样工作得很好。</p>
<p>branches：分枝</p>
<p>当多个人合作（Sally和John）时，可能有这样的情况出现：John突然有个想法，跟原先的设计不太一致，可能是功能的添加或者日志格式的改进等等，总而言之，这个想法可能需要花一段时间来完成，而这个过程中，John的一些操作可能会影响Sally的工作，John从现有的状态单独出一个project的话，又不能及时得到Sally对已有代码做的修正，而且独立出来的话，John的尝试成功时，跟原来的合并也存在困难。这时最好的实践方法是使用branches。John建立一个自己的branch，然后在里面实验，必要的时候从Sally的trunk里取得更新，或者将自己的阶段成果汇集到trunk中。（svn copy SourceURL/trunk \ DestinationURL/branchName \ -m "Creating a private branch of xxxx/trunk." ）</p>
<p>trunk：主干</p>
<p>主干，一般来说就是开发的主要呆的地方，</p>
<p>tag:</p>
<p>在经过了一段时间的开发后，项目到达了一个里程碑阶段，你可能想记录这一阶段的代码的状态，那么你就需要给代码打上标签。(svn cp <a href="file:///svnroot/mojavescripts/trunk">file:///svnroot/mojavescripts/trunk</a> \ file:///svnroot/mojavescripts/tags/mirrorutils_rel_0_0_1 \<br />
-m "taged mirrorutils_rel_0_0_1")</p>
<p>另有一说，无所谓谁对谁错。</p>
<p>trunk<span>：表示开发时版本存放的目录，即在开发阶段的代码都提交到该目录上。</span></p>
<p>branches<span>：表示发布的版本存放的目录，即项目上线时发布的稳定版本存放在该目录中。</span></p>
<p>tags<span>：表示标签存放的目录。</span></p>
<p><span>在这需要说明下分三个目录的原因，如果项目分为一期、二期、三期等，那么一期上线时的稳定版本就应该在一期完成时将代码</span>copy<span>到</span>branches<span>上，这样二期开发的代码就对一期的代码没有影响，如新增的模块就不会部署到生产环境上。而</span>branches<span>上的稳定的版本就是发布到生产环境上的代码，如果用户使用的过程中发现有</span>bug<span>，则只要在</span>branches<span>上修改该</span>bug<span>，修改完</span>bug<span>后再编译</span>branches<span>上最新的代码发布到生产环境即可。</span>tags<span>的作用是将在</span>branches<span>上修改的</span>bug<span>的代码合并到</span>trank<span>上时创建个版本标识，以后</span>branches<span>上修改的</span>bug<span>代码再合并到</span>trunk<span>上时就从</span>tags<span>的</span>version<span>到</span>branches<span>最新的</span>version<span>合并到</span>trunk<span>，以保证前期修改的</span>bug<span>代码不会在合并。</span></p>
<br><br>想快点找到作者也可以到Twitter上留言: <a href="https://www.twitter.com/54chen" target="_blank">@54chen</a><br>或者你懒得带梯子上墙，请到新浪微博：<a href="http://t.sina.com.cn/54chen" target="_blank">@54chen</a>]]></content:encoded>
			<wfw:commentRss>http://www.54chen.com/_linux_/svn%e9%87%8c%e7%9a%84branch%e3%80%81trunk%e3%80%81tag%e7%9a%84%e7%94%a8%e5%a4%84.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

