Searching for files in an Ant script

Steve Neal Development, Tool support Leave a Comment

This is a simple technique for determining whether or not files matching a given pattern exist within your project. Unlike the available task, this does not require that you need to know the exact name of the file when creating the build file. It is therefore very useful for checking existence of generated/downloaded artefacts. I’ll demonstrate the technique with an …

Packaging JavaME Applications with the Antic Ant task

Steve Neal Development, Java Programming, Tool support 2 Comments

This article illustrates just how simple it is to correctly package a Java ME Midlet using Smartkey’s freely available Antic Ant task. Packaging Midlets Packaging Midlets can be a complex process. Firstly, there are requirements for two files to be created: a Jar and a Jad file. The Jar file will contain all of the classes and other resources that …