no because, at first loop on classpath, if it does not find it as a directory, it goes to else and addMetaData and second loop is never done.