File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/groovy/com/marklogic/gradle/task Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class NewProjectTask extends MarkLogicTask {
7878 } else {
7979 appConfig. setNoRestServer(true )
8080 }
81- new ScaffoldGenerator (). generateScaffold(" ." , appConfig)
81+ new ScaffoldGenerator (). generateScaffold(new File ( " ." ) . getAbsolutePath() , appConfig)
8282 }
8383 }
8484
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class GenerateScaffoldTask extends MarkLogicTask {
1010 void generateScaffold () {
1111 ScaffoldGenerator g = new ScaffoldGenerator ()
1212 def propName = " scaffoldPath"
13- def path = project. hasProperty(propName) ? project. property(propName) : " ."
13+ def path = project. hasProperty(propName) ? project. property(propName) : new File ( " ." ) . getAbsolutePath()
1414 println " Generating scaffold for path: " + path
1515 g. generateScaffold(path, getAppConfig())
1616 }
You can’t perform that action at this time.
0 commit comments