It seems that Unity have improved the workflow with Eclipse in 4.0.0f7 (same results in 4.0.0bx), now all you have to do is to check Create Eclipse Project from the Build Settings dialogue and export.
That’s great as it removes the ugly process of creating lib projects and all that messy stuff. The export creates one Eclipse project that you can open in Eclipse and run without much ado.
One problem I came across is that after I export to Eclipse and work in Eclipse to add my Java code and what not, things work fine but more often than not, when I quit Unity it tends to wipe out the Eclipse project I exported earlier.
Now I think that’s a bug, Unity have remove all Eclipse integration documents from their site and we are left with a very promising but half working integration workflow.
My question is, did anyone out here come across the same behaviour? And what did you do to mitigate the problem?