Publishing failed [message #176572] |
Tue, 08 August 2006 15:33 |
Eclipse User |
|
|
|
Originally posted by: anderson.mitre.org
When I click the "Publish to the server" icon, I get the message:
"Pubishing failed. Resource is out of sync with the file system:
/SugarBind/WebContent/admin/vssver.scc".
Of course, vssver.scc is the Visual SourceSafe control file. When I try
to delete it from the Project Explorer view, I get the same message (and I
can't delete it). I was able to delete it using Windows Explorer, but
when I try to Publish it, I get "Publishig failed. Resource /SugarBind
does not exist". When I do the CVS equivalent of an update in order to
re-create the vssver.scc file, and try to publish again, I again get the
"Resource is out of sync" message.
I don't understand the phrase "out of sync with the file system". What
does that mean? How do I fix this?
I have Eclipse 3.2, WST 1.5, Tomcat 5.0, JDK 1.4.2_06. I have it set to
"Run modules directly from the workspace".
(I'm brand spankin' new to Eclipse and WST, so I may have it configured
really wrong!)
|
|
|
Re: Publishing failed [message #176578 is a reply to message #176572] |
Tue, 08 August 2006 16:57 |
Darryl Miles Messages: 123 Registered: July 2009 |
Senior Member |
|
|
Mark Anderson wrote:
> When I click the "Publish to the server" icon, I get the message:
> "Pubishing failed. Resource is out of sync with the file system:
> /SugarBind/WebContent/admin/vssver.scc".
>
> Of course, vssver.scc is the Visual SourceSafe control file. When I try
> to delete it from the Project Explorer view, I get the same message (and
> I can't delete it). I was able to delete it using Windows Explorer, but
> when I try to Publish it, I get "Publishig failed. Resource /SugarBind
> does not exist". When I do the CVS equivalent of an update in order to
> re-create the vssver.scc file, and try to publish again, I again get the
> "Resource is out of sync" message.
> I don't understand the phrase "out of sync with the file system". What
> does that mean? How do I fix this?
I've understood it to mean that the cached representation of the file
based resource (that Eclipse maintains internally) is out of sync with
the copy thats actually on the file system right now.
This is usually the result of something outside of Eclipse modifying the
file (or its timestamp). Which sort of makes sense for VSS.
Right clicking the a containing folder (or the entire project) and
selecting "Refresh" makes eclipse reload as necessary. After issuing a
Refresh are you still having problems deleting it ? and do you really
want to delete it, since its usually there for a purpose.
Ideally Eclipse should have a way of specifying resources to ignore, a
resource filter. This filtering could then be attached and
independantly configured for the Project Explorer, the validation, the
server tools, CVS/team support, etc... All the areas where Eclipse may
not actually understand what the file or hierarchy is within the project
(since its there to serve another purpose as part of the project).
I have whole directories within projects which I really dont want
eclipse to see, since it attempts to do what it thinks is best, if it
sees a Java file it compiles it, if it sees an JSP file it validates it.
This way you could put in an ANT style rule into that ignore filter:
**/vssver.scc
Then nothing will pick it up, since as far as Eclipse is concerned it
does not exist.
Darryl
|
|
|
Re: Publishing failed [message #176580 is a reply to message #176578] |
Tue, 08 August 2006 17:37 |
Eclipse User |
|
|
|
Originally posted by: anderson.mitre.org
That was exactly right. Once I refreshed, I had no problem publishing.
I appreciate you taking the time to explain this to me. Thank you.
Mark
|
|
|
Powered by
FUDForum. Page generated in 0.02768 seconds