ALSB Console project out of sync with file system

Short reminder for myself

During development of my alsb projects i clone, rename, move and do all sorts of things to eventually end of with one correct list of projects with good naming convention.
Once in a while when i try to rename for example proxy services back to some old name i already used i get errors about the new name already exists, although i’m pretty sure it’s not in the console anymore.

Short fix

<BEA_HOME>\user_projects\domains\<YOUR_DOMAIN>\sbgen\

Find the ear file with contains your (old) resource with the identifier you tried to use (i couldn’t find any unix command which would let me list the files in the ear, and after that let me search a string on them).
If you found the correct ear (view application.xml in the META-INF dir, the jav:display-name-elements contains your identifier).

Stop wls
Remove ear-file
Start wls and try to rename again, it should be fixed.

BEA WorkSpace Studio, import sbconfig.jar

For alsb development we both use the console and the workspace studio of bea.
So once in a while i need to do some changes in the console and import the sbconfig.jar back into the ide.
In the current workspace i delete all projects and ‘try’ to import the sbconfig.jar.

The next error pops up :

Import failed: Validation failed with diagnostic messages. Diagnostics for WSDL <projectname>/WSDLs/<my wsdl>
ERROR: <0> Validation of WSDL <projectname>/WSDLs/<my wsdl> failed:

The simple fix.
Drop the workspace, create a new one and import the jar the in clean workspace. Guess it leaves some artifacts in the workspace which abort the import process.