Reputation: 16129
I am building Mac and Win versions of an RCP product using Eclipse 3.5.1. I've installed the RCP delta pack and everything looks great. However, when I go to export, the progress bar gets stuck at "Publishing Metadata" (about 20% through the export process). It never makes any progress after that. Further, cancelling has no effect at all. I have to kill Eclipse to end it.
The workspace .metadata/.log file has no warnings at all.
Any ideas?
Upvotes: 0
Views: 832
Reputation: 16129
The answer to this (for me) seems to be to make a new .product file using the new version of Eclipse. As soon as I did this all was well. Thanks to anyone who gave it some thought.
Per the commenter's great suggestion I went to bugs.eclipse.org and found this bug which is the source of my hang
Upvotes: 1
Reputation: 4260
A p2 repository is exported by default, so watch for that. With p2, it takes 3-4 minutes (I though I was hung) to export my plugin and without it exports in 1-2 seconds. If you don't need p2, turn it off.
Upvotes: 0
Reputation: 11975
I seem to recall having this problem, but only intermittently (and I think on an older version of Eclipse). I never really found the cause, but I suspected a memory leak as it seemed more likely to happen the longer I had Eclipse open, ie. it used to happen after I'd done several successful exports.
My "solution" was to re-start Eclipse, prior to an export. From memory it always solved the problem.
Upvotes: 0