How to use DumpFilesToDiscCLI

From TempusServa wiki
Revision as of 15:31, 5 February 2024 by Nun (talk | contribs) (Created page with "DumpFilesToDiscCLI is a tool to run the DumpFilesToDisc codeunit directly from a Command Line Interface such as Windows Powershell. To run the command, you must have JDK 1.8 (Or probably newer) installed and set up. From here you must do the following steps: 1. get war file with www.tempusserva.dk/install/nightly/TempusServa.war 2. rename file ending to .zip 3. unzip the file 4. navigate to \TempusServa\WEB-INF\lib in zip file in a CLI 5. run the following command, but...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DumpFilesToDiscCLI is a tool to run the DumpFilesToDisc codeunit directly from a Command Line Interface such as Windows Powershell. To run the command, you must have JDK 1.8 (Or probably newer) installed and set up. From here you must do the following steps:

1. get war file with www.tempusserva.dk/install/nightly/TempusServa.war 2. rename file ending to .zip 3. unzip the file 4. navigate to \TempusServa\WEB-INF\lib in zip file in a CLI 5. run the following command, but replace the placeholder variables, including the <> characters with appropriate values for the given application you are running the tool on: java -cp "./*" com.tsnocode.codeunit.common.DumpFilesToDiscCLI <live db name> <db username> <db password> <solution> <sqlCategoryKey *optional*> <sqlCategoryEntity *optional*>