maven打包kettle源码方法、eclipse运行kettle源码方法

转自: https://blog.csdn.net/weixin_37364740/article/details/82667620

maven打包kettle源码方法、eclipse运行kettle源码方法: https://blog.csdn.net/weixin_37364740/article/details/82667620

pentaho专题系列之kettle篇--kettle源码编译https://www.cnblogs.com/shenlanzhizun/p/7364961.html

10分钟搞定kettle源码部署: https://www.liangzl.com/get-article-detail-7235.html

maven打包kettle源码方法、eclipse运行kettle源码方法:  https://blog.csdn.net/weixin_37364740/article/details/82667620

kettle maven 配置https://www.cnblogs.com/Leechg/p/7195944.html

 

 

打包及eclipse运行kettle方法 
一、环境准备 
1、安装Java JDK 1.8+ 
2、安装Maven, version 3+,参考https://blog.csdn.net/flower_CSDN/article/details/79946008 
3、修改maven的settings.xml文件内容为:https://raw.githubusercontent.com/pentaho/maven-parent-poms/master/maven-support-files/settings.xml

二、下载kettle源码(kettle8之后使用maven构建项目,我下载在D:\workspace\eclipse文件下) 
下载地址:https://github.com/pentaho/pentaho-kettle 
如下图所示,可以下载各版本的源码 


三、解压下载的文件,在cmd窗口执行命令 
cd /d D:\workspace\eclipse\pentaho-kettle-master :进入到源码所在目录 
mvn clean install -DskipTests:打包,跳过测试 
注意:打包时间会很久 


四、打包之后的文件位置 


五、解压打包之后的文件,双击Spoon.bat即可启动kettle 
注意:kettle8版本之后需要ie9+浏览器,否则启动时的欢迎页面不能正常显示 


六、配置Eclipse的maven 
菜单:Window-Preferences 


七、导入kettle源码 
菜单:File-Import 


八、将可运行的kettle下面ui文件夹里的文件(不要选中images文件夹)拷贝到kettle-ui-swt下面的ui里 


九、添加swt.jar。我的操作系统是64位的

十、找到Spoon.java,并运行


--------------------- 
作者:weixin_37364740 
来源:CSDN 
原文:https://blog.csdn.net/weixin_37364740/article/details/82667620 
版权声明:本文为博主原创文章,转载请附上博文链接!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Pentaho Data Integration Pentaho Data Integration ( ETL ) a.k.a Kettle Project Structure assemblies: Project distribution archive is produced under this module core: Core implementation dbdialog: Database dialog ui: User interface engine: PDI engine engine-ext: PDI engine extensions plugins: PDI core plugins integration: Integration tests How to build Pentaho Data Integration uses the maven framework. Pre-requisites for building the project: Maven, version 3+ Java JDK 1.8 This settings.xml in your /.m2 directory Building it This is a maven project, and to build it use the following command $ mvn clean install Optionally you can specify -Drelease to trigger obfuscation and/or uglification (as needed) Optionally you can specify -Dmaven.test.skip=true to skip the tests (even though you shouldn't as you know) The build result will be a Pentaho package located in target. Running the tests Unit tests This will run all unit tests in the project (and sub-modules). To run integration tests as well, see Integration Tests below. $ mvn test If you want to remote debug a single java unit test (default port is 5005): $ cd core $ mvn test -Dtest=<<YourTest>> -Dmaven.surefire.debug Integration tests In addition to the unit tests, there are integration tests that test cross-module operation. This will run the integration tests. $ mvn verify -DrunITs To run a single integration test: $ mvn verify -DrunITs -Dit.test=<<YourIT>> To run a single integration test in debug mode (for remote debugging in an IDE) on the default port of 5005: $ mvn verify -DrunITs -Dit.test=<<YourIT>> -Dmaven.failsafe.debug To skip test $ mvn clean install -DskipTests To get log as text file $ mvn clean install test >log.txt IntelliJ Don't use IntelliJ's built-in maven. Make it use the same one you use from the commandline. Project Preferences -> Build, Execution, Deployment -> Build Tools -> Maven ==> Maven home directory Contributing Submit a pull request, referencing the relevant Jira case Attach a Git patch file to the relevant Jira case Use of the Pentaho checkstyle format (via mvn checkstyle:check and reviewing the report) and developing working Unit Tests helps to ensure that pull requests for bugs and improvements are processed quickly. When writing unit tests, you have at your disposal a couple of ClassRules that can be used to maintain a healthy test environment. Use RestorePDIEnvironment and RestorePDIEngineEnvironment for core and engine tests respectively. pex.: public class MyTest { @ClassRule public static RestorePDIEnvironment env = new RestorePDIEnvironment(); #setUp()... @Test public void testSomething() { assertTrue( myMethod() ); } }
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值