Skip to content

Commit

Permalink
fix template entity variable, add -ntp to mvnw commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ruddell committed Sep 20, 2019
1 parent 8943202 commit b23c9d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/entity/entity-edit-screen.js.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class <%= props.name %>EntityEditScreen extends React.Component {
}
if (props.data && props.data.entityId) {
this.state.isNewEntity = false
this.props.getFoo(props.data.entityId)
this.props.get<%= props.name %>(props.data.entityId)
}
<%_ props.entityConfig.ownerSideRelationships.forEach((relation) => { _%>
this.props.getAll<%= pascalCase(relation.otherEntityNamePlural) %>()
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/package-jhipster-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ls -al
git status

# package the app into a WAR
./mvnw clean package -Pprod -DskipTests
./mvnw clean package -Pprod -DskipTests -ntp
2 changes: 1 addition & 1 deletion test/scripts/run-detox-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# start the backend
cd ../${SYSTEM_JOBNAME}-backend
nohup ./mvnw &
nohup ./mvnw -ntp &

# wait for the backend to start
# see https://github.com/jhipster/generator-jhipster/blob/2a803eca36f21079320c602645e13c177f6c6ea9/test-integration/scripts/24-tests-e2e.sh
Expand Down

0 comments on commit b23c9d1

Please sign in to comment.