Skip to content

Commit

Permalink
#372 mlNewProject no longer creates REST files when no REST port is set
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrudin committed Aug 28, 2018
1 parent 088416a commit 7d1a3b3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ class NewProjectTask extends MarkLogicTask {
if (ant.mlTestRestPort) {
appConfig.setTestRestPort(Integer.parseInt(ant.mlTestRestPort))
}
} else {
appConfig.setNoRestServer(true)
}
new ScaffoldGenerator().generateScaffold(".", appConfig)
}
Expand Down

0 comments on commit 7d1a3b3

Please sign in to comment.