AAP

from Wikipedia, the free encyclopedia

AAP is a program written in Python by Bram Moolenaar to automate the creation of computer programs, comparable to make or Apache Ant . In addition to the classic automation of the creation process, it also enables you to find, download, install, and change, and troubleshoot computer programs. AAP has an integrated connection to CVS .

Comparison with make

AAP came about because Bram Moolenaar saw some classic properties of make as problematic and was therefore looking for a replacement. Make uses the time stamp to determine whether a target to be created is already up-to-date or needs to be updated. However, time stamps are not a reliable means. AAP uses a signature (checksum) instead. In addition, Make is very dependent on the platform used. Even porting a Makefile from one UNIX system to another can present numerous challenges. Porting to a non-UNIX system, e.g. B. Windows , represents an additional challenge. One of the reasons is that the capabilities of the Make tool extend to the creation automation, but not to the functionality required for it, so that external programs (shell commands) have to be used. AAP, like Apache Ant, wants to make calling external programs as superfluous as possible by using as much of its own functionality as possible and thereby increasing portability.

Comparison with Ant

In Bram Moolenar's view, AAP has the advantage over Ant that it is not based on Java and thus only requires a comparatively small installation of AAP, otherwise a Java virtual machine would have to be available. In addition, Ant is only suitable to a limited extent for translating C ++ and C programs. Ant's strengths lie in the translation of Java- based software and the processing of XML , e.g. B. using XSLT .

distribution

AAP is currently rarely used. The predominant build automation tools are still Ant and make.

See also

Web links

Individual evidence

  1. ^ The AAP Project. Accessed October 4, 2018 .
  2. Tools useful for AAP. Retrieved October 4, 2018 .