https://github.com/awojna/Rseslib
Revision 8bf3c8c42c25d86de0a6da418d4d27de3b02c9d0 authored by awojna on 26 October 2018, 16:10:03 UTC, committed by awojna on 26 October 2018, 16:10:03 UTC
1 parent bcb98c2
Tip revision: 8bf3c8c42c25d86de0a6da418d4d27de3b02c9d0 authored by awojna on 26 October 2018, 16:10:03 UTC
Displayed attr values of classified object in KNN visualization fixed
Displayed attr values of classified object in KNN visualization fixed
Tip revision: 8bf3c8c
make-pkg.sh
#!/bin/bash
########################################################################
#
# Script preparing sources, release package and Weka package of Rseslib
#
# 1. Update Rseslib version in src/main/java/rseslib/qmak/UI/QAboutDialog.java
# 2. Update Rseslib version in src/main/java/rseslib/simplegrid/common/Communication.java
# 3. Update Rseslib version in pom.xml
# 4. Update Rseslib version, date and URL in Description.props
# 5. Run maven with the goal 'package'
# 6. Run ./make-pkg.sh <new rseslib version>
#
########################################################################
version=$1
rm -rf target/rseslib-$version
rm -rf target/weka
rm -rf target/rseslib-$version-src.zip
rm -rf target/rseslib-$version.zip
rm -rf target/Rseslib$version.zip
# make sources
git archive --format zip --prefix=rseslib-$version-src/ --output target/rseslib-$version-src.zip master
# prepare release package
mkdir target/rseslib-$version
cp $HOME/.m2/repository/nz/ac/waikato/cms/weka/weka-stable/3.8.0/weka-stable-3.8.0.jar target/rseslib-$version/weka.jar
cp $HOME/.m2/repository/jfree/jcommon/0.9.6/jcommon-0.9.6.jar target/rseslib-$version/
cp $HOME/.m2/repository/jfree/jfreechart/0.9.21/jfreechart-0.9.21.jar target/rseslib-$version/
cp qmak.config target/rseslib-$version/
cp scripts/* target/rseslib-$version/
cp -R data target/rseslib-$version/
# prepare weka package
mkdir target/weka
cp Description.props target/weka/
# make release package
cd target
cp rseslib-$version.jar rseslib-$version/rseslib.jar
zip -r rseslib-$version.zip rseslib-$version
# make weka package
cp rseslib-$version.jar weka/rseslib.jar
cd weka
zip -r ../Rseslib$version.zip *
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...