ibatis 3

今天关注了一下ibatis 3.0,它发布了。

然后找ibator,发现还没有发布新版本,但是源码已经释出:

看讨论:http://old.nabble.com/Ibator-for-ibatis-3-td26210205.html

安装详细步骤:http://svn.apache.org/repos/asf/ibatis/java/ibator/trunk/eclipse/org.apache.ibatis.ibator.eclipse.doc/html-src/eclipseui/buildingFromSVN.html

1)从SVN上check out http://svn.apache.org/repos/asf/ibatis/java/ibator/trunk/

Important: make sure that a version 5.0 or higher JDK is configured as the default JRE in Eclipse (Window>Preferences>Java>Installed JREs). A JDK is required - a JRE alone will cause problems.

 检查JDK版本

Important: create a path variable named IBATOR_SOURCE that points to the .../core/ibator-core/src folder in the source tree from SVN (Window>Preferences>General>Workspace>Linked Resources)

加Linked Resources

Important: the core Ibator project requires log4j to compile. Some eclipse distributions do not include log4j. You can get it by adding the WTP XSL Developer Tools from eclipse (Help>Install New Software, etc.)

需要log4j

 

2) Import the plug-in projects into the workspace 导入项目

  1. Start the Eclipse project import wizard (File>Import>General>Existing Projects into Workspace)
  2. Set the root directory to the "eclipse" sub-directory of the directory where you did the SVN checkout (for example, /Apache/Ibator/eclipse)
  3. Select all projects except the IbatorUpdateSite project, do not copy the projects into your workspace. Note that the Ibator Update Site is not needed unless you intending to release a new version of the the project at Apache. The filled out wizard looks like this:

    Eclipse Project Import Wizard

  4. Press "Finish", wait for the workspace to build.

3)(文档上没说)org.apache.ibatis.ibator.core这个项目需要添加Link Source:右键->Properties->Java Build Path->Source->"Link Source ...","Variables...",选择刚才建的IBATOR_SOURCE

 

4)编译

修改org.apache.ibatis.ibator.build/build.xml,我的是:

 <property name="baseLocation" value="D:\Program Files\eclipse\v3.5.1"/>
 <property name="pdeBuildPluginVersion" value="3.5.2.R35x_20100114"/>
 <property name="equinoxLauncherPluginVersion" value="1.0.200.v20090520"/>
 <property name="buildDirectory" value="D:\temp"/>
 

PDE指[eclipse plugins path]/org.eclipse.pde.build_3.5.2.R35x_20100114

equinox指[eclipse plugins path]/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
buildDirectory是把编译后的结果放那里

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值