Eclipse |为工作区中当前打开的特定项目自动构建 [英] Eclipse | Build Automatically for specific project currently open in workspace

查看:202
本文介绍了Eclipse |为工作区中当前打开的特定项目自动构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已经有类似的线程,但是没有人会谈到这个具体问题。请不要将此标记为可能的重复



我的eclipse工作区中已经导入了多个项目。
说我有:




  • p1

  • p2

  • p3

  • p4



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



现在我想要的是构建我正在工作的项目;不是全部有没有可用的配置可用?此外,我不想禁用自动构建功能并手动构建。



感谢./






回应@Pace收到的评论。我实际上可以检查进度,也正在建设其他项目。检查截图。



解决方案

您可以从其他项目中生成jar,只需依靠它们。这应该阻止其他项目的建设。你只需要重新生成瓶子,当你改变一些东西。


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.

解决方案

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 |为工作区中当前打开的特定项目自动构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆