rpbouman / kettle-cookbook

Automatically exported from code.google.com/p/kettle-cookbook
GNU Lesser General Public License v3.0
46 stars 36 forks source link

running kettle-cookbook with kettle 6.1 #72

Closed JanPit78 closed 8 years ago

JanPit78 commented 8 years ago

Kettlle-cookbook doen't work with kettle version 6.1. It look likes the generation of the sub directories won't work in the target of the documentation and ${FULL_TRANSFORM_SCRIPT} seems to be empty

joaociocca commented 8 years ago

I need to check this - unless @rpbouman can get to it first... but I remember running kcb this week on 6.1 without any errors (except from the warning message about xslt processor)

rpbouman commented 8 years ago

@JanPit78 how did you obtain cookbook? I have not prepared a downloadable distribution for a long while. Recommended way to use cookbook is to dowload the entire project as a .zip, or to clone the repository.

JanPit78 commented 8 years ago

I dowload it as a zip file. put it into a directory en run document-folder.kjb. Thats all

cosmocracy commented 8 years ago

I'm interested in this issue--currently use PDI community edition and just now starting to dabble with the autodocumentation in Spoon. Would like to try KCB so if there are issues with it and 6.1, I would be happy to lend assistance. (I am an experienced Java and ETL developer though still learning PDI.)

TTassoni commented 8 years ago

Hi, I had same issue of JanPit78. I use pentaho CE 6.1, downloaded zip file from here, put it in a directory and run document-folder.kjb. I tried to run it either from GUI and kitchen.

rpbouman commented 8 years ago

Hi All,

people, I'm sorry to say I don't have the time to look into this. I am currently not using PDI or cookbook, and I can't make the time to maintain this.

So, please, use your troubleshooting skills and try to fix it. I'll be happily accepting your pull requests. I done my bit in creating and maintaining cookbook for a good number of years. It's time someone else stepped up to the plate. Thank you.

carteramandaj commented 8 years ago

@rpbouman, I created a pull request with the fix.

@JanPit78 & @TTassoni , If you don't want to wait for the PR to be accepted:

That should fix the issue. I found that one of the best ways to troubleshoot nested mappings is to write the mapping input fields to the log (Write to Log step). It made it plain to see that the get-files.ktr step was using the wrong directory value.

blijblijblij commented 8 years ago

👍

rpbouman commented 8 years ago

@carteramandaj Amanda, thanks! Much obliged :) Merged. @JanPit78, @TTassoni, could you do your bit and please test it and let us know if that resolves the issue? Would be really cool to let Amanda know and give her a tank you and a thumbs up if that fixes it.

JanPit78 commented 8 years ago

I did a little test and for me with a good result. Amanda thanks a lot for fixing this issue. Great work!

rpbouman commented 8 years ago

Hi @JanPit78 ,

thank you for checking! @carteramandaj, thanks again for your contribution. I'm going to close the issue and mark as fixed.

TTassoni commented 8 years ago

Great job, Amanda! I was working in the same direction (putting write to log step inside transformations). I made a test. I confirm that html files are well generated. I had a little issue with the subdir where they are written, and linked in index page but tis is another issue.... I'll try to debug this myself. Thanx.

carteramandaj commented 8 years ago

Great! Happy to assist!