[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: Disabling "Copying resources to output folder".
|
They don't have to be copied. You can separate them into a class folder and
they will stay where they are and still be on the classpath. This is
desirable if you have a large number of files/bytes and wish to avoid the
overhead of copying them.
http://eclipsewiki.swiki.net/103#resources
-Andrew
"Richard L. Kulp" <richkulp@xxxxxxxxxx> wrote in message
news:b9e9u5$fc2$1@xxxxxxxxxxxxxxxx
> Note: This newsgroup is deprecated. Should go to eclipse.tools.jdt
> newsgroup for this question.
>
> Are the resource supposed to be in the classpath? Or are they just extra
> files that you had for other purposes but happen to be in the source
> directories.
>
> If it is (1), then they need to be copied. If it is (2), they should be
> moved out of the source folders to non-source folders in the project.
> (There are exclusion filters that can be used to exclude copy certain
> files, but if you have a lot of them, the filter could be cumbersome to
> create or get over aggressive).
>
> If you want to try out the exclusion patterns, go to the
> project->Properties->Java Build Path. Select Source tab, expand the
> source folder, you will see (Exclusion filters), click on it and then
> the "Edit" button.
>
> Rich
>