Griffon dont create Eclipse .project and .classpath files

老子叫甜甜 提交于 2019-12-12 08:59:41

问题


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

回答1:


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




回答2:


solved by :

  • griffon integrate-with --eclipse
  • griffon install-plugin eclipse-support
  • griffon eclipse-update
  • eclipse --> import existing project


来源:https://stackoverflow.com/questions/4533954/griffon-dont-create-eclipse-project-and-classpath-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!