Commit d8460438 authored by Emmanuel Godard's avatar Emmanuel Godard

correct README for breaking changes in 0.8

parent ff9dea19
Pipeline #2377 passed with stage
in 54 seconds
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
``` ```
./gradlew downloadAndUnzipFile ./gradlew downloadAndUnzipFile
./gradlew installJBotsim
``` ```
## Getting started without IDE ## Getting started without IDE
...@@ -12,11 +11,11 @@ ...@@ -12,11 +11,11 @@
1. Write your java algorithm into the `src` folder : `MyAlgo.java` 1. Write your java algorithm into the `src` folder : `MyAlgo.java`
2. Configure your `PATH` variable 2. Configure your `PATH` variable
``` ```
export PATH=$PATH:`pwd`/davis/bin export PATH=$PATH:`pwd`/build/install/davis-beta/bin
``` ```
3. Execute in the `src` directory 3. Execute in the `src` directory
``` ```
udavis <networkGeneratorFile> <scheme> <size> <algoFile : MyAlgo.java> udavis -n <networkGeneratorFile> -i <ids> -s <size> -al <algoFile : MyAlgo.java>
``` ```
...@@ -25,15 +24,15 @@ udavis <networkGeneratorFile> <scheme> <size> <algoFile : MyAlgo.java> ...@@ -25,15 +24,15 @@ udavis <networkGeneratorFile> <scheme> <size> <algoFile : MyAlgo.java>
1. Modify `commandLine` parameters for task `davis` in `build.gradle`. 1. Modify `commandLine` parameters for task `davis` in `build.gradle`.
3. Run 3. Run
``` ```
./gradlew helloejcim ./gradlew hello
``` ```
You can also collect all your examples in a `scenario` file You can also collect all your examples in a `scenario` file
1. Open `scr/scenario` file and add a line with 5 parameters : 1. Open `scr/scenario` file and add a line with 5 parameters :
`<scenarioName> <networkGeneratorFile> <scheme> <size> <algoFile : MyAlgo.java>` `[<scenarioName>] -n <networkGeneratorFile> -i <scheme> -s <size> -al <algoFile : MyAlgo.java>`
3. Execute in a terminal with `./gradlew runscenarioName` 3. Execute in a terminal with `./gradlew run[scenarioName]`
## Getting started with Intellij ## Getting started with Intellij
...@@ -50,17 +49,17 @@ Choose the `basic-example` folder and click ok for *auto-import*. ...@@ -50,17 +49,17 @@ Choose the `basic-example` folder and click ok for *auto-import*.
1. Write your java algorithm into the `src` folder : `MyAlgo.java` 1. Write your java algorithm into the `src` folder : `MyAlgo.java`
2. Open `src/scenario` file and add a line with 5 parameters : 2. Open `src/scenario` file and add a line with 5 parameters :
`<testName> <networkGeneratorFile> <scheme> <size> <algoFile : MyAlgo.java>` `[<scenarioName>] -n <networkGeneratorFile> -i <scheme> -s <size> -al <algoFile : MyAlgo.java>`
3. Refresh gradle panel. 3. Refresh gradle panel.
4. In `Tasks/application` of the gradle panel you should see your testName as a 4. In `Tasks/application` of the gradle panel you should see your scenario as a
gradle task named "runtestName" gradle task named `run[<scenarioName>]`.
5. Click to execute. 5. Click to execute.
## Docs ## Docs
See also [documentation for davis](https://gitlab.lis-lab.fr/davis/davis/tree/master/doc). See also the [documentation for davis](https://gitlab.lis-lab.fr/davis/davis/tree/master/doc).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment