07 2012 档案
[转]mac OS 下配置SVN忽略文件
摘要:安装XCode后Mac OS X 系统已经内置了svn支持,所以需要做的就只是配置。1.建立想要保存软件仓库的目录。sudo su (然后输入密码)mkdir /optmkdir /opt/svnmkdir /opt/svn/repos即创建了目录/opt/svn/repos/2.创建版本仓库 svnadmin create /opt/svn/repos3.修改授权配置进入到仓库配置目录 cd /opt/svn/repos/conf(1)编辑配置文件 vi svnserve.conf 取消下列行的注释anon-access = readauth-access = writepassword-d
阅读全文
How to set up native subversion (javahl) with Subclipse on Mac OS X
摘要:macPorts 安装教程Install the javahl binding with MacPorts:sudo port install subversion +bash_completionsudo port install subversion-javahlbindings奇怪的是,安装到一半,下载不了了,晕死,先记下来吧。Run eclipse, and add this upgrade site: http://subclipse.tigris.org/update_1.8.xSelect the “JavaHL Adapter” and “Subclipse” modules
阅读全文
在Mac OS X 10.8(Mountain Lion)中设置PATH环境变量 (安装macPorts用到)
摘要:解决办法:mac中设置PATH环境变量的命令:sudo vim /etc/paths将路径添加到里面去, 一行一个路径macPorts需要添加的路径:/opt/local/bin/opt/local/sbin注意:即便添加成功,未必运行成功;在制定路径下得脚本必须具是executable, 否则就会被在搜索时被忽略。sudo chmod +x XXX而在Ubuntu下,则只需要修改/etc/.profile或者 ~/.profile或~/.bashrc等修改安装macPorts后需要设置PATH环境变量,查看当前环境变量命令:echo $PATHMac OS X中MacPorts安装和使用Ma
阅读全文