You've already forked OpenUxAS-SoI
mirror of
https://github.com/AdaCore/OpenUxAS-SoI.git
synced 2026-02-12 13:04:49 -08:00
19 lines
625 B
Python
Executable File
19 lines
625 B
Python
Executable File
#!/usr/bin/env python
|
|
import os
|
|
import shutil
|
|
import subprocess
|
|
|
|
app = "java"
|
|
scenarioPath = "../../OpenUxAS/examples/99_Tasks/CmasiAreaSearchTask/Rectangle/Scenario_AreaSearchTask.xml"
|
|
runAmaseArgs = ["java", "-Xmx2048m", "-splash:./data/amase_splash.png", "-classpath", "./dist/*:./lib/*", "avtas.app.Application", "--config", "config/amase", "--scenario", scenarioPath]
|
|
|
|
currentDir = os.path.dirname(os.path.realpath(__file__))
|
|
amaseRelativePath = os.path.join("..","..","..","..","..","OpenAMASE","OpenAMASE")
|
|
amasePath = os.path.join(currentDir,amaseRelativePath)
|
|
|
|
os.chdir(amasePath);
|
|
|
|
subprocess.call(runAmaseArgs)
|
|
|
|
|