File: make-jar

package info (click to toggle)
kde4libs 4%3A4.4.5-2%2Bsqueeze3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 88,360 kB
  • ctags: 94,980
  • sloc: cpp: 721,043; xml: 146,205; ansic: 8,395; java: 4,060; perl: 3,118; yacc: 2,058; sh: 1,458; python: 1,050; ruby: 715; lex: 248; asm: 166; jsp: 128; haskell: 116; f90: 99; ml: 75; erlang: 54; awk: 38; tcl: 29; lisp: 24; makefile: 23; php: 9
file content (12 lines) | stat: -rwxr-xr-x 472 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# very simple shell script to compile the java
# sources and generate the jar file
set -e           # exit on error
set -x           # be verbose 
rm -rf java-build-dir/*
mkdir -p java-build-dir/images
cp images/*.gif images/*.png java-build-dir/images/
pwd=`pwd`;
javac -d java-build-dir -deprecation -source 1.2 -target 1.2 `find org/kde netscape -name '*.java'` \
 && cd java-build-dir && jar c0vf $pwd/kjava.jar images `find org/kde netscape -name *.class`