Re: [cdt-dev] How do resource files get copied from 'src' to 'bin'?
Have you resolved your problem? AFAIK it should have just worked (try
a clean :-) all non-filtered files should get copied by JDT. Have a
look at this entry in JDT FAQ:
Kichwa Coders Ltd.
On 26 January 2017 at 22:14, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:
> The CDT source repository contains a file core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/ColorSettingPreviewCode.txt, which contains the source code shown in the preview window on the Syntax Coloring preference page.
> The contents of this file are loaded using Class.getResourceAsStream() (see  and ).
> At some point during the build process, this file gets copied from its original location to core/org.eclipse.cdt.ui/bin/org/eclipse/cdt/internal/ui/preferences/ColorSettingPreviewCode.txt (that's the same path as the original location, but with 'src' replaced with 'bin').
> It appears that it is the copy of the file in the 'bin' folder that is actually being read, at least when Eclipse is run from the development workspace by right-clicking on the org.eclipse.cdt.ui project and selecting Run As -> Eclipse Application.
> How is this file getting copied from the 'src' folder to the 'bin' folder? As part of a bug I'm working on, I tried adding another .txt file in the 'src' folder, but it did not automatically get copied into the 'bin'
> folder. So, I'm thinking there must be a configuration file or build script somewhere that specifies that the ColorSettingPreviewCode.txt file needs to be copied into 'bin'. However, I wasn't able to find it. Does someone know where it is?
>  http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/tree/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CEditorColoringConfigurationBlock.java#n823
>  http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/tree/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CEditorColoringConfigurationBlock.java#n839
> cdt-dev mailing list
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit