... | ... | @@ -41,12 +41,14 @@ public class JsonTransformV8ToV9 extends SimpleJsonTransformation { |
|
|
|
|
|
vadere-console.jar allows to update scenario files to the latest or any given version number. Use following steps:
|
|
|
|
|
|
0. Add new version number to Version.java
|
|
|
0. mvn clean
|
|
|
1. mvn package
|
|
|
2. java -jar VadereSimulator/target/vadere-console.jar migrate -r Scenarios/ (**Note:** Provide the argument `--target-version major.minor` to use a specific version and not the latest version from `Version.java`).
|
|
|
3. git clean -n
|
|
|
4. git clean -f (to delete `<scenario_file>.scenario.legacy` which is created by the migration assistant)
|
|
|
1. Add new version number to Version.java
|
|
|
2. mvn clean
|
|
|
3. mvn package
|
|
|
4. java -jar VadereSimulator/target/vadere-console.jar migrate -r .
|
|
|
- Use the repository root as target directory (`.`) so that all scenarios get migrated (also the one which are used for unit tests.
|
|
|
- Provide the argument `--target-version major.minor` to use a specific version and not the latest version from `Version.java`.
|
|
|
5. git clean -n
|
|
|
6. git clean -f (to delete `<scenario_file>.scenario.legacy` which is created by the migration assistant)
|
|
|
|
|
|
### JsonNodeExplorer
|
|
|
|
... | ... | |