From a85cf2c2af556301fbc0d9cc375cd4fd986139aa Mon Sep 17 00:00:00 2001 From: aum Date: Mon, 12 Apr 2004 08:41:43 +0000 Subject: [PATCH] Makefile and build.bat removed since we've switched to ant README moved up to parent --- apps/sam/jython/build/Makefile | 35 -------------------- apps/sam/jython/build/README | 57 --------------------------------- apps/sam/jython/build/build.bat | 16 --------- 3 files changed, 108 deletions(-) delete mode 100644 apps/sam/jython/build/Makefile delete mode 100644 apps/sam/jython/build/README delete mode 100644 apps/sam/jython/build/build.bat diff --git a/apps/sam/jython/build/Makefile b/apps/sam/jython/build/Makefile deleted file mode 100644 index 75e897ba9..000000000 --- a/apps/sam/jython/build/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# This makefile constructs the SAM Server i2psam.jar - -# by default, it gets linked into a standalone .jar file, together -# with the I2P core classes, and the jython classes - -# set this to wherever your jython.jar lives -JYTHONJAR=/usr/share/jython/jython.jar - -# sources -JYTHON_SOURCES=../src/i2psam.py - -# jython compilation command -JYTHON_COMPILE=jython - -# change this to wherever you put your i2p jars -CLASSPATH=../../../../build/i2p.jar:../../../../build/mstreaming.jar:$(JYTHONJAR) - -# comment this out to prevent the kitchen sink (i2p code, jython code etc) -# from being linked into jar. Uncomment it to create a standalone .jar -JARLINKOPTIONS=--all - -# uncomment this to enable '--addpackages' option, but this doesn't -# seem to work, so we don't use it. -#EXTRAPACKAGES=--addpackages net.i2p,net.i2p.client.mstreaming - -jar: i2psam.jar - -i2psam.jar: $(JYTHON_SOURCES) Makefile - CLASSPATH=$(CLASSPATH) \ - $(JYTHON_COMPILE) \ - --jar i2psam.jar \ - $(JARLINKOPTIONS) \ - $(EXTRAPACKAGES) \ - $(JYTHON_SOURCES) - diff --git a/apps/sam/jython/build/README b/apps/sam/jython/build/README deleted file mode 100644 index e72bc479e..000000000 --- a/apps/sam/jython/build/README +++ /dev/null @@ -1,57 +0,0 @@ ------------------------------------ -Instructions for building i2psam.jar ------------------------------------- - -1) Requirements - -You will need: - - - a decent java sdk, eg Sun J2SDK 1.4.2 or later - - jython - www.jython.org - -Note that you don't need python to build the SAM server - -IMPORTANT - when installing jython, and run java on jython_n.n.class, -make sure you run the java.exe that's in your SDK, not the one in your -JRE. - ---------------------------------------------------------- - -2) Preparation - -Edit the Makefile, and set JYTHONJAR to where your jython.jar lives - -Don't worry about this if your're on windows - ----------------------------------------------------------- - -3) Building - -To build i2psam.jar on regular *nix OSs, simply type 'make'. - -To build i2psam.jar on Windows, type 'build.bat' - ----------------------------------------------------------- - -4) Installing - -Copy i2psam.jar to wherever the jar files live on your i2p installation, -usually /lib - -Find jython.jar, and copy it there too - ----------------------------------------------------------- - -5) Running - -(assuming that you're putting the start script into your main i2p -runtime directory, where the I2P jars live in a 'lib' subdirectory) - -You will need to launch i2psam.jar with a command like: - - java -cp lib/jython.jar:lib/i2p.jar:lib/mstreaming.jar:lib/i2psam.jar i2psam - -or on windows, - - java -cp lib\jython.jar;lib\i2p.jar;lib\mstreaming.jar;lib\i2psam.jar i2psam - diff --git a/apps/sam/jython/build/build.bat b/apps/sam/jython/build/build.bat deleted file mode 100644 index 8df7db721..000000000 --- a/apps/sam/jython/build/build.bat +++ /dev/null @@ -1,16 +0,0 @@ -@echo off -rem This makefile constructs the SAM Server i2psam.jar -rem Once you've built i2psam.jar, you'll need to copy it and -rem jython.jar into the main jars directory - -@echo Ensuring i2p jars are built -cd ..\..\..\.. -ant build -cd apps\sam\jython\build - -@echo Building i2psam.jar -@echo on -set CLASSPATH=..\..\..\..\build\i2p.jar;..\..\..\..\build\mstreaming.jar - -@echo Building i2psam.jar -jythonc --jar i2psam.jar ..\src\i2psam.py