Issues with dataload and kettle.

G'day all,

I am new to OpenVPMS and hope to put it in production soon. The install is up and running nicely and everone who has had a play with it likes it. But now to get serious.

When using dataload on the sample data, I get :

$ ./dataload.sh -f ../import/data/demo/suppliers.xml

[PROCESSING FILE : -f]

java.io.FileNotFoundException: -f (No such file or directory)

java.io.FileNotFoundException: -f (No such file or directory)

or using the full option gives a similar error:

$ ./dataload.sh --file ../import/data/demo/suppliers.xml

[PROCESSING FILE : --file]

No doubt a syntax error. Any pointers?

 

On to Kettle, or spoon in particular, where can the archetypes to map to be found? Are they in the OpenVPMS plugin? If so, how do I access them to put in the Map To field, or do I just type them in?

Regards

Simon

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Issues with dataload and kettle.

The dataload.sh script is slightly different to the dataload.bat script.

Try:

./dataload.sh ../import/data/demo/suppliers.xml

You can view the archetypes either in Administration - Archetypes or <OPENVPMS_HOME>/update/archetypes.

To get an understanding how to do the mapping, see http://www.openvpms.org/documentation/openvpms-loader-plugin-pentaho-kettle

There are also sample tranforms available on the site.

 

Syndicate content