| Java Builder: what is considered a "resource"? [message #249062] |
Fri, 26 October 2007 13:32  |
Jim Garrison Messages: 57 Registered: July 2009 |
Member |
|
|
How does the Java Builder know what non-java files to copy
from the source to the build directory?
Subclipse has a bug that is causing the java builder to
"forget" that the .svn folder is not supposed to be treated
as a resource, so it starts copying the .svn directory contents
to the output folder.
Is there a setting (or property file) I can tweak to reset
this behavior when Subclipse screws things up?
|
|
|
| Re: Java Builder: what is considered a "resource"? [message #249066 is a reply to message #249062] |
Fri, 26 October 2007 13:38   |
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Hi,
Under Window->Preferences go to Java->Compiler->Builder page.
Make sure that "Enable use of exclusion patterns in source folders" is
checked and then go to the bottom of the page and enter the exclusion
patterns that you want.
--
Thanks,
Rich Kulp
|
|
|
| Re: Java Builder: what is considered a "resource"? [message #249158 is a reply to message #249066] |
Wed, 31 October 2007 16:56  |
Jim Garrison Messages: 57 Registered: July 2009 |
Member |
|
|
Rich Kulp wrote:
> Hi,
>
> Under Window->Preferences go to Java->Compiler->Builder page.
> Make sure that "Enable use of exclusion patterns in source folders" is
> checked and then go to the bottom of the page and enter the exclusion
> patterns that you want.
>
>
I did that, and it worked for a couple of days or so. After that,
Eclipse starts copying .svn into the output folder anyway. Note that I
tend to leave Eclipse running for several days before restarting;
however, after it starts misbehaving, stopping and restarting the IDE
has no effect. It continues to misbehave. So far the only fix I've
found is to create a new workspace; obviously some piece of metadata
is getting corrupted.
Anybody have any suggestions on how to debug this further?
|
|
|
Powered by
FUDForum. Page generated in 0.01575 seconds