Posts

Showing posts with the label Ant

Ant Explorer graphical Ant build tool

Every serious java developer needs to create or edit some ant building script. Eclipse offers nice ant handling features which make the task much easier, eclipse's plugin (which is embeded into eclipse since version 3.1 or so) understands the ant scripting language thus enables not only syntax coloring but also nice mouse hovering which reveals values of properties, variable names which enables finding the source of each variable and also some nice debugging features. But, there is one field in which eclipse's ant handling lacks perfection, its in viewing the whole build file in one gaze graphically feature, that feature isn't supported by eclipse. Luckily enough, it is supported by YWorks, which created a nice and free util which loads an ant script file and shows it in a beautiful and so very useful way. I think that this util (which was released as a standalone as well as an eclipse and idea) is a must for any serious java developer. Unluckily, YWorks have remo...

Basic ANT build file Template

It happens all of the time, I want to write a new ANT build file, I don't really remember how to begin, so, I just copy a working build file and then I start removing most of its content. Well, that's not so productive and is a bad practice in general, so for the benefit of all (me included), I've decided doing the same process for the last time, in order to create a basic Ant template file from which I will be able to begin each time. This template contains only the most basic Ant build file. Basic example which shows how to: Create a basic Ant build file. Usage of a property. Usage of a Target (Method / Procedure). Dependency of targets. <?xml version="1.0" encoding="ISO-8859-1"?> <project name="BasicTemplate" default="all"> <property name="distribution" value="${basedir}/dist" /> <target name="init" description="Some initialization acts which should run at the begining"...