Forum

Forum Navigation
You need to log in to create posts and topics.

What is the 'paths.class-factory.default-class-loader.class-repositories' property for?

What is the functionality of the 'paths.class-factory.default-class-loader.class-repositories' property found in the burningwave.properties file?

This property is used by ClassFactory to indicate, in case the sources to be compiled refer to classes that are not present in the runtime class path, in which paths the classloader must find them. Here, for example, we are telling this property will assume the same values of 'paths.class-factory.java-memory-compiler.class-repositories'

class-hunter.path-memory-class-loader.parent=Thread.currentThread().getContextClassLoader()
paths.main-class-paths.extension=//${system.properties:java.home}/lib//children:.*\.jar|.*\.jmod;//${system.properties:java.home}/lib/ext//children:.*\.jar|.*\.jmod;//${system.properties:java.home}/jmods//children:.*\.jar|.*\.jmod;
class-factory.default-class-loader=Thread.currentThread().getContextClassLoader()
paths.class-factory.java-memory-compiler.class-repositories=${main-class-paths};C:/Users/user_name/.m2;
paths.class-factory.default-class-loader.class-repositories=${paths.class-factory.java-memory-compiler.class-repositories};