JBIDE-14852 test failures in Seam (JavaEE)

Implemented wait in ClassPath.build() since different jobs may call it.