现在的位置: 首页 > 综合 > 正文

开源软件_源码SVN地址

2013年10月04日 ⁄ 综合 ⁄ 共 2576字 ⁄ 字号 评论关闭

转至:http://blog.csdn.net/yinshuiy/article/details/5902702

Spring3.0                               
https://src.springframework.org/svn/spring-framework/
      

Spring2.5 及以下版本          
https://src.springframework.org/svn/spring-maintenance/

Spring Security                     
https://src.springframework.org/svn/spring-security/

servlet-api 源码

附件是代码。

来源于glassfish-svn:

https://glassfish-svn.dev.java.net/svn/glassfish-svn/trunk

用户“guest”不需输入密码。

Tomcat 源码

http://svn.apache.org/repos/asf/tomcat

Jetty 源码

website:http://www.mortbay.org/jetty/

SVN :http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty

jBoss 源码

http://anonsvn.jboss.org/repos/jbossas

spring

svn checkout
https://src.springframework.org/svn/spring-framework/trunk
spring-framework

  ant resolve

struts2

svn checkout http://svn.apache.org/repos/asf/struts/struts2/trunk struts2
svn checkout http://svn.apache.org/repos/asf/struts/xwork/trunk/ xwork

mvn install
mvn eclipse:eclipse

tomcat6

svn checkout http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk tc6.0.x
1.下载ant 1.6.x
2. 命令行下执行 ant download,下载依赖jar.

使用eclipse获取spring的工程代码
  1、安装svn插件
  本人使用的eclipse3.5,安装svn插件有两种方式
       方式一:help --> install new software --> Add site
  输入http://subclipse.tigris.org/update_1.4.x/ 完成安装
    方式二:将svn插件文件site-1.6.2.zip下载到本地,eclipse3.5没有links目录改用dropins,将site-1.6.2.zip解压到某个目录,
  编写link文件内容为"path=解压目录"(注意目录的分隔符不要写错),将解压目录eclipse文件夹下的site.xml文件删除,将link文件放到eclispe安装目录的dropins目录下
  2、登录spring官方网站http://www.springsource.org/
   打开Project,然后选择Spring,在网页的Source Repositories部分介绍了Spring源代码库的链接位置spring3.0位置为https://src.springframework.org/svn/spring-framework/
spring2.5以前的部分位置为
https://src.springframework.org/svn/spring-maintenance/

  3、打开svn视图新建位置输入上面步骤中找到的url
  补充说明:很多公司上外网都设置了代理导致步骤3新建svn位置报错,当我们用svn时候,会在我们的系统盘下面生成一个svn的配置文件,只要在这个配置文件中设置一下即可

具体做法如下:
(1)、在C:/Documents and Settings/Administrator/Application Data/Subversion的server配置文件下找到[global]节点

(2)、修改[global]节点

修改前:
[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
# http-proxy-host = defaultproxy.whatever.com
# http-proxy-port = 7000
# http-proxy-username = defaultusername
# http-proxy-password = defaultpassword
# http-compression = no
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem

修改后:
[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
http-proxy-host = 代理地址
http-proxy-port = 代理端口
http-proxy-username = svn用户名
http-proxy-password = svn密码
# http-compression = no
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem

注:“#”表示注释,所以我们要放开这4个“#”

经过修改后,你的svn可用

抱歉!评论已关闭.