日食|自动构建针对特定项目目前在工作区中打开(Eclipse | Build Automatically for specific project currently open in workspace)

434 IT屋

There are similar threads going on already but none talks about this specific question. Please don't flag this as possible duplicate.

I have got multiple projects imported in my eclipse workspace. Lets say I have:

  • p1
  • p2
  • p3
  • p4

The option "Build Automatically" is also enabled. Now the problem I'm facing is that if I'm working on p1 and save any java file it builds all projects (that take a lot of time). I need other projects to keep open as I'm referring to those projects.

Now what I want is to build only the project in which I'm working; not all. Is there any possible configuration available? Also I don't want to disable "Build Automatically" feature and Build manually.

Thanks./


In response to the comment received from @Pace. I can actually check the progress and it is building other projects too. Check screenshot.

enter image description here

解决方案

You could generate jar's from the other projects, and just depend on them. That should stop it from building the other projects. You'd just have to regenerate the jar's when you change something.

有类似的主题回事已经但是没有这个具体问题举行了会谈。请不要将此作为可能重复

我已经得到了我的Eclipse工作区进口的多个项目。
可以说我有:


  • P1

  • P2

  • P3

  • P4

还启用了选项"自动构建"。现在我面临的问题是,如果我工作的 P1 并保存它建立所有项目的任何Java文件(需要花费大量的时间)。我需要其他项目保持开放为我指的是那些项目。

现在我要的是只建立在我工作的项目;也不尽然。是否有任何可能的配置可用?此外,我不希望禁用"自动构建"功能和手动构建。

由于./


在响应于从@Pace接收的注释。其实,我可以检查的进展,并过于建设等项目。检查屏幕截图。

在这里输入的形象描述


解决方案

您可以生成JAR的距离等项目,仅仅依靠他们。这应该从建设其他项目停止它。你只需要重新生成JAR当你改变的东西。

本文地址:IT屋 » 日食|自动构建针对特定项目目前在工作区中打开