diff --git a/README.md b/README.md index 6ac8ba0..a864bfd 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ To run the application you should navigate to the ***target*** directory, which while choosing the appropriate run-command.
**Run with standard input/output:**
-**``java -jar publications_retriever-1.1-SNAPSHOT.jar arg1:'-inputFileFullPath' arg2: arg3:'-retrieveDataType' arg4:'' arg5:'-downloadDocFiles' arg6:'-docFileNameType' arg7:'idName' arg8:'-firstDocFileNum' arg9:'NUM' arg10:'-docFilesStorage' +**``java -jar publications_retriever-1.2-SNAPSHOT.jar arg1:'-inputFileFullPath' arg2: arg3:'-retrieveDataType' arg4:'' arg5:'-downloadDocFiles' arg6:'-docFileNameType' arg7:'idName' arg8:'-firstDocFileNum' arg9:'NUM' arg10:'-docFilesStorage' arg11:'storageDir' < stdIn:'inputJsonFile' > stdOut:'outputJsonFile'``**
**Run tests with custom input/output:** @@ -93,7 +93,7 @@ arg11:'storageDir' < stdIn:'inputJsonFile' > stdOut:'outputJsonFile'``**
and change the ***appender-ref***, from ***File*** to ***Console***.
- Run ``mvn clean install`` to create the new ***JAR*** file.
- Execute the program with the following command:
-**``java -jar publications_retriever-1.1-SNAPSHOT.jar arg2:'' arg3:'-downloadDocFiles' arg4:'-docFileNameType' arg5:'numberName' arg6:'-firstDocFileNum' arg7:'NUM' arg8:'-docFilesStorage' arg9:'storageDir' arg10:'-inputDataUrl' arg11: 'inputUrl' arg12: '-numOfThreads' arg13: ``** +**``java -jar publications_retriever-1.2-SNAPSHOT.jar arg2:'' arg3:'-downloadDocFiles' arg4:'-docFileNameType' arg5:'numberName' arg6:'-firstDocFileNum' arg7:'NUM' arg8:'-docFilesStorage' arg9:'storageDir' arg10:'-inputDataUrl' arg11: 'inputUrl' arg12: '-numOfThreads' arg13: ``**

*You can use the argument '-inputFileFullPath' to define the inputFile, instead of the stdin-redirection. That way, the progress percentage will appear in the logging file.*

@@ -127,7 +127,7 @@ The above script will run the following commands: - **`mvn clean install`**: Does a *clean install*. - **`rm -rf example/sample_output/*`**: Removes any previous example-results. - **``cd target && - java -jar publications_retriever-1.1-SNAPSHOT.jar -retrieveDataType document -downloadDocFiles -docFileNameType numberName -firstDocFileNum 1 -docFilesStorage ../example/sample_output/DocFiles + java -jar publications_retriever-1.2-SNAPSHOT.jar -retrieveDataType document -downloadDocFiles -docFileNameType numberName -firstDocFileNum 1 -docFilesStorage ../example/sample_output/DocFiles < ../example/sample_input/sample_input.json > ../example/sample_output/sample_output.json``**
This command will run the program with "**../example/sample_input/sample_input.json**" as input and "**../example/sample_output/sample_output.json**" as the output.