I may have a corruption problem in Eclipse run configurations. This happened after I dragged (or copy-pasted, I don't remember) a Java class called MyClass
from project1
to project2
. Then I deleted project1
. When I create a new run configuration the name given is MyClass (1)
. In other words, it thinks there is already a run configuration called MyClass
, so the new one will have to have a number appended. (Edit: There is no existing MyClass
run configuration so there is no apparent reason for the appended number. In fact, I deleted all of my run configurations.)
How can I easily clean up meta-data and be able to build again with minimal manual effort?
If there is a meta-data deletion recommendation that gets rid of more than just run configurations, that probably would still be a good solution, if it does not create a lot of manual work to get set up to work again.
Edit: The problem might be caused by the fact that there is a launch configuration named MyClass - project1
visible in the export dialogue. project1
no longer exists, but this remnant lives on, tying up the class name MyClass
. I am not sure if there is a difference between a run configuration and a launch configuration.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…