|
Project Information
Featured
|
Ada Util is a collection of utility packages for Ada 2005. Several packages are inspired from Java packages and libraries (Java properties, log4j, ...) - Measures performs performance measurement of Ada code
- ConcurrentCounter provides an efficient concurrent counter data type
- Log implements a simple logging facility close to Log4j
- Properties allows to manage name/value properties such as Java property and Java bundle files
- StringTransforms defines various string transformations functions and procedures
- Streams implements a Java-like stream composing framework (raw, files, buffered, pipes)
- Pipes and process launch are supported on Unix and Windows platforms.
- Serialization provides a framework to serialize a CSV, JSON or an XML content directly into some Ada records.
- Encoders defines a generic framework to encode and decode streams in various encoding formats (BASE16, BASE64, SHA1, HMAC-SHA1).
- Ada Beans framework provides a set of mechanisms inspired from the Java Beans.
Ada Util also provides a small unit test utility library that helps in writing Ada AUnit tests. Ada Util is used by: BuildBuild with the following commands: ./configure
make The samples can be built using: gnatmake -Psamples The unit tests are built using (you will need Aunit): gnatmake -Ptests And unit tests are executed with: bin/util_harness InstallationThe installation on Ubuntu or Debian-based system is possible by using the install target: sudo make install Notes- On NetBSD 5.1, you have to use gmake to build the package.
- The process creation has been tested on Linux, NetBSD and Windows. Porting to Mac OS/X has not yet been tested but it should be quite simple.
- If AUnit is not available, you can configure Ada Util to use the integrated Ahven package. For this, use the following configure command:
./configure --enable-ahven
|