Community
Participate
Working Groups
The above method seems to be the only way to propagate a change in the resolution of container entries. However, it assumes that there is only *one* container entry per project. I want to add several containers to a project, so i would have to call this method several times, which can be very intensive (recompiling of the project etc) Is there any other way to convince the javacore or a javaproject that the contents of a container entry has changed?
No. It can change one container setting for multiple projects at once, but only one container. What you would need is a new API allowing you to perform multiple changes at once. Note that down the road, we want to provide a way to perform a bunch of operation as one (batched operation). This might be good enough to achieve what you need.
Frank - now that you have the batching support (JavaCore.run (IWorkspaceRunnable)), is it ok to close ?
Closing, please reopen if you have more insights.