HiromuHota / pentaho-kettle

webSpoon is a web-based graphical designer for Pentaho Data Integration with the same look & feel as Spoon
https://hub.docker.com/r/hiromuhota/webspoon/
Apache License 2.0
499 stars 190 forks source link

guide #209

Closed thisisAbox closed 4 years ago

thisisAbox commented 4 years ago

Could you please give a guidence document about how to run this project in IntelJ Idea?

HiromuHota commented 4 years ago

Because of Karaf, it is not easy to run webSpoon on IDE (Eclipse, IntelliJ, etc.). Instead, I'd recommend to build&deploy as a Docker container and remotely debug it. https://github.com/HiromuHota/pentaho-kettle/tree/webspoon-9.0/docker#debug

thisisAbox commented 4 years ago

I think debug it remotely is difficult to develop this project? I was wondered how you guys to develop this project? Don't you use IDE? Now i add a web module in this project and i run it successfully, but there are some problems when i click the connect button,the New Repository Connection Interface is blank, i can't handle it! please give a method for me!

HiromuHota commented 4 years ago

I use Eclipse for coding and remote debugging. I think you can use IntelliJ for these too. (See here https://www.jetbrains.com/help/idea/tutorial-remote-debug.html#98293 for how to remotely debug).

It is possible to run webSpoon on IDE like Eclipse and IntelliJ as you demonstrated. The problem is that webSpoon requires the system folder at the current directory, which includes Karaf. The reason why the repository connect button does not work would be that you did not place the folder at the current directory. In other words, if you place the system folder at the current directory, you can run it on IDE. The next question you would have is that where is the "current directory"? It depends how your IDE run it. You would need to figure it out yourself.

As I find it cumbersome and error-prone, I build&deploy as a Docker container and remotely debug it using Eclipse. If you can find an easy solution, it'd be great! Please let me know!