问题描述
在执行griffon创建应用程序DemoConsole之后,Griffon 0.9.2-beta-3
无法找到.project,因此无法将其导入eclipse(sts)。
,但文档说Griffon为您自动创建Eclipse .project和.classpath文件,
我是否错过了一些步骤?
解决方法:
- griffon集成与--eclipse
- griffon install-plugin eclipse-support
- griffon eclipse -update
- 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 :
- griffon integrate-with --eclipse
- griffon install-plugin eclipse-support
- griffon eclipse-update
- 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文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!