• java.lang.RuntimeException: Registry not found for libraryId org.openntf.xsp.bootstrap.library

    By Mark Ambler 5 years ago

    Reviewing the AD208 demo. As a simpe test I'm trying to point the com.example.junit.tests to the bootstrap library, and am getting a Registry not found exception. Where else to look to configure the test for the bootstrap plugin (see below config.properties)?

    The XspLibrary.getLibraryId() value of the library

    whose contents should be tested, defaults to none,

    meaning that only local xsp-configs are loaded.

    target.library=org.openntf.xsp.bootstrap.library

    Package name and component-type prefix, like “com.ibm.xsp” or

    “com.ibm.xsp.extlib”, used in the NamingConventionTest

    NamingConvention.package.prefix=

    NamingConvention.package.prefix=org.openntf.xsp.bootstrap

    Extra libraries whose xsp-config files should be loaded

    when creating a registry

    extra.library.depends.designtime.nonapplication=\

            com.ibm.xsp.core.library,\
            com.ibm.xsp.extsn.library,\
            com.ibm.xsp.designer.library,\
            com.ibm.xsp.domino.library
    

    extra.library.depends.runtime=\

            com.ibm.xsp.core.library,\
            com.ibm.xsp.extsn.library,\
            com.ibm.xsp.designer.library,\
            com.ibm.xsp.domino.library
    
    • By Mark Ambler 5 years ago

      OK… never mind… Configured everything except adding the target library as a dependency.. duh