Kettle as an ETL tool. Its function is increasingly intact, has been the vast number of data mining enthusiasts favor. And because he is a Java open source project. To meet the needs of the project. It is necessary to study its source code, preferably integrated into a Java project. Used as an important part of the project execution process.
So. Let's start with the kettle Source code deployment and version number generation under Eclipse
First, download the source code pdi-ce-src-4.4.0-stable-r17588.zip, unzip to the pdi-ce-src-4.4.0-stable-r17588 directory
Next, under the Eclipse menu bar, click "File"-"Import"
Import Pdi-ce-src-4.4.0-stable-r17588project in the Open Import Projects dialog box.
After. You will see that kettle4.4 is already under the Eclipse project folder
Then, we don't have to change the code, there's one at the bottom of the kettleproject.
This is where kettle creates a complete visualizer. Right-click Run-as and select Ant Build.
Later, the console displays the log information it generates for various files.
Wait a minute or so, the complete project of 400M is generated.
Do not worry, this time workspace under the new kettle is not available. Open the kettle generated folder, and drag the executable file with the suffix ". bat" under the Bin folder to the outside (under the Kettle folder).
Such a kettle original is formally generated, (under the premise of configuring the Java environment variable) Double-click Spoon.bat to start execution.
Next Chapter: Java Implementation Kettle Conversion creation
Using Java source code to generate kettle 4.4