• Intro Headers Instructions Macros
  • Fork me on GitHub
    • Release
    • Introduction
    • How to install bnd
    • Guided Tour
    • Guided Tour Workspace & Projects
    • Concepts
    • Best practices
    • Build
    • Generating JARs
    • Versioning
    • Baselining
    • Service Components
    • Metatype
    • Contracts
    • Manifest Annotations
    • Resolving Dependencies
    • Launching
    • Testing
    • Packaging Applications
    • Wrapping Libraries to OSGi Bundles
    • From the command line
    • For Developers
    • Plugins
    • Tools bound to bnd
    • File Format
    • Header Reference
    • Instruction
    • Instruction Index
    • Macro Reference
    • Command Reference
    • Plugins Reference
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
    Supported by OSGi enRoute
  • -runpath REPO-ENTRY ( ',' REPO-ENTRY )

    /**
     * Method to verify that the paths are correct, ie no missing dependencies
     *
     * @param test
     *            for test cases, also adds -testpath
     * @throws Exception
     */
    public void verifyDependencies(boolean test) throws Exception {
    	verifyDependencies(RUNBUNDLES, getRunbundles());
    	verifyDependencies(RUNPATH, getRunpath());
    	if (test)
    		verifyDependencies(TESTPATH, getTestpath());
    	verifyDependencies(BUILDPATH, getBuildpath());
    }
    
    
    					doPath(buildpath, dependencies, parseBuildpath(), bootclasspath, false, BUILDPATH);
    				doPath(testpath, dependencies, parseTestpath(), bootclasspath, false, TESTPATH);
    				if (!delayRunDependencies) {
    					doPath(runfw, dependencies, parseRunFw(), null, false, RUNFW);
    					doPath(runpath, dependencies, parseRunpath(), null, false, RUNPATH);
    					doPath(runbundles, dependencies, parseRunbundles(), null, true, RUNBUNDLES);
    				}
    
    
    
    	private List<Container> parseRunpath() throws Exception {
    	return getBundles(Strategy.HIGHEST, mergeProperties(Constants.RUNPATH), Constants.RUNPATH);
    }
    
    	public Collection<Container> getRunpath() throws Exception {
    	prepare();
    	justInTime(runpath, parseRunpath(), false, RUNPATH);
    	return runpath;
    }
    
    • Contact
    • Developers
    • More