Delanno / kettle-cookbook

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

Cookbook has to be run from inside data-integration folder #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Not a blocker but a usablility issue

If you start kitchen using an absolute path and you are not within that folder 
the cookbook starts, runs some stuff but doesn't get close to completetion. No 
toc, not html files etc. But the job thinks its successful.

sh /mnt/ci/hudson/buildenv/data-integration3/kitchen.sh 
-file=/mnt/ci/hudson/.hudson/jobs/ETLCookbook/workspace/etl/data-integration/sof
tware/kettle-cookbook/pdi/document-all.kjb 
-param:"INPUT_DIR"=/mnt/ci/hudson/.hudson/jobs/ETLCookbook/workspace/etl/data-in
tegration/projects/wex/code/ -param:"OUTPUT_DIR"=/tmp/etlEE

Original issue reported on code.google.com by TomBarbe...@googlemail.com on 22 Dec 2010 at 9:38

GoogleCodeExporter commented 8 years ago
I think this happens because of the way I try to detect saxon. 

considering also issue 38, it may be a better idea to allow people to specify 
saxon explicitly. The detection stuff should remain in place so the interface 
to using kettle-cookbook remains the same (i.e. INPUT_DIR, OUTPUT_DIR, and 
nothing more), but we could add an optional parameter for saxon which, when 
specified, would lift the dependency on running kettle from within its 
installation directory.

Original comment by roland.bouman on 10 Feb 2011 at 4:46

GoogleCodeExporter commented 8 years ago
I think the only reason why one couldn't run cookbook from another dir, is that 
saxon couldn not be found. In r71, the location of saxon can be explicitly 
specified with a SAXON top-level parameter. This parameter has a default that 
should make everything work as before if you don't need to fiddle with the dir 
from where you run cookbook.
Also see issue #38

Original comment by roland.bouman on 3 Apr 2011 at 9:41