是否有grails命令为Eclipse或STS重新生成.project文件? [英] Is there a grails command to regenerate .project files for Eclipse or STS?

查看:126
本文介绍了是否有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.

这篇关于是否有grails命令为Eclipse或STS重新生成.project文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆