Skip to content

Commit

Permalink
Merge pull request #4 from michael-simons/spring-boot-1.3.x-fix
Browse files Browse the repository at this point in the history
* pr/4:
  Fix property placeholders
  Upgrade to Spring Boot 1.3.2
snicoll committed Feb 1, 2016
2 parents 1695296 + 65abebe commit 9a84f1a
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.3.0.M5</version>
<version>1.3.2.RELEASE</version>
<relativePath/>
</parent>
<groupId>com.example</groupId>
6 changes: 3 additions & 3 deletions spring-boot-daemon-sample/src/main/dist/bin/setenv.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash

JSVC_EXECUTABLE="$( which jsvc )"
JSVC_PID_FILE=/tmp/${dist.project.id}.pid
JSVC_PID_FILE=/tmp/@dist.project.id@.pid

if [ -z "$JSVC_USER" ]; then
JSVC_USER="$USER"
fi

DIST_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
DIST_DIR="$( cd "$( dirname "@BASH_SOURCE[0]@" )/../" && pwd )"
LIB_DIR="$DIST_DIR/lib"
CONF_DIR="$DIST_DIR/conf"

SPRING_BOOT_APP=${dist.start.class}
SPRING_BOOT_APP=@dist.start.class@

JAVA_EXEC="$( which java )"
JAVA_CLASSPATH="$CONF_DIR:$LIB_DIR/*"
12 changes: 6 additions & 6 deletions spring-boot-daemon-sample/src/main/dist/service.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<service>
<id>${dist.project.id}</id>
<name>${dist.project.name}</name>
<description>${dist.project.description}</description>
<id>@dist.project.id@</id>
<name>@dist.project.name@</name>
<description>@dist.project.description@</description>
<workingdirectory>%BASE%\</workingdirectory>
<logpath>%BASE%\logs</logpath>
<logmode>rotate</logmode>

<executable>java</executable>
<startargument>-Dspring.application.admin.enabled=true</startargument>
<startargument>-Dcom.sun.management.jmxremote.port=${dist.jmx.port}</startargument>
<startargument>-Dcom.sun.management.jmxremote.port=@dist.jmx.port@</startargument>
<startargument>-Dcom.sun.management.jmxremote.authenticate=false</startargument>
<startargument>-Dcom.sun.management.jmxremote.ssl=false </startargument>
<startargument>-cp</startargument>
<startargument>lib/*</startargument>
<startargument>com.example.boot.daemon.StartSpringBootService</startargument>
<startargument>${dist.start.class}</startargument>
<startargument>@dist.start.class@</startargument>

<stopexecutable>java</stopexecutable>
<stopargument>-cp</stopargument>
<stopargument>lib/*</stopargument>
<stopargument>com.example.boot.daemon.StopSpringBootService</stopargument>
<stopargument>${dist.jmx.port}</stopargument>
<stopargument>@dist.jmx.port@</stopargument>
</service>

0 comments on commit 9a84f1a

Please sign in to comment.