changed classpath collector such that it only collects the classpath and returns it as a list