是否有一种无头方式来导入项目并刷新工作区?

发布于 2024-08-03 01:46:08 字数 152 浏览 5 评论 0原文

仍在尝试为大型大学项目(RCP 产品)建立无头构建。

每个 Eclipse 用户都知道以下手动功能: “文件 --> 导入 --> 现有项目到工作区” 以及“构建工作空间”和“清理工作空间”

有没有办法无头调用此操作?

谢谢你!!

Still trying to set up an headless build for a big university project (RCP product).

Every Eclipse user knows the following manual functionality:
"File --> Import --> Existing projects into workspace"
as well as "Build Workspace" and "Clean Workspace"

Is there a way to invoke this actions headlessly?

Thank you!!

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

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

发布评论

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

评论(3

零時差 2024-08-10 01:46:08

我回答了上一个问题,并使用了一个需要导入的小插件项目。这可能会有所帮助,或者至少向您展示如何自己实现类似的插件。

I answered a previous question with a hacky little plugin to import projects. This may help, or at least show you how to implement a similar plugin yourself.

烂柯人 2024-08-10 01:46:08

还没有,但你可以期待很快。 错误 320552 的工作正在进行中。

Not yet but you can expect it soon. Work is in progress on Bug 320552 .

感性 2024-08-10 01:46:08

Ant4Eclipse 有一个任务可以做到这一点:workspaceDefinition。它使用在其中创建工作区的目录和用于搜索项目的目录列表,并将其发现的任何项目添加到新工作区。

我不认为它可以将项目添加到现有工作区。我也不清楚它是否可以注册工作区目录中的项目(并在移动工作区时保留其相对路径);看来该项目必须有一个外部的绝对路径名。

Ant4Eclipse has a task that can do this: workspaceDefinition. It takes the directory in which to create the workspace and a list of directories to search for projects, and adds any projects it discovers to the new workspace.

I don't think it can add a project to an existing workspace. I'm also not clear on whether it can register a project that is within the workspace directory (and keeps its relative path if the workspace is moved); it seems the project must have an external, absolute pathname.

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