Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Java Builder: what is considered a "resource"?
Java Builder: what is considered a "resource"? [message #249062] Fri, 26 October 2007 13:32 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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?
Previous Topic:Positional Attributes of the ASTNodes.
Next Topic:ASTRewrite for new method creation??
Goto Forum:
  


Current Time: Tue May 06 22:48:12 EDT 2025

Powered by FUDForum. Page generated in 0.06013 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top