Griffon不会创建Eclipse .project和.classpath文件 [英] Griffon dont create Eclipse .project and .classpath files

查看:134
本文介绍了Griffon不会创建Eclipse .project和.classpath文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在执行griffon创建应用程序DemoConsole之后,Griffon 0.9.2-beta-3




无法找到.project,因此无法将其导入eclipse(sts)。



,但文档说Griffon为您自动创建Eclipse .project和.classpath文件,



我是否错过了一些步骤?






解决方法:


  1. griffon集成与--eclipse

  2. griffon install-plugin eclipse-support

  3. griffon eclipse -update

  4. eclipse - > import existing project


解决方案



如果您收到与未绑定的类路径变量相关的错误,并且相关文件从GRIFFON_HOME /....

 选择Eclipse / STS  - >偏好 - > Java  - >构建路径 - > Classpath变量
新建... - >添加GRIFFON_HOME并导航到您的Griffon安装的位置。

确认此& proj的重建。应该清除错误。



如果要按照每个项目执行此操作 - 只需右键单击项目&按照Build Path - > Libraries


下的相同过程

Griffon 0.9.2-beta-3

after exec "griffon create-app DemoConsole" cant find the .project, so cant import it into eclipse(sts).

but the docs say that "Griffon automatically creates Eclipse .project and .classpath files for you",

did i miss some step?


solved by :

  1. griffon integrate-with --eclipse
  2. griffon install-plugin eclipse-support
  3. griffon eclipse-update
  4. eclipse --> import existing project

解决方案

In STS 2.6 (& probably other Eclipse versions) also need to add a classpath variable.

If you get errors relating to 'unbound classpath variable' and the files concerned start with GRIFFON_HOME/....

Select Eclipse/STS -> Preferences -> Java -> Build Path -> Classpath Variables
New ... -> Add 'GRIFFON_HOME' and navigate to location of your Griffon installation.

Confirming this & a rebuild of proj. should clear the errors.

If you want to do this on a per project basis - just right click the project & follow the same procedure under Build Path -> Libraries

这篇关于Griffon不会创建Eclipse .project和.classpath文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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