There are a lot of things in this life I don’t quite understand. I get it, maybe life isn’t meant to be understood? I’m not sold that’s the case though. There has got to be some things I am to understand or at least grasp with my limited knowledge, at least one would hope! (I sure as hell hope I can grasp something in this life. Anything really.) Alas here I am, simply wondering how this life is meant to turn out. I’m not sure I get how it’s all meant to go at times. Am I meant to simply be okay with that thought process? I don’t know. Perhaps we aren’t meant to understand anything in this life, and all this learning is but for nothing? Nah, that can’t be the case. We can’t be spinning our wheels for all these years, just to find out it’s all for nothing. That’s silly and ridiculous. If I can but learn one thing in life, it would be how to deal and cope with whatever tends to come my way. There has to be something I am able to do about it all without the overthinking and thought pro...
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