![]() ![]() Add the ANT_HOME/bin directory to your system path.This variable value must be the directory which you unpacked your Ant distribution. Declare a system variable named ANT_HOME.Unpack the downloaded file in any directory you want.And the XML syntax for my surprise is actually quite useful in this case! Installing Ant As a consequence, Ant scripts are easier to transport among different computers. All the annoyances of make are gone in ant: no more problems with characters like tab, and what is even more interesting: instead of being based on commands of the local machine, Ant is based on Java classes. Actually, I see it as a make refined at it’s best. And the result was just WONDERFUL!Īfter all this rant about Ant, I must at least describe this beast. But just by accident I discovered a set of ant tasks named Orange Volt which led me to finally learn Apache Ant. My first attempt was to write a Groovy script. ![]() So, until then I had to manually (SHAME ON ME!!!) execute this task. Deploy all the files above to the serverĪctually, Netbeans is progressing in this task, but it still isn’t right where I need.As a consequence, I have lots of jar files to deploy. This application uses Spring + Hibernate. Until I had to automate the process of deploying one of my applications using Java Webstart. Besides that, I’m not a big XML based DSL fan. It always made me remember when I used to work with GNU make. In the few times I had to read an Ant build script (always generated by Netbeans) I felt a certain angst of all that XML code. I’m so used to the way Netbeans treats the process of building and deploying my Java projects that I completely neglected one of the most powerful tools I had ever met: Apache Ant.Īctually, Netbeans wasn’t the only reason of my neglect.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |