[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Duplicate files showing up in the bin folder

The source folders are the ones you generally care about, and when it will 
come to sharing and versioning your code it will be quite natural to deal 
with resources, since they will be mixed with the sources. You could also
imagine not having to share the binaries, since the Java builder is able to
regenerate them locally when retrieving the sources from a server.

This is why the binary output is a domain reserved to the Java builder 
(for example when doing a full build, it will be flushed entirely). 

jamsden@xxxxxxxxxx wrote:

> Another thought: Why not just put the resources that need to be in the 
> runtime path in the bin directory in the first place. There's a Java src 
> directory because you don't want to mixup the .java files with the built 
> class files. But .properties and .gif files could just be created and 
> edited directly in the bin directory without have any copies anywhere. 
> Since they don't get built, there's no need to put them in the src (or any 
> other) folder. That is, you need something in the classpath, then either 
> put it there, or update the classpath with where you did put it. 
> Developer's choice. What would be the downside of this approach?