Life has to be something better than what we can see around us. It must be a kind of utopia that’s just beyond that hill, or just a little bit after the horizon. Whatever the case, it has to be there. I don’t see any other way on how this would work. I think it’s up to us to make life better than it is. Does that make sense? I sure hope it does to someone who’s reading this. If it does then I’ve done something right. If it doesn’t? Well that’s another story for another time.
Usually you wouldn't ever use a hello world example in Ant. Outputting text isn't really the goal of the thing. But this will give you a chance to see how to run an ant build.
So, open up a text editor and save the following as build.xml.
<project name="HelloWorld">
<target name="sayhello">
<echo>Hello World!</echo>
</target>
</project>
You would then run the program as:
ant sayhelloAs you might expect, it simply says Hello World!
Echo messages are useful to track the process of an Ant Task when it's going through specific procedures that you specify.
Comments
Post a Comment