Install This Install That

I’d say it never ceases to amaze me… perhaps it’s more of an amusing type of thing. You’re on the internet and go to search for a tutorial on this that or the other. A program is required. The tutorial goes through step by step on installing the needed program. Why is this?

I would think that if the program was written well, it would have an installer that was helpful enough to step you through installing the program. The tutorial you’re reading wouldn’t have all of the steps to install it… shouldn’t it just say “First install this program, now that you have it installed, here’s how you use it.” Type of thing?

Yeah. That’s what always gets me. Perhaps I’m just alone in this thinking… who knows.

Ant – Hello World

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 sayhello

As 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.

1 AM

I suppose that means it’s time for bed. :-) I guess that’s a good thing… maybe. We’ll see how well I sleep… if I can sleep at all. Yeah all of that… and then some. We’ll figure it all out eventually. Maybe possibly.

If not… well that’s just another story to think about… another song to write… something else on the horizon to worry for another day to come. With that I say good night, may sweet dreams meet you with their kindness. May tomorrow morning come in bright and wanting.

Ant For Multiple Deployments

I use Ant a lot when I program. Mostly for deploying whatever I’ve been coding to a test site. I currently have an ant build file that has two targets. One target will put the files to a tomcat server running ColdFusion 9, the other target will deploy the files to a server running Railo.

Eventually I’d like to have my build file run to all of the possible ColdFusion versions that I can. Now that would be something special.

I should start a section regarding Ant… now that would be something special.

11:26

Who would have known that the night would have progressed so quickly?

I sure wasn’t expecting it to be this late already… before long tomorrow will be here and everything else will happen. Work will come and yeah. So I can just look forward to dreamland I suppose. Hopefully I’ll have some good dreams tonight. We’ll have to see what happens.

For now, I’ll just sit here and wait till the night continues and I will be able to go to bed.

Puppy

Gage sure knows when he wants to go for a walk. He’s had some fun times today while we were out.

From taking my latest book from the bedroom, to moving things around the house. Oh yes, methinks we need to keep things out of puppy’s reach.