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

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

推荐答案

使用

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天全站免登陆