Fix dev launch scripts for version change

This commit is contained in:
Claude Brisson
2024-03-01 11:49:09 +01:00
parent ed8f0d438b
commit 10482c4494
2 changed files with 12 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
#!/bin/bash
mvn -DskipTests=true install # needed for pairgoth-common
VERSION=$(grep '<version>' pom.xml | head -1 | egrep -o '[0-9.]+')
if [ !-f "$HOME/.m2/repository/org/jeudego/pairgoth/pairgoth-common/$VERSION/pairgoth-common-$VERSION.jar" ]
then
mvn -DskipTests=true install # needed for pairgoth-common
fi
trap 'kill $CSSWATCH; exit' INT
( cd view-webapp; ./csswatch.sh ) &

View File

@@ -1,6 +1,11 @@
#!/bin/bash
mvn -DskipTests=true install # needed for pairgoth-common
VERSION=$(grep '<version>' pom.xml | head -1 | egrep -o '[0-9.]+')
if [ !-f "$HOME/.m2/repository/org/jeudego/pairgoth/pairgoth-common/$VERSION/pairgoth-common-$VERSION.jar" ]
then
mvn -DskipTests=true install # needed for pairgoth-common
fi
export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:5005"
mvn -DskipTests=true --projects api-webapp package jetty:run -Dpairgoth.mode=server