Changeset cc533b0


Ignore:
Timestamp:
Jul 26, 2009 2:55:01 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
256bb771
Parents:
3c76fda8
Message:
  • Add wrapper.config and i2prouter comments for 'portable'
  • Recognize same base and config dir in WorkingDir?
  • Reformat XInfoPanel in installer for clarity
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/WorkingDir.java

    r3c76fda8 rcc533b0  
    9696        }
    9797
     98        // apparently configured for "portable" ?
     99        try {
     100            if (oldDirf.getCanonicalPath().equals(dirf.getCanonicalPath()))
     101                return cwd;
     102        } catch (IOException ioe) {}
     103
    98104        // where we want to go
    99105        String rv = dirf.getAbsolutePath();
  • history.txt

    r3c76fda8 rcc533b0  
     12009-07-26 zzz
     2    * Add wrapper.config and i2prouter comments for 'portable'
     3    * Recognize same base and config dir in WorkingDir
     4    * Reformat XInfoPanel in installer for clarity
     5
    162009-07-25 dr|z3d
    27    * Enhance the layout of /graphs.jsp
  • installer/resources/i2prouter

    r3c76fda8 rcc533b0  
    1919I2P="%INSTALL_PATH"
    2020I2PTEMP="%SYSTEM_java_io_tmpdir"
     21# PORTABLE installation:
     22# Use the following instead.
     23#I2PTEMP="%INSTALL_PATH"
    2124
    2225# Application
  • installer/resources/start-i2p.txt

    r3c76fda8 rcc533b0  
    1 To start I2P, run "$INSTALL_PATH/i2prouter start"
     1To start I2P, run:
     2
     3$INSTALL_PATH/i2prouter start
  • installer/resources/wrapper.config

    r3c76fda8 rcc533b0  
    1111# with the runplain.sh script on Linux. Use the 'restartable'
    1212# icon on Windows or the i2prouter script on Linux to run the wrapper.
     13#
     14# NOTE - Directory organization:
     15# The standard I2P Installation will set up a "split" directory structure
     16# with code in the install directory, data and configuration files in the
     17# user's home directory, and temporary files in the system temporary directory.
     18# To set up a single-directory "portable" installation suitable for
     19# a USB stick, make several changes specified below (search for PORTABLE).
    1320#
    1421# NOTE - The izpack installer performs variable subsitiution on this
     
    4855
    4956# Java Additional Parameters
     57# Numbers must be consecutive (except for stripquotes)
    5058wrapper.java.additional.1=-DloggerFilenameOverride=logs/log-router-@.txt
    5159wrapper.java.additional.2=-Dorg.mortbay.http.Version.paranoid=true
     
    5462wrapper.java.additional.5=-Di2p.dir.base="$INSTALL_PATH"
    5563wrapper.java.additional.5.stripquotes=TRUE
     64# PORTABLE installation:
     65# uncomment the following
     66#wrapper.java.additional.6=-Di2p.dir.pid="$INSTALL_PATH"
     67#wrapper.java.additional.6.stripquotes=TRUE
     68#wrapper.java.additional.7=-Di2p.dir.temp="$INSTALL_PATH"
     69#wrapper.java.additional.7.stripquotes=TRUE
     70#wrapper.java.additional.8=-Di2p.dir.config="$INSTALL_PATH"
     71#wrapper.java.additional.8.stripquotes=TRUE
     72#
    5673# Uncomment this for better performance.
    5774# If it doesn't work, server mode is not available in your JVM.
     
    96113# wrapper.java.additional.X=-Dwrapper.logfile=/path/to/wrapper.log
    97114wrapper.logfile=$SYSTEM_java_io_tmpdir/wrapper.log
     115# PORTABLE installation:
     116# Use the following instead. I2P will find the logfile here,
     117# no need for a wrapper.java.additional line too.
     118#wrapper.logfile=$INSTALL_PATH/wrapper.log
    98119
    99120# Format of output for the log file.  (See docs for formats)
     
    152173# to point to the new wrapper.config location.
    153174wrapper.java.pidfile=$SYSTEM_java_io_tmpdir/routerjvm.pid
     175# PORTABLE installation:
     176# Use the following instead.
     177#wrapper.java.pidfile=$INSTALL_PATH/routerjvm.pid
    154178# pid file for the service monitoring the JVM
    155179#
     
    163187# See comments above for wrapper.java.pidfile
    164188wrapper.pidfile=$SYSTEM_java_io_tmpdir/i2p.pid
     189# PORTABLE installation:
     190# Use the following instead.
     191#wrapper.pidfile=$INSTALL_PATH/i2p.pid
    165192
    166193#********************************************************************
  • router/java/src/net/i2p/router/RouterVersion.java

    r3c76fda8 rcc533b0  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 26;
     21    public final static long BUILD = 27;
    2222    /** for example "-test" */
    2323    public final static String EXTRA = "-rc";
Note: See TracChangeset for help on using the changeset viewer.