Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions start.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ if (-not (Test-Path -Path "..\artifacts")) {

if ($null -eq $portInUse) {
Write-Host "Nothing is running on port 15400. Starting the process..."
java -jar "..\File-Integrity-Scanner\File-Integrity-Scanner\target\File-Integrity-Scanner-1.8.1.jar" &
java -jar "..\File-Integrity-Scanner\File-Integrity-Scanner\target\File-Integrity-Scanner-1.8.3.jar" &
Write-Host "File-Integrity-Scanner started."
cp .\target\integrity_hash-1.2-jar-with-dependencies.jar ..\artifacts
java -jar ..\artifacts\integrity_hash-1.2-jar-with-dependencies.jar
cp .\target\integrity_hash-1.2.1-jar-with-dependencies.jar ..\artifacts
java -jar ..\artifacts\integrity_hash-1.2.1-jar-with-dependencies.jar
exit
} else {
Write-Host "File-Integrity-Scanner is already running on port 15400."
cp .\target\integrity_hash-1.2-jar-with-dependencies.jar ..\artifacts
java -jar ..\artifacts\integrity_hash-1.2-jar-with-dependencies.jar
cp .\target\integrity_hash-1.2.1-jar-with-dependencies.jar ..\artifacts
java -jar ..\artifacts\integrity_hash-1.2.1-jar-with-dependencies.jar
exit
}