Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 709 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 709 Bytes

stockupdater

Update the stock from a flat file with numerics in an Excel sheet

Install

Install Java JDK8 minimum.

Use maven to compile, package or launch the project.

Launch

Example to launch the tests:

$ mvn exec:java -Dstock.file=src/test/resources/stock.txt -Dexcel.file.in=src/test/resources/articles.xls -Dupdate .type=UPDATE -Dexcel.sheetname="my export articles" -Dexcel.in=s_id -Dexcel.out=new_stock

Properties:

  • excel.file.in
  • excel.file.out
  • excel.sheetname.in
  • excel.sheetname.out
  • excel.stock
  • excel.out
  • excel.in
  • stock.file
  • update.type