fix tricky regression noticed by Vyacheslav Tokarev on Google Reader.
[kdelibs.git] / khtml / java / make-jar
blob5e0337fd7d3b67796d4a2538daa2c6fb5459db83
1 #!/bin/sh
2 # very simple shell script to compile the java
3 # sources and generate the jar file
4 set -e # exit on error
5 set -x # be verbose
6 rm -rf java-build-dir/*
7 mkdir -p java-build-dir/images
8 cp images/*.gif images/*.png java-build-dir/images/
9 pwd=`pwd`;
10 javac -d java-build-dir -deprecation -source 1.2 -target 1.2 `find org/kde netscape -name '*.java'` \
11 && cd java-build-dir && jar c0vf $pwd/kjava.jar images `find org/kde netscape -name *.class`