K.4. JAR-like Archives

Abuild knows how to create JAR files, WAR files, and EAR files. The names of the archives that abuild creates do not have to end with the suffix corresponding to the type. In particular, abuild is able to create JAR files that are not called *.jar as is necessary in some instances. When it does, it will also create a copy of that file whose name does end in .jar for compilation purposes as some versions of javac ignore classpath elements that are not either directories or files whose names end with .zip or .jar, a behavior that is consistent with the documentation. [68]



[68] This behavior was based on a misunderstanding of how these archives might be used. This behavior is not present in the new Groovy-based framework.