I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit 427fc1c1 authored by zzz's avatar zzz
Browse files

More javadocs on getLibDir()

parent 33f1b3be
No related branches found
No related tags found
No related merge requests found
...@@ -228,7 +228,8 @@ public class I2PAppContext { ...@@ -228,7 +228,8 @@ public class I2PAppContext {
* *
* Name Property Method Files * 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 * Temp i2p.dir.temp getTempDir() Temporary files
* Config i2p.dir.config getConfigDir() *.config, hosts.txt, addressbook/, ... * Config i2p.dir.config getConfigDir() *.config, hosts.txt, addressbook/, ...
* *
...@@ -263,7 +264,7 @@ public class I2PAppContext { ...@@ -263,7 +264,7 @@ public class I2PAppContext {
* However this is provided for the router's use, and for backward compatibility should an app * However this is provided for the router's use, and for backward compatibility should an app
* need to look there as well. * 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 * @since 0.7.6
*/ */
...@@ -331,6 +332,7 @@ public class I2PAppContext { ...@@ -331,6 +332,7 @@ public class I2PAppContext {
// In portable we like debug information :) // In portable we like debug information :)
//(new Exception("Initialized by")).printStackTrace(); //(new Exception("Initialized by")).printStackTrace();
System.err.println("Base directory: " + _baseDir.getAbsolutePath()); System.err.println("Base directory: " + _baseDir.getAbsolutePath());
System.err.println("Lib directory: " + _libDir.getAbsolutePath());
System.err.println("Config directory: " + _configDir.getAbsolutePath()); System.err.println("Config directory: " + _configDir.getAbsolutePath());
System.err.println("Router directory: " + _routerDir.getAbsolutePath()); System.err.println("Router directory: " + _routerDir.getAbsolutePath());
System.err.println("App directory: " + _appDir.getAbsolutePath()); System.err.println("App directory: " + _appDir.getAbsolutePath());
...@@ -448,6 +450,9 @@ public class I2PAppContext { ...@@ -448,6 +450,9 @@ public class I2PAppContext {
/** /**
* This is the library dir, which is usually $I2P/lib. * 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 * @return dir constant for the life of the context
* @since 0.9.52 * @since 0.9.52
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment