• Intro Headers Instructions Macros Commands
Fork me on GitHub
    • Introduction
    • How to install bnd
    • Guided Tour
    • Guided Tour Workspace & Projects
    • Concepts
    • Best practices
    • Build
    • Project Setup
    • Generating JARs
    • Versioning
    • Baselining
    • Service Components
    • Metatype
    • Contracts
    • Bundle Annotations
    • Accessor Properties
    • SPI Annotations
    • Resolving Dependencies
    • Launching
    • Startlevels
    • Testing
    • Testing with Launchpad
    • Packaging Applications
    • JPMS Libraries
    • Wrapping Libraries to OSGi Bundles
    • Generating Documentation
    • Commands
    • For Developers
    • Tips for Windows users
    • Tools bound to bnd
    • Reference
    • Headers
    • Instruction Reference
    • Instruction Index
    • Macro Reference
    • Macro Index
    • Plugins
    • External Plugins
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
  • -remoteworkspace (true|false)
    Project

    Launchpad is a library that enables testing in local JUnit settings. Launchpad needs access to the enclosing bnd workspace. However, this workspace runs in another process then the test code. Launchpad will therefore attempt to a workspace remote server.

    For security reasons, this remote workspace server is not enabled by default. It requires:

    -remoteworkspace        true
    

    Remote Workspace servers can be nested. That is, you can run Eclipse and then Gradle on the same workspace. Launchpad will use the latest initialized remote workspace.

    Details

    If you enable the remote workspace, its socket’s port will be registered in the /cnf/cache/remotews directory.

    The remote workspace server can only be accessed from the local machine on 127.0.0.1 to prevent outside attacks.

    • GitHub