Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to suppress compile by source and/or project?
How to suppress compile by source and/or project? [message #66152] Sat, 07 June 2003 01:12 Go to next message
Eclipse UserFriend
This is all with
Version: 2.1.0
Build id: 200303272130

Two situations. One is a project that I open for reference only. I do
this fairly frequently, usually to look at the source for some library
that I happen to be using. I don't need to compile it, in some cases it
won't compile because something critical is missing, but I can't find a
way to tell Eclipse not to compile one project when it builds everything.
I would have thought that the project depend list controls what got
compiled when a project is compiled, but it still seems like everything is
compiled every time I save any resource file.

Second is similar. One project source folder has a subdirectory of old
java source files,most of which no longer compile. How can I tell
Eclipse to not try to compile them?
Re: How to suppress compile by source and/or project? [message #67891 is a reply to message #66152] Mon, 09 June 2003 08:51 Go to previous message
Eclipse UserFriend
Originally posted by: chaves.no-spam.inf.ufsc.br.no-spam

For your first problem, your referenced project should not have a source
folder (project properties -> java build path -> source -> "source folders
on build path" should be empty). Instead, this project's code will be
provided by JARs/ZIPs/bin directory (project properties -> java build path
-> libraries). For each library, you can expand its node to attach sources
(so you can read them when debugging and searching).

For your second problem, select the source folder (again in project
properties -> java build path -> source -> "source folder on build path")
that contains the problematic source files and exclude them using an
exclusion filter (expand its node, select "Exclusion Filter", edit).

HTH,

Rafael
Previous Topic:can't install plugin from update manager
Next Topic:Odd cursor under Eclipse release "M"
Goto Forum:
  


Current Time: Tue Apr 29 01:41:42 EDT 2025

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

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

Back to the top