forked from I2P_Developers/i2p.i2p
More javadocs on getLibDir()
This commit is contained in:
@ -228,7 +228,8 @@ public class I2PAppContext {
|
||||
*
|
||||
* Name Property Method Files
|
||||
* ----- -------- ----- -----
|
||||
* Base i2p.dir.base getBaseDir() lib/, webapps/, docs/, geoip/, licenses/, ...
|
||||
* Base i2p.dir.base getBaseDir() webapps/, docs/, geoip/, licenses/, ...
|
||||
* Lib i2p.dir.lib getLibDir() *.jar, libwrapper*.so
|
||||
* Temp i2p.dir.temp getTempDir() Temporary files
|
||||
* Config i2p.dir.config getConfigDir() *.config, hosts.txt, addressbook/, ...
|
||||
*
|
||||
@ -263,7 +264,7 @@ public class I2PAppContext {
|
||||
* However this is provided for the router's use, and for backward compatibility should an app
|
||||
* need to look there as well.
|
||||
*
|
||||
* All dirs except the base are created if they don't exist, but the creation will fail silently.
|
||||
* All dirs except the base and lib are created if they don't exist, but the creation will fail silently.
|
||||
* @since 0.7.6
|
||||
*/
|
||||
|
||||
@ -331,6 +332,7 @@ public class I2PAppContext {
|
||||
// In portable we like debug information :)
|
||||
//(new Exception("Initialized by")).printStackTrace();
|
||||
System.err.println("Base directory: " + _baseDir.getAbsolutePath());
|
||||
System.err.println("Lib directory: " + _libDir.getAbsolutePath());
|
||||
System.err.println("Config directory: " + _configDir.getAbsolutePath());
|
||||
System.err.println("Router directory: " + _routerDir.getAbsolutePath());
|
||||
System.err.println("App directory: " + _appDir.getAbsolutePath());
|
||||
@ -448,6 +450,9 @@ public class I2PAppContext {
|
||||
|
||||
/**
|
||||
* This is the library dir, which is usually $I2P/lib.
|
||||
* It contains all the jars (i.e. the classpath).
|
||||
* Most applications will not need this, and must treat this directory as read-only.
|
||||
*
|
||||
* @return dir constant for the life of the context
|
||||
* @since 0.9.52
|
||||
*/
|
||||
|
Reference in New Issue
Block a user