是否有grails命令为Eclipse或STS重新生成.project文件?

问题描述:

我已经检出了一个现有的Grails项目,并且想将它导入到STS中。但是,STS拒绝将源树识别为项目,可能是因为它找不到.project文件。那么是否有一个'grails'命令会为这个源代码树创建新的.project(和.classpath和.settings / *)?

I've checked out an existing Grails project and I want to import it into STS. However, STS refuses to recognize the source tree as a project, presumably because it can't find a .project file. So is there a 'grails' command that will create new .project (and .classpath and .settings/*) for this source tree?

使用

use

grails integrate-with --eclipse

我认为这个命令已被添加到Grails 1.2.1中。

I think this command has been added in Grails 1.2.1.