0
我正在使用最新的Grails版本(3.1.12)和官方getting started guide。create-app在當前目錄中創建應用程序
我被卡在2.3 Creating an Application。
C:\Users\xehpuk\grails-apps>grails
| Enter a command name to run. Use TAB for completion:
grails> create-app helloworld
| Application created at C:\Users\xehpuk\grails-apps
| Resolving Dependencies. Please wait...
這些都是C:\Users\xehpuk\grails-apps
新內容:
.gitignore
build
build.gradle
gradle
gradle.properties
gradlew
gradlew.bat
grails-app
src
顯然,命令create-app
會在當前目錄,而不是子目錄helloworld
應用程序,就好像我使用選項--inplace
。
爲什麼以及如何改變?
公告稱,'創建,app'命令旨在從您的操作系統的命令行運行,而不是來自grails shell。例如'grails create-app helloworld',而不是'grails',然後在shell'create-app helloworld'中。 –
糟糕,你是對的。你想發佈這個答案嗎? – xehpuk
添加爲答案。 –