How to run 3 scriptella files one after other from java program? -
i have 3 scriptella scripts want run java program 1 after another. important, because each xml script uses results of previous one. how can accomplish that? thanks.
scriptella tutorial provides example of calling etl files java. can add 3 lines sequentially:
etlexecutor.newexecutor(new file("etl1.xml")).execute(); etlexecutor.newexecutor(new file("etl2.xml")).execute(); etlexecutor.newexecutor(new file("etl3.xml")).execute();
these methods synchronous, hence etl files run 1 after another.
Comments
Post a Comment