我可以在 Spring 项目中将单独的 Xtend 文件与 Java 源文件混合吗?

发布于 2024-12-13 20:27:14 字数 250 浏览 3 评论 0原文

在 Xtext 文档 中,我只能找到如何设置仅 Xtend 的项目。

但我有一个 Spring MVC 项目,我想将 Xtend 合并到其中。

是否可以在 Spring 项目中将单独的 Xtend 文件与我的 Java 源文件混合在一起?

或者 Xtend 项目是否需要成为一个单独的 Eclipse 项目?

In the Xtext documentation I can only find how to set up an Xtend-only project.

But I have a Spring MVC project that I want to incorporate Xtend into.

Is it possible to have individual Xtend files intermingled with my Java source files in a Spring project?

Or does the Xtend project need to be a separate Eclipse project?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦里人 2024-12-20 20:27:14

它只需要 Xtext 性质和类路径上的以下三个 jar:

  • org.eclipse.xtext.xtend2.lib

  • org.eclipse.xtext.xbase .lib

  • com.google.collect

您可以在 Eclipse 安装的插件文件夹中找到它们。

It just needs the Xtext nature and the following three jars on the classpath:

  • org.eclipse.xtext.xtend2.lib

  • org.eclipse.xtext.xbase.lib

  • com.google.collect

You find them in the plugins folder of your eclipse installation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文