annoying eclipse automatisms (resource copying)  
Author Message
jastice





PostPosted: 2003-12-15 23:36:00 Top

java-programmer, annoying eclipse automatisms (resource copying) I really like Eclipse as Java editing platform, but now I want to do
the following:

I have a directory with not only self-written Java sources but also
some non-Java source files (namely parser/lexer constructed in
CUP/JLex). From this, I generate Java sources which land in the same
directory. Now when I build this directory from Eclipse it persists in
copying my non-Java sources to the output directory. While this
doesn't exactly cause any malfunction, it does disturb my cleanly
nature ;)

What options would you suggest to keep the structure clean? I think
setting up yet another directory for the CUP/JLex sources would be
rather impractical.

Thanks,
Justin
 
Jon Skeet





PostPosted: 2003-12-17 7:30:00 Top

java-programmer >> annoying eclipse automatisms (resource copying) Justin Kaeser <email***@***.com> wrote:
> I really like Eclipse as Java editing platform, but now I want to do
> the following:
>
> I have a directory with not only self-written Java sources but also
> some non-Java source files (namely parser/lexer constructed in
> CUP/JLex). From this, I generate Java sources which land in the same
> directory. Now when I build this directory from Eclipse it persists in
> copying my non-Java sources to the output directory. While this
> doesn't exactly cause any malfunction, it does disturb my cleanly
> nature ;)
>
> What options would you suggest to keep the structure clean? I think
> setting up yet another directory for the CUP/JLex sources would be
> rather impractical.

Add the file extensions for the CUP/JLex sources to the resources not
to be copied, under Java settings, compiler, build path, "filtered
resources".

--
Jon Skeet - <email***@***.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
 
jastice





PostPosted: 2003-12-17 18:19:00 Top

java-programmer >> annoying eclipse automatisms (resource copying) > Add the file extensions for the CUP/JLex sources to the resources not
> to be copied, under Java settings, compiler, build path, "filtered
> resources".

Oh hey, that was painless. Thanks!