• 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
  • -preprocessmatchers FILE-SPEC

    	String							DEFAULT_PREPROCESSS_MATCHERS				= "!*.(jpg|jpeg|jif|jfif|jp2|jpx|j2k|j2c|fpx|png|gif|swf|doc|pdf|tiff|tif|raw|bmp|ppm|pgm|pbm|pnm|pfm|webp|zip|jar|gz|tar|tgz|exe|com|bin|mp[0-9]|mpeg|mov|):i, *";
    
    
    private Instructions getPreProcessMatcher(Map<String,String> extra) {
    	if (defaultPreProcessMatcher == null) {
    		defaultPreProcessMatcher = new Instructions(getProperty(PREPROCESSMATCHERS,
    				Constants.DEFAULT_PREPROCESSS_MATCHERS));
    	}
    	if (extra == null)
    		return defaultPreProcessMatcher;
    
    	String additionalMatchers = extra.get(PREPROCESSMATCHERS);
    	if (additionalMatchers == null)
    		return defaultPreProcessMatcher;
    
    	Instructions specialMatcher = new Instructions(additionalMatchers);
    	specialMatcher.putAll(defaultPreProcessMatcher);
    	return specialMatcher;
    }
    
    • Contact
    • Developers
    • More