function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
tomcollinstomcollins 

Force.com IDE warning that files in .git subdirectory only saved locally, not to server

We're using Git to manage our project, since multiple developers are working with it and we want to have a revision history.

 

We're also using the Force.com IDE for development.

 

I'm now seeing "File only saved locally, not to server" warnings in the Problems tab for each file in the .git subdirectory, which exists at the same level as the src subdirectory.

 

I'm surprised that the IDE is trying to push those files up to the Salesforce server.  Is there any way to configure the IDE to ignore that directory?

 

JBabuJBabu

Hi Tom,

 

If I got understood correctly you are trying to make some changes in the local directory in eclipse and once you are in middle of changes you are getting the warning/error messages.

For this you have to uncheck Buld Automatically from Project tab of eclipse.

 

Thanks,

JBabu.

tomcollinstomcollins

No, I'm saying that Force.com IDE (Eclipse) is trying to send my .git directory up to my Developer Account.  I'd like to configure Force.com to ignore that directory when it performs its synchronization.  It would be nice if it was configured with a fixed list of assets to send (src, salesforce.schema) and ignore all others.  I imagine someone using SVN would run into even more trouble, since there's a .svn directory in each subdirectory.

developerforceuser1234987developerforceuser1234987
I would definitely like to know how to prevent this as well.
tomcollinstomcollins

I've asked this question on the Salesforce Stack Exchange beta as well (no answers yet):  http://salesforce.stackexchange.com/q/963/450