kite
Avian
A lightweight alternative to Java

Examples

Avian is well suited to building small, self-contained applications. To demonstrate this, we've taken a demo application from the Eclipse SCM repository and built it using Avian, ProGuard, and LZMA.

Platform Example
Linux/x86_64 download (1028K)
Linux/i386 download (958K)
Linux/ARM download (853K)
OS X/x86_64 download (1041K)
OS X/i386 download (1085K)
Windows/x86_64 download (1048K)
Windows/i386 download (1015K)

Building

If you'd like to build this example yourself, try the following:

# Set the platform and swt_zip environment variables according to the
# following table:
#
# platform               swt_zip
# --------               -------
# linux-x86_64           swt-4.3-gtk-linux-x86_64.zip
# linux-i386             swt-4.3-gtk-linux-x86.zip
# linux-arm              swt-4.3-gtk-linux-arm.zip
# darwin-x86_64          swt-4.3-cocoa-macosx-x86_64.zip
# darwin-i386            swt-4.3-cocoa-macosx.zip
# windows-x86_64         swt-4.3-win32-win32-x86_64.zip
# windows-i386           swt-4.3-win32-win32-x86.zip

mkdir work
cd work
curl -Of http://oss.readytalk.com/avian-web/proguard4.11.tar.gz
tar xzf proguard4.11.tar.gz
curl -Of http://oss.readytalk.com/avian-web/lzma920.tar.bz2
(mkdir -p lzma-920 && cd lzma-920 && tar xjf ../lzma920.tar.bz2)
curl -Of http://oss.readytalk.com/avian-web/${swt_zip}
mkdir -p swt/${platform}
unzip -d swt/${platform} ${swt_zip}
curl -Of http://oss.readytalk.com/avian-web/avian-1.0.2.tar.bz2
tar xjf avian-1.0.2.tar.bz2
curl -Of http://oss.readytalk.com/avian-web/avian-swt-examples-1.0.2.tar.bz2
tar xjf avian-swt-examples-1.0.2.tar.bz2
# needed only for 32-bit Windows builds:
git clone https://github.com/ReadyTalk/win32.git
# needed only for 64-bit Windows builds:
git clone https://github.com/ReadyTalk/win64.git
cd avian-swt-examples
make lzma=$(pwd)/../lzma-920 full-platform=${platform} example