<$server.metadata> was found to contain no source files matching the extensions XML

Symptom 1:
Error when build generated is called on EJBServer: Error # The source location <$server.metadata> was found to contain no source files matching the extensions XML
Cause 1:
The property server.metadata in evidence.properties does not point to the location of server XML files.
Solution 1:
Set server.metadata=<correct location of server metadata>;
Symptom 2:
Error when build client is called on Webclient: Error # The source location <$server.metadata> was found to contain no source files matching the extensions XML
Cause 2:
The property product.name in evidence.properties does not match that in the codebase.
Solution 2:
Set product.name=correct Product Name as it appears under EJBServer/components/ <ProductName>