【开发工具IDE】Eclipse相关配置

1. 修改workspace编码为UTF-8

 

 

1.1. 修改jsp编码为UTF-8

 

 

2. 修改字体

 

 

 

 

3. 添加系统中的JDK

 

 

 

 

 

4. 导入formatter模板

 

 

5. 修改maven配置文件

打开文件:

apache-maven-3.2.3\conf\settings.xml

5.1. 修改本地仓库路径

<localRepository>F:\1024\maven3.2\repository</localRepository>

 

注意:了环境统一,建议使用新的本地仓库地址。

5.2. 增加内网镜像服务

使用阿里云的maven私服 

   <mirror>

        <id>nexus-aliyun</id>

        <mirrorOf>*</mirrorOf>

        <name>Nexus aliyun</name>

        <url>http://maven.aliyun.com/nexus/content/groups/public</url>

    </mirror> 

 

5.3. deploy账号

<server>

 <id>nexus</id>

 <username>deployment</username>

 <password>deployment123</password>

   </server>

5.4. 配置host

host文件中加添加(注意IP要修改正确

 

C:\Windows\System32\drivers\etc\hosts

 

192.168.0.47 maven.taotao.com

 

6. Eclipse中配置Maven

6.1. 添加本地安装的maven

 

 

 

 

 

 

6.2. 设置setting文件

用户配置设置为 M2_HOME/conf/settings.xml,根据里面的<localRepository>F:\1024\maven3.2\repository</localRepository>本地仓库标签决定放在哪里,默认是在~/.m2/settings.xml里面

 

 

 

选择资料包中的maven,并且注意本地仓库地址是否正确。

 

 

 

7. 创建SVN资源地址

7.1. 打开SVN工作窗口

 

 

7.2. 添加SVN资源地址

 

 

 

输入用户名密码:

用户名:姓名的拼音,名.姓,例如张三,用户名为,san.zhang

密码:初始密码为:123456

 

 

 

 

在本地host文件中添加:

192.168.0.47 svn.taotao.com

 

posted @ 2017-01-12 16:32  多弗朗明哥  阅读(413)  评论(0编辑  收藏  举报