Skip to content

Commit

Permalink
update demo run scripts to include quotes around paths and project name
Browse files Browse the repository at this point in the history
  • Loading branch information
etatara committed Oct 20, 2021
1 parent 2aa1ecc commit 7d854ca
Show file tree
Hide file tree
Showing 38 changed files with 95 additions and 95 deletions.
4 changes: 2 additions & 2 deletions Autocatalysis/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD Autocatalysis
CD "Autocatalysis"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./Autocatalysis.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./Autocatalysis.rs"
6 changes: 3 additions & 3 deletions Autocatalysis/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd Autocatalysis
cd "Autocatalysis"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./Autocatalysis.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./Autocatalysis.rs"
4 changes: 2 additions & 2 deletions Automata/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD Automata
CD "Automata"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./Automata.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./Automata.rs"
6 changes: 3 additions & 3 deletions Automata/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd Automata
cd "Automata"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./Automata.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./Automata.rs"
4 changes: 2 additions & 2 deletions Cells/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD Cells
CD "Cells"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./Cells.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./Cells.rs"
6 changes: 3 additions & 3 deletions Cells/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd Cells
cd "Cells"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./Cells.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./Cells.rs"
4 changes: 2 additions & 2 deletions Flock/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD Flock
CD "Flock"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./Flock.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./Flock.rs"
6 changes: 3 additions & 3 deletions Flock/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd Flock
cd "Flock"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./Flock.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./Flock.rs"
4 changes: 2 additions & 2 deletions GeoZombies/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD GeoZombies
CD "GeoZombies"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./GeoZombies.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./GeoZombies.rs"
6 changes: 3 additions & 3 deletions GeoZombies/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd GeoZombies
cd "GeoZombies"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./GeoZombies.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./GeoZombies.rs"
4 changes: 2 additions & 2 deletions Geography/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD Geography
CD "Geography"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./Geography.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./Geography.rs"
6 changes: 3 additions & 3 deletions Geography/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd Geography
cd "Geography"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./Geography.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./Geography.rs"
4 changes: 2 additions & 2 deletions Geotracks/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD Geotracks
CD "Geotracks"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./Geotracks.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./Geotracks.rs"
6 changes: 3 additions & 3 deletions Geotracks/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd Geotracks
cd "Geotracks"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./Geotracks.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./Geotracks.rs"
4 changes: 2 additions & 2 deletions GlidersGrid/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD GlidersGrid
CD "GlidersGrid"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./GlidersGrid.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./GlidersGrid.rs"
6 changes: 3 additions & 3 deletions GlidersGrid/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd GlidersGrid
cd "GlidersGrid"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./GlidersGrid.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./GlidersGrid.rs"
4 changes: 2 additions & 2 deletions GridGameOfLife/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD GridGameOfLife
CD "GridGameOfLife"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./GridGameOfLife.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./GridGameOfLife.rs"
6 changes: 3 additions & 3 deletions GridGameOfLife/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd GridGameOfLife
cd "GridGameOfLife"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./GridGameOfLife.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./GridGameOfLife.rs"
4 changes: 2 additions & 2 deletions Heatbugs/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD Heatbugs
CD "Heatbugs"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./Heatbugs.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./Heatbugs.rs"
6 changes: 3 additions & 3 deletions Heatbugs/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd Heatbugs
cd "Heatbugs"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./Heatbugs.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./Heatbugs.rs"
4 changes: 2 additions & 2 deletions JZombies_Demo/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD JZombies_Demo
CD "JZombies_Demo"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./JZombies_Demo.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./JZombies_Demo.rs"
6 changes: 3 additions & 3 deletions JZombies_Demo/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd JZombies_Demo
cd "JZombies_Demo"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./JZombies_Demo.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./JZombies_Demo.rs"
4 changes: 2 additions & 2 deletions Mousetrap/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD Mousetrap
CD "Mousetrap"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./Mousetrap.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./Mousetrap.rs"
6 changes: 3 additions & 3 deletions Mousetrap/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd Mousetrap
cd "Mousetrap"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./Mousetrap.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./Mousetrap.rs"
4 changes: 2 additions & 2 deletions PredatorPrey/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD PredatorPrey
CD "PredatorPrey"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./PredatorPrey.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./PredatorPrey.rs"
6 changes: 3 additions & 3 deletions PredatorPrey/installer/start_model.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Repast Simphony Model run script for macOS and Linux

PWD="${0%/*}"
cd $PWD
cd "$PWD"

# Note the Repast Simphony Directories.
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
Expand All @@ -19,7 +19,7 @@ CP=$CP:$PWD/groovylib/$Groovy_Jar
CP=$CP:lib/*

# Change to the project directory
cd PredatorPrey
cd "PredatorPrey"

# Start the Model
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp $CP repast.simphony.runtime.RepastMain ./PredatorPrey.rs
java -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "$CP" repast.simphony.runtime.RepastMain "./PredatorPrey.rs"
4 changes: 2 additions & 2 deletions Schelling/installer/start_model.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REM User model lib jars
SET CP=%CP%;lib/*

REM Change to the project directory
CD Schelling
CD "Schelling"

REM Start the Model
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp %CP% repast.simphony.runtime.RepastMain ./Schelling.rs
START javaw -XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED -cp "%CP%" repast.simphony.runtime.RepastMain "./Schelling.rs"
Loading

0 comments on commit 7d854ca

Please sign in to comment.