Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ file_env 'SPRING_LIQUIBASE_PASSWORD'
<%_ } _%>
file_env 'JHIPSTER_REGISTRY_PASSWORD'

exec java ${JAVA_OPTS} -noverify -XX:+AlwaysPreTouch -Djava.security.egd=file:/dev/./urandom -cp /app/resources/:/app/classes/:/app/libs/* "<%= packageName %>.<%= mainClass %>" "$@"
exec java ${JAVA_OPTS} -noverify -XX:+AlwaysPreTouch -Djava.security.egd=file:/dev/urandom -cp /app/resources:/app/classes:/app/libs/* ...
2 changes: 1 addition & 1 deletion generators/spring-boot/templates/build.gradle.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ test {
testLogging {
events 'FAILED', 'SKIPPED'
}
jvmArgs += '-Djava.security.egd=file:/dev/./urandom -Xmx512m'
jvmArgs += '-Djava.security.egd=file:/dev/urandom -Xmx512m'
// uncomment if the tests reports are not generated
// see https://github.com/jhipster/generator-jhipster/pull/2771 and https://github.com/jhipster/generator-jhipster/pull/4484
// ignoreFailures true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ task integrationTest(type: Test) {
exceptionFormat "full"
}
systemProperty('spring.profiles.active', 'test,testdev')
systemProperty('java.security.egd', 'file:/dev/./urandom')
systemProperty('java.security.egd', 'file:/dev/urandom')
// uncomment if the tests reports are not generated
// see https://github.com/jhipster/generator-jhipster/pull/2771 and https://github.com/jhipster/generator-jhipster/pull/4484
// ignoreFailures true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ task integrationTest(type: Test) {
exceptionFormat "full"
}
systemProperty('spring.profiles.active', 'test,testprod')
systemProperty('java.security.egd', 'file:/dev/./urandom')
systemProperty('java.security.egd', 'file:/dev/urandom')
// uncomment if the tests reports are not generated
// see https://github.com/jhipster/generator-jhipster/pull/2771 and https://github.com/jhipster/generator-jhipster/pull/4484
// ignoreFailures true
Expand Down
2 changes: 1 addition & 1 deletion generators/spring-boot/templates/pom.xml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<start-class><%= packageName %>.<%= mainClass %></start-class>
<argLine>-Djava.security.egd=file:/dev/./urandom -Xmx1G</argLine>
<argLine>-Djava.security.egd=file:/dev/urandom -Xmx1G</argLine>
<m2e.apt.activation>jdt_apt</m2e.apt.activation>
<run.addResources>false</run.addResources>
<profile.api-docs />
Expand Down
Loading