Responsive Ad Area

About

Java Ant

Java Ant While DOS and Unix shell scripting can automate developer task, in the Java world there is a problem with this. Both DOS and Unix shell scripts are system dependent solutions. A single developer one day decided to sit down and write Ant and it was an immediate success. Ant is a system independent solution. Ant uses XML files called build files or build.xml to describe task to be performed by Ant. Below I list some common task that ant can perform for you. To run the script you simply go to the folder with the build.xml file and run the command 'ant'. Ant will then report if it was a successful build or not. compile sources delete folders and files move folders and files archive files in jar and war files build javadocs (java documentation) upload files using ftp or scp to servers(...

Unix Bash Shell Scripts

Unix Bash Shell Scripts There are whole books written on how to code unix shells scripts. Unix shell scripts are as powerful as any programming language. I think the famous C/C++ 'make' utility is one such example. Unix usually starts up it's users with the Bash shell and I'll provide some simple examples here later. C Shell is another popular Unix alternative. Born shell is yet another. Note that If you provide shell scripts in your distribution you will probably be providing DOS batch scripts as well. Ant is the better solution in the Java world. And uses XML for its scripting language. Ant and xml are system independent making Ant the better solution.

Windows Shell

Batch Scripts (MS Windows Users) There is much on the web to teach you to code DOS batch scripts. DOS is indeed not dead. Windows 95 had its own version of DOS which has been carried into the latest versions up to Windows 7. I will provide some examples from some projects here for using DOS to automate some deployment task. DOS can be enhanced with added commands. You may even get enhanced DOS command terminals. There used to be a color DOS which would color your terminal similar to Unix terminals. If you want to work with a unix like command terminal on windows you may use CYGWin. Though I won't talk more about CYGWin. This kind of thing was tried in the GUI with macros but I never found that to be useful. It was difficult to setup Windows macros to work properly. And you may click on any...