Skip to content

Commit

Permalink
Update Evolver version to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jfaldanam committed Jul 20, 2023
1 parent 61bbc2b commit d576b65
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FROM eclipse-temurin:17
WORKDIR /evolver

# Copy the JAR file from the builder stage
COPY --from=builder /evolver/target/Evolver-1.0-SNAPSHOT-jar-with-dependencies.jar .
COPY --from=builder /evolver/target/Evolver-1.0-jar-with-dependencies.jar .

# Copy the resources folder
COPY resources/ ./resources/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ mvn package

Then, execute the following command:
```console
$ java -cp target/Evolver-1.0-SNAPSHOT-jar-with-dependencies.jar org.uma.evolver.MetaRunner <path-to-configuration-file>
$ java -cp target/Evolver-1.0-jar-with-dependencies.jar org.uma.evolver.MetaRunner <path-to-configuration-file>
```

## Execute Evolver with a GUI (Optional)
Expand Down
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
java -cp Evolver-1.0-SNAPSHOT-jar-with-dependencies.jar "$@"
java -cp Evolver-1.0-jar-with-dependencies.jar "$@"
2 changes: 1 addition & 1 deletion evolver-dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ COPY src ./src
RUN python3 -m pip install "."

ENTRYPOINT []
CMD ["python3", "-m", "evolver", "--jar", "Evolver-1.0-SNAPSHOT-jar-with-dependencies.jar"]
CMD ["python3", "-m", "evolver", "--jar", "Evolver-1.0-jar-with-dependencies.jar"]
2 changes: 1 addition & 1 deletion evolver-dashboard/src/evolver/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# Read environment variables, and define constants
EVOLVER_JAR = Path(
os.environ.get(
"EVOLVER_JAR", default="target/Evolver-1.0-SNAPSHOT-jar-with-dependencies.jar"
"EVOLVER_JAR", default="target/Evolver-1.0-jar-with-dependencies.jar"
)
)
BASE_PATH = Path(os.environ.get("EVOLVER_BASE_PATH", default="/tmp/evolver"))
Expand Down
2 changes: 1 addition & 1 deletion evolver-dashboard/src/evolver/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def create_command(
jar = (
Path(os.environ.get("XDG_CACHE_HOME", "~/.cache"))
/ "Evolver"
/ "Evolver-1.0-SNAPSHOT-jar-with-dependencies.jar"
/ "Evolver-1.0-jar-with-dependencies.jar"
)
jar = jar.expanduser().resolve()

Expand Down

0 comments on commit d576b65

Please sign in to comment.