|
Re: Publishing failed/Resource is out of sync [message #232417 is a reply to message #232390] |
Fri, 12 June 2009 07:24 |
Eclipse User |
|
|
|
Originally posted by: mauro.molinari.cardinis.com
Kevin A. Roll ha scritto:
> I'm having a recurring problem when generating a web service. The
> process fails with the error message
>
> Publishing failed with multiple errors
> Resource is out of sync with the file system:
> '/com.verani.web.backPage/web/WEB-INF/lib/axis.jar'.
> Resource is out of sync with the file system:
> '/com.verani.web.backPage/web/WEB-INF/lib/jaxrpc.jar'.
>
> I understand this to mean that Eclipse's cache is out of sync with those
> resources, which normally calls for a refresh. However, Eclipse itself
> is the one that copied those jars over as part of the web service
> creation, and there's no way to force a refresh in the middle of the
> process. Also, I don't particularly want those jars copied anyway as I
> can add them to my resources project. Can somebody point me in the right
> direction? Thanks!
I don't know if I understood your problem correctly, however try to
press F5 (or Right-click=>Refresh) on
/com.verani.web.backPage/web/WEB-INF/lib/ to issue a refresh from the
file system.
Mauro.
|
|
|
|
|
Re: Publishing failed/Resource is out of sync [message #232440 is a reply to message #232424] |
Fri, 12 June 2009 13:26 |
Eclipse User |
|
|
|
Originally posted by: mauro.molinari.cardinis.com
Kevin A. Roll ha scritto:
> That's exactly the problem - there is no way to issue a refresh. When I
> press 'Finish' on the web service dialog, Eclipse chugs away,
> automatically generating the files for the web service. As part of this
> process it wants to copy some jar files into WEB-INF\lib, and it then
> immediately complains that the resources are out of sync while the
> wizard is still running. There's no way I can tell it to refresh while
> the wizard is still going, and I don't even want those jars copied in
> the first place because I can set up that dependency myself.
Now I understand it better. Unfortunately, I can't be of much help,
because, when I was working with web services, I preferred the use of a
fine tuned Ant script to perform the operations I needed.
Mauro.
|
|
|
|
Re: Publishing failed/Resource is out of sync [message #232557 is a reply to message #232424] |
Mon, 15 June 2009 20:22 |
|
Kevin A. Roll wrote:
> That's exactly the problem - there is no way to issue a refresh. When I
> press 'Finish' on the web service dialog, Eclipse chugs away,
> automatically generating the files for the web service. As part of this
> process it wants to copy some jar files into WEB-INF\lib, and it then
> immediately complains that the resources are out of sync while the
> wizard is still running. There's no way I can tell it to refresh while
> the wizard is still going, and I don't even want those jars copied in
> the first place because I can set up that dependency myself.
That definitely sounds like a bug. It should be using the workspace
APIs to write those files whenever possible.
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.03396 seconds