This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I've worked with C++ and Visual Basic, but I am completely new to Java, and I have know idea what Ant is, or what it means, but it seems to be a very popular topic on all the Java forums. Could anyone give me a simple explanation of what Ant is?
Also, this is off topic here I think, but I just bought the book, "Thinking in Java," by Eckel. I thought it was for beginners, but it's not for complete beginners, like me. Can someone suggest a good Java book that really is for absolute beginners?
Originally posted by Anthony Marlow: Could anyone give me a simple explanation of what Ant is?
Ant is an open source build tool specialized for building Java projects. Think of it as 'make' sans the white-space issues, offering better portability, and including lots of targets common to Java projects, such as rolling a JAR file. In return, you have to put up with lots of angle brackets. :-)
As for the Java book, I hear great things about "Head First Java".
Mike Clark<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0974514039/ref=jranch-20" target="_blank" rel="nofollow">Pragmatic Project Automation</a>
Originally posted by Anthony Marlow: I've worked with C++ and Visual Basic ... Also, this is off topic here I think, but I just bought the book, "Thinking in Java," by Eckel.
Well, I had already read another Java book when I read Thinking in Java, but I thought it would be a pretty good introduction to Java, especially for somebody who has worked in C++.
In addition to Mike's recommendation, I would suggest Just Java by Peter van der Linden, and Java 2: A Beginner's Guide by Herbert Schildt. The recommendation is based on the reputation of the authors, I havent read those myself.
Please try to keep your posts on-topic for the specific forum in which you are posting. If you are interested in beginner Java books, we have a Java in General(beginner) forum that would be more appropriate for your book question.
Let's keep the remainder of this topic on the "What is Ant" portion of the question.
I politely welcome you to the Ranch, point out the off-topic portion of your post, and provide a helpful link to the more appropriate location. I'm not understanding your umbrage.
Yes, the Ranch has rules. They are few and simple, but effective. They are all aimed at keeping this site an orderly, helpful, and professional (but fun, hence the Moose) place to learn Java and related technologies.
If everyone were to start posting off-topic subjects, but think that it's OK because they acknowleged it, things would get very messy very quickly.
If you have an issue with these simple rules, we have a forum specifically dedicated to discussion about this site. Please feel free to bring up any issues that you might have.
Besides the "avoid_off-topics_questions_whenever_possible" rule Bear pointed out above, JavaRanch enforces two additional main rules: the "be nice" one (that everybody here benefits of, including you if you stay with us), and our Naming Policy that maybe you simply not noticed. Could you please change your displayed name to meet it? You can do it here. Thank you in advance.