Posted by
vialav on
Jun 01, 2019; 6:21pm
URL: https://support.nabble.com/Nabble-is-now-open-source-tp7603082p7603662.html
Hi, nnako,
I was actually very happy that you've joined the chorus, not in any way perceived being "tagged" 'a novice'.
Surely, the procedure is relatively easy (for building jars):
Follow the logic of
https://bitbucket.org/frschmidt/luan/src/default/scripts/build-luan.shOf course, I assume javac is installed in your path. I'm using 'classic' Oracle JDK 8 from a PPA under Ubuntu.
So, cd in the repo directory first, and then, for **{cachingfilter,global,jdbcpgbackup,nabble}**:
rm -rf build # even if it doesn't exist
mkdir -p build/{cachingfilter,global,jdbcpgbackup,nabble}/jars
find . -name *.class -delete # you need it *only once* for speed
. classpath.sh # you need it *only once* for speed
javac -classpath $CLASSPATH `find src -name *.java`
find . -name *.java -delete # you need it *only once* for speed
# repeat the following for {cachingfilter,global,jdbcpgbackup,nabble}:
# for example, using 'nabble':
cd src; jar cvf ../build/nabble/jars/nabble.jar `find nabble -type f`; cd ..
cp lib/* build/nabble/jars
# That's It!