private static List getBundleURIs()

in taverna-commandline-launcher/src/main/java/org/apache/taverna/commandline/TavernaCommandLine.java [123:138]


	private static List<URI> getBundleURIs() {
		List<URI> bundleURIs = new ArrayList<URI>();
		ApplicationProfile applicationProfile = applicationConfiguration.getApplicationProfile();
		File libDir = new File(applicationConfiguration.getStartupDir().toFile(), "lib");
		if (applicationProfile != null) {
			for (BundleInfo bundle : applicationProfile.getBundle()) {
				File bundleFile = new File(libDir, bundle.getFileName());
				if (bundle.getSymbolicName().equals(COMMANDLINE_BUNDLE_NAME)) {
					commandlineBundle = bundleFile;
				} else {
					bundleURIs.add(bundleFile.toURI());
				}
			}
		}
		return bundleURIs;
	}