Bug 23992 - Adding partial compilation for JAVA
Summary: Adding partial compilation for JAVA
Status: RESOLVED DUPLICATE of bug 24127
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-23 14:59 EDT by hutai CLA
Modified: 2003-01-17 09:50 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hutai CLA 2002-09-23 14:59:00 EDT
In JBuilder or IntelliJ, you could select a file or package and just compile 
these selected source. I think this feature is very useful when you develop a 
team project, you only want to compile your part of code, instead of the whole 
project.
Comment 1 Philipe Mulet CLA 2002-09-24 05:12:40 EDT
What do you call a part ? And what if it needs other files which are comprised 
in this part ?

We do have incremental compilation, which will only compile the set of affected 
files (once a first full build has occurred). These products do not have it, 
which may explain why they provide this kind of feature.

Note that in 2.1, we want to investigate a filtering approach which could allow 
you to hide some source files from the Java compiler. Would this solve your 
problem ?
Comment 2 hutai CLA 2002-09-24 10:38:14 EDT
What I mean is when you have a large team project, which couldn't entirely 
compiled due to some errors in other team member's code. However, you want to 
make sure that your part of code is compiled. Then you could select your 
package and only compile on that package. The compiler should automatically 
compile only the codes which are necessary (including your code and any other 
code you depend on, but not the whole project). The source filtering may not 
work in my case. It is because my code may depend on others code (not all, but 
part of them).

Thanks for your comment.

Tai 
Comment 3 Philipe Mulet CLA 2002-09-26 09:14:09 EDT
So a way to exclude some files from the build would do it, wouldn't it ?
Comment 4 Philipe Mulet CLA 2002-09-30 06:00:14 EDT
Duplicate of bug 24127

*** This bug has been marked as a duplicate of 24127 ***