PDA

View Full Version : Use java code to excute *.ktr



timri
04-20-2006, 12:59 AM
Hi,


Can I excute *.ktr by using java code or servlet , not kettle GUI.



If have , there is any sample code shows us ?



thanks

MattCasters
04-20-2006, 01:06 AM
Please see the source code of be.ibridge.kettle.pan.Pan


See also this link (http://www.kettle.be/en/api.htm)



HTH,



Matt

timri
04-20-2006, 01:29 AM
Thanks for the quick and warmhearted response.


I have looked for it so long.



I'll try it immediately.

MattCasters
04-20-2006, 01:38 AM
No problem.

Some thing to look out for: initialise StepLoader singleton. In a servlet, webservice, etc. make sure to set the location(s) of your plugins. (if you have any)

Matt