Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsPublishing failed/Resource is out of sync
https://www.eclipse.org/forums/index.php/mv/msg/74362/232390/#msg_232390
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!]]>Kevin A. Roll2009-06-11T15:12:44-00:00Re: Publishing failed/Resource is out of sync
https://www.eclipse.org/forums/index.php/mv/msg/74362/232417/#msg_232417
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.]]>2009-06-12T07:24:01-00:00Re: Publishing failed/Resource is out of sync
https://www.eclipse.org/forums/index.php/mv/msg/74362/232424/#msg_232424
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.]]>Kevin A. Roll2009-06-12T13:01:30-00:00Re: Publishing failed/Resource is out of sync
https://www.eclipse.org/forums/index.php/mv/msg/74362/232432/#msg_232432
error. There must be some sort of race condition between the wizard and
the thread that verifies that the resources are in sync.]]>Kevin A. Roll2009-06-12T13:20:36-00:00Re: Publishing failed/Resource is out of sync
https://www.eclipse.org/forums/index.php/mv/msg/74362/232440/#msg_232440
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.]]>2009-06-12T13:26:11-00:00Re: Publishing failed/Resource is out of sync
https://www.eclipse.org/forums/index.php/mv/msg/74362/232448/#msg_232448
script to manage Axis. Sounds like a lot of trouble if the default
functionality is all that's needed.
Thanks for your help.]]>Kevin A. Roll2009-06-12T14:40:41-00:00Re: Publishing failed/Resource is out of sync
https://www.eclipse.org/forums/index.php/mv/msg/74362/232557/#msg_232557
> 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.