classpath file classloader – now with properties

The ClasspathFileClassLoader now supports system properties. Thus, the command line for any Java application need consist of only:

   java \\
   -Djava.system.class.loader=tierseven.cfcl.ClasspathFileClassLoader \\
   -Dtierseven.cfcl.ClasspathFileClassLoader.properties_file=/path/to/cfcl/properties_file \\
   -classpath /path/to/cfcl/classes \\
   <main_class>

The properties file should contain other properties, including tierseven.cfcl.ClasspathFileClassLoader.file, which will in turn contain the classpath elements.

The source is available from a Mercurial repository:

   hg clone http://bitbucket.org/sinistral/cfcl

0 Responses to “classpath file classloader – now with properties”


  1. No Comments