Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Ignoring Eclipse build/builders when modifying project structure/classpath (How to instruct eclipse that nothing has happened when a project's classpath or structure has changed?)
Ignoring Eclipse build/builders when modifying project structure/classpath [message #550055] Wed, 28 July 2010 23:13
Parag Raval is currently offline Parag RavalFriend
Messages: 2
Registered: July 2010
Junior Member
Hi,

We have a scenario where the Java project refers to binary and corresponding source Jars.

ProjectA/.classpath
- <classpathentry kind="lib" path="C:/temp/Bbin.jar" sourcepath="C:/temp/Bsrc.jar"/>

Now, we have added capability to convert this Java project to refer to some source i.e. by removing above classpath entry and adding new entries for referring to src and bin directories and provisioning them.

ProjectA/.classpath
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
- src
- package/subpackage/.java file(s)
- bin
- package/subpackage/.class file(s)

While converting the Java project (referring to binary) to source by tweaking the .classpath file and adding set of source and corresponding .class files, Eclipse sends set of POST_CHANGE and BUILD events.

Since, we already have .class file(s) for the source that we have provisioned, can we avoid Eclipse builder from kicking-off? If yes, how?

Here, We want eclipse to think it just opened this project and has already been compiled and therefore does not require compilation.

So there are a couple of facets to this problem.
1) How to instruct eclipse that nothing has happened (when eclipse shuts down, it saves the state info and does not need to recompile at startup).
2) How can we accomplish this?

1) Prevent eclipse from telling everyone that something has changed.
2) Still have all the searching running features to continue to work.


Thanks,
Parag

[Updated on: Wed, 28 July 2010 23:25]

Report message to a moderator

Previous Topic:APT (Java 6) and JDT : What's wrong ?
Next Topic:Helios References>Workspace doesn''t work
Goto Forum:
  


Current Time: Fri Apr 26 13:08:32 GMT 2024

Powered by FUDForum. Page generated in 0.02754 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top