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

Skip to content
Snippets Groups Projects
  • zzz's avatar
    2ca0ae75
    * i2psnark build: · 2ca0ae75
    zzz authored
          - Move FetchAndAdd to static inner class
          - Remove duplicate classes from i2psnark.war (120KB);
            fixes sporadic FetchAndAdd IllegalAccessError
          - Fix standalone build to include i2psnark.jar since classes
            aren't in the .war anymore
          - Have standalone jetty use I2PAppContext temp directory
          - Replace launch-i2psnark.jar with launch-i2psnark script,
            since RunStandalone is in i2p.jar
          - Clean up jetty-i2psnark.xml, turn off jetty logging
          - Remove standalone build from the pkg target in the main build.xml
    2ca0ae75
    History
    * i2psnark build:
    zzz authored
          - Move FetchAndAdd to static inner class
          - Remove duplicate classes from i2psnark.war (120KB);
            fixes sporadic FetchAndAdd IllegalAccessError
          - Fix standalone build to include i2psnark.jar since classes
            aren't in the .war anymore
          - Have standalone jetty use I2PAppContext temp directory
          - Replace launch-i2psnark.jar with launch-i2psnark script,
            since RunStandalone is in i2p.jar
          - Clean up jetty-i2psnark.xml, turn off jetty logging
          - Remove standalone build from the pkg target in the main build.xml
launch-i2psnark 506 B
#!/bin/sh
#
# This launches i2psnark and jetty in a separate jvm.
# The file jetty-i2psnark.xml must be present in the current directory.
# i2psnark will be accessed at http://127.0.0.1:8002/
#
I2P="."
java -cp "$I2P/lib/i2psnark.jar:$I2P/lib/i2p.jar:$I2P/lib/mstreaming.jar:$I2P/lib/streaming.jar:$I2P/lib/commons-el.jar:$I2P/lib/commons-logging.jar:$I2P/lib/jasper-compiler.jar:$I2P/lib/jasper-runtime.jar:$I2P/lib/javax.servlet.jar:$I2P/lib/org.mortbay.jetty.jar" org.klomp.snark.web.RunStandalone "$@"