Kettle as an ETL tool, its functions are becoming more perfect, has been the majority of data mining enthusiasts favor. And because he is a Java open source project, in order to meet the needs of the project, it is necessary to study its source code, preferably integrated into the Java project, as a key part of the project running process to use.
Well, let's take a look at the deployment and version generation of Kettle source under eclipse
First, download the source Pdi-ce-src-4.4.0-stable-r17588.zip, extract to the pdi-ce-src-4.4.0-stable-r17588 folder
Next, under the Eclipse menu bar, click "File"-"Import"
Import the pdi-ce-src-4.4.0-stable-r17588 project in the Open Import Projects dialog box.
After that, you'll see that kettle4.4 is already in the Eclipse Engineering directory
Then, we don't have to change the code, at the bottom of the Kettle project,
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.
Don't worry, this time workspace the new kettle is not available, open the kettle generated directory, the bin folder under the ". bat" suffix of the executable files are dragged to the outside (Kettle directory).
Such a kettle original is formally generated, (under the premise of configuring the Java environment variables) Double-click Spoon.bat to start the run.
Next Chapter: Java Implementation Kettle Conversion creation
Using Java source to generate kettle 4.4