[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Java workingset from a Simple project. What is the point!!!!!

Martin Holmes wrote:
Hello
recently I created a simple project and imported a section of the filesystem. Within that filesystem there was a number of Java source files. As I was creating a working Set it Eclipse gave the option to choose a Java Working Set.


However I don't quite understand why this option is avalible because when I tried to use a Java menu option such as organise imports a message box appears with the messsage "The resource is not on the build path of a Java Project".

Is this pointless or is there a good reason why the Java Working Set option is avalible when the projedct is a Simple project?

I would guess that the reason is because Working Sets are somewhat orthogonal to Projects. They can cross project boundaries and can out-live Projects. Certainly a Working Set does not apply to just one Project, so they allow you to create a Java working set whose contents may include non-Java projects. Non-Java projects can contain .java files (as you've done), which might be included in a Java working set even if their project is not Java-aware.


HTH,
	Eric