• 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
  • osfile ';' DIR ';' NAME

    public final static String	_fileHelp	= "${file;<base>;<paths>...}, create correct OS dependent path";
    
    public String _osfile(String args[]) {
    	verifyCommand(args, _fileHelp, null, 3, 3);
    	File base = new File(args[1]);
    	File f = Processor.getFile(base, args[2]);
    	return f.getAbsolutePath();
    }
    
    • Contact
    • Developers
    • More