0

我有一个使用石英的 grails 项目,但 Eclipse 似乎无法在 grails-app/jobs 文件夹中找到文件。我可以手动将石英文件夹添加为源文件夹,这样它就可以找到石英作业。似乎 eclipse 插件应该能够自动找到这个 - 这是插件的问题还是有办法配置 grails 来查找作业文件夹?

4

1 回答 1

0

I checked my project in STS 2.9.0M1 and the jobs folder shows up under grails-app. You are correct, STS doesn't seem to recognize this as a groovy source folder because "Open Type" doesn't bring it up any of the job files, but "Open Resource..." finds them.

I think this is because the jobs folder is a custom artifact type registered by the Quartz plugin. I don't think that the Eclipse Grails plugin is smart enough to find the custom artifact directory.

于 2012-10-07T01:10:21.403 回答