Install the Eclipse plug-in maven svn ibatis openExplorer PropertiesEditor

Source: Internet
Author: User
Tags sonatype

Background

Eclipse plug-in installation is often stuck in some errors, not as expected. The most popular configuration method for web projects is Maven projects, and the code is managed using SVN. Use tomcat or resin as the container. Maven and SVN plug-ins are not well installed. The reason is that we have not figured out what these plug-ins are and who provided them.

The most popular plug-in eclipse is provided on eclipse.org, which deceives many people. See:

We can see that SVN has two plug-ins. One is subversive and the other is subclipse. In fact, they are all SVN Eclipse plug-ins. The difference is that they are provided on the eclipse official website and SVN official website. We prefer subclipse. The installation address is http://subclipse.tigris.org/update_1.6.x. this is Chinese.

The installation of Maven plug-ins is even more confusing. Many people may find the plug-in online, which may be the first one. This is also provided by the official website of eclispe, in fact, we are more inclined to use Maven official website provided, address: http://m2eclipse.sonatype.org/sites/m2e

But in order to have the checkout as Maven project from SCM option, you must install Maven's Extras plug-in: http://m2eclipse.sonatype.org/sites/m2e-extras,

If the installation fails, the zesk package is missing and the GEF plug-in is installed to solve the problem. Install the maven plugin:

Http://download.eclipse.org/tools/gef/update/releases, eclipse after pending, a lot of options, only install the SDK core package can be.

According to the above configuration, it is a very standard Eclipse. This eclipse has some basic functions for development:

1. Chinese SVN;

2. You can directly copy the maven project. The check out as Maven project menu is displayed.

Ii. Recommended

Here, I also want to recommend the three most useful plug-ins in eclipse. I have been using it for two or three years and can never give up.

1. openexplorer. It is very easy to quickly locate a file to the file system. Search openexplorer jar csdn or plug-in openexplorer in Baidu and download an openexplorer ..... jar package, directly copy the jar package to the dropins directory of Eclipse, restart eclipse, and the openexplorer menu item appears when you right-click the file.

2. ibator. If you use the ibatis framework, this is essential and can quickly generate beans and XML.

This plug-in also has two addresses and is directly installed as an Eclipse plug-in:

Http://ibatis.apache.org/tools/ibator

Old: http://ibatis.apache.org/tools/abator

I also worked very hard to find this plug-in. At the beginning, I always used the old version and could not generate it. Later, the new version will be used.
The standard ibatorconfig. XML is as follows:

<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE ibatorConfiguration PUBLIC "-//Apache Software Foundation//DTD Apache iBATIS Ibator Configuration 1.0//EN" "http://ibatis.apache.org/dtd/ibator-config_1_0.dtd" ><ibatorConfiguration >  <classPathEntry location="${user.home}/.m2/repository/mysql/mysql-connector-java/5.1.19/mysql-connector-java-5.1.19.jar" />  <ibatorContext id="context1" >    <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://localhost:3306/exam?useUnicode=true" userId="root" password="root" />    <javaModelGenerator targetPackage="cc.monggo.domain" targetProject="exam_18" />    <sqlMapGenerator targetPackage="cc.monggo.domain.sqlmaps" targetProject="exam_18" />    <daoGenerator targetPackage="cc.monggo.dao"     implementationPackage="cc.monggo.dao.impl"     targetProject="exam_18" type="Spring" />    <table schema="exam" tableName="base_user"   enableInsert="true"  enableSelectByPrimaryKey="true"  enableSelectByExample="false"  enableUpdateByPrimaryKey="true"  enableDeleteByPrimaryKey="true"  enableDeleteByExample="false"  enableCountByExample="false"  enableUpdateByExample="false"  selectByPrimaryKeyQueryId="true"  selectByExampleQueryId="false"  modelType="flat"    >    </table>  </ibatorContext></ibatorConfiguration>

 

3. propertieseditor. Resource file editor, which is easy to use and supports various character sets. Plug-in installation address: http://propedit.sourceforge.jp/eclipse/updates /.

 

The author's article is original, spend a lot of energy and time, here I beg you to take care of my shop: http://wamogu.taobao.com. Adding a page view is the greatest comfort to the work of the author. Thank you for taking the mouse off.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.