Ada Utility Library
Ada Other
Permalink
Failed to load latest commit information.
bundles
debian
distrib
regtests
samples
src
support
testutil
.gitignore
LICENSE.Ahven
LICENSE.txt
Makefile.in
NEWS
NOTICE.txt
README.md
aclocal.m4
config.gpr
config.guess
config.sub
configure
configure.in
install-sh
samples.gpr
tests_proc.gpr
util.gpr.in
util_http.gpr.in
util_http_aws.gpr.in
util_http_curl.gpr.in
util_tests.gpr
util_unit.gpr.in

README.md

Ada Utility Library

Build Status Test Status Download License Commits

This Ada05 library contains various utility packages for building Ada05 applications. This includes:

  • A logging framework close to Java log4j framework,
  • Support for properties
  • A serialization/deserialization framework for XML, JSON, CSV
  • Ada beans framework
  • Encoding/decoding framework (Base16, Base64, SHA, HMAC-SHA)
  • A composing stream framework (raw, files, buffers, pipes, sockets)
  • Several concurrency tools (reference counters, counters, pools, fifos, arrays)
  • Process creation and pipes
  • Support for loading shared libraries (on Windows or Unix)
  • HTTP client library on top of CURL or AWS

Ada Util also provides a small test utility library on top of Ahven or AUnit to help in writing unit tests. To use Ahven testing framework, configure as follows:

./configure --enable-ahven
make

To use AUnit, build with the following commands:

./configure
make

The samples can be built using:

   gnatmake -Psamples

The unit tests are built and executed with:

   make test

Or manually build with:

   gnatmake -Ptests

And unit tests are executed with (216 success, 0 failed):

   bin/util_harness

For the installation, use the following command:

   make install

Documentation

The Ada Util sources as well as a wiki documentation is provided on:

https://github.com/stcarrez/ada-util/wiki