From: erickson Date: Fri, 18 May 2007 15:58:38 +0000 (+0000) Subject: added a make target to sample makefile for fetching jar/source dependencies to ease... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1551aca30990ae31851e715399d344ea97053a07;p=opensrf%2Fbjwebb.git added a make target to sample makefile for fetching jar/source dependencies to ease deployment git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@897 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/java/Makefile b/src/java/Makefile index 9a61dce..594be98 100644 --- a/src/java/Makefile +++ b/src/java/Makefile @@ -27,6 +27,14 @@ check: run: @$(JAVA) -cp $(JAVA_LIBS) $(JAVA_EXE) $(JAVA_ARGS) +deps: + mkdir -p ext + wget 'http://woodstox.codehaus.org/stax-api-1.0.1.jar' -O ext/stax-api-1.0.1.jar + wget 'http://woodstox.codehaus.org/3.2.1/wstx-lgpl-3.2.1.jar' -O ext/wstx-lgpl-3.2.1.jar + wget 'http://img.whalin.com/memcached/jdk5/standard/java_memcached-release_1.5.1.jar' -O ext/java_memcached-release_1.5.1.jar + mkdir -p .tmp && cd .tmp && wget 'http://www.json.org/java/json.zip' && unzip json.zip + $(JAVAC) -d $(JAVA_LIBDIR) .tmp/org/json/*.java + docs: find . -name *.java > files; javadoc -classpath $(JAVA_LIBS) -d doc @files;