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
添加为答案。 –