在 IntelliJ IDEA 9.0.x 中创建 Grails 应用程序无法提示“create-app”

发布于 2024-08-27 01:15:05 字数 408 浏览 4 评论 0原文

当我在 Snow Leopard 上的 IntelliJ 9 中创建 Grails 应用程序时,系统不会提示我创建应用程序。 IntelliJ 完成了向导并创建了一个不是 Grails 应用程序的空项目。我尝试过两台不同的 Apple 电脑(MacBook Pro 和 Mac Pro),但都无法运行。 Linux 系统上的相同步骤会提示“create-app”和 Grails 应用程序。

我已经尝试过 OS X 上的 Intellij IDEA 设置 中的

步骤Grails需要安装的具体位置?还有其他人看到过这种行为吗?

谢谢

答:确保grails目录是可写的。

When I create a Grails application in IntelliJ 9 on Snow Leopard I am not prompted to create an application. IntelliJ finished the wizard and creates an empty project that is not a Grails application. I have tried two different Apple computers (MacBook Pro and Mac Pro) it does not work on either. The same steps on a Linux system results in a prompt to "create-app" and a Grails application.

I have already tried the steps in Intellij IDEA setup on OS X

Is there a specific place that Grails needs to be installed? Has anyone else seen this behavior?

Thanks

Answer: Make sure that the grails directory is writable.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

九公里浅绿 2024-09-03 01:15:05

刚刚在运行 Intellij 94.633 (EAP) + grails 1.2.1 的 Snow Leopard 上尝试过,创建新项目向导运行得很好。

从“创建新项目”开始,选择一个 grails 模块,然后提示“创建应用程序”或“创建插件”,并显示一个已完成的项目。

如果不高兴的话,尝试相同的 EAP 版本可能是一个主意,您将不得不向 jetbrains 提交错误。他们非常擅长响应问题,您应该很快就会得到某种反馈。

这实际上是我第一次在 intellji 中这样做,之前我总是只使用 grails 命令行,然后将应用程序导入到 Intellij 中。

Just tried this on Snow Leopard running Intellij 94.633 (EAP) + grails 1.2.1 and the create new project wizard has worked just fine.

Started with 'create new project', selected a grails module, was then prompted to 'create-app' or 'create-plugin' and was presented with a completed project.

Might be an idea to try the same EAP build if no joy you will have to file a bug with jetbrains. They are pretty good at responding to issues, you should get some sort of feed back pretty soon.

This is actually the first time I've actually done that in intellji, previously I've always just used the grails command line and then just imported the application to Intellij.

谁许谁一生繁华 2024-09-03 01:15:05

确保 grails 目录可写。

我将 grails 安装从 /opt/grails-1.2.1 移至 /Users/dave/grails-1.2.1,现在可以创建或导入 grails 应用程序。

Make sure that the grails directory is writable.

I moved my grails install from /opt/grails-1.2.1 to /Users/dave/grails-1.2.1 and I can now create or import grails applications.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文