03 Feb

How to run ant build file from eclipse (if no ANT option in RUN)

If you have some version of MyEclipse (Enterprise Workbench 6.6.0) which has no option to run a build file with ANT and you are confused on how to run the build in the eclipse, please follow the following steps:

  1. Go to the project
  2. Select build_XXX.xml
  3. Go to “Run As” icon and click “Open External Tools Dialog…”
  4. A new pop-up window for External Tools will appear with an option “Ant Build”
  5. Right click on “Ant Build” and click on option “New”
  6. A new ANT build task will be created and will look like the following
  7. Go to “Properties” tab and deselect option “Use global properties as specified in the Ant runtime preferences”
  8. Create a new file “[SomeName].properties” and write the required build properties into it.
  9. Click on “Add External…” and select the file created in step 8.
  10. The pop-up window will look like the following.
  11. Click on APPLY
  12. Click on RUN
  13. Check Console for any errors or Success message
05 Aug

Continuous Integration

During last few months I got chances to test some automation tools for my build and release process after I was made “Automation Evangelist” for my group ( ;o) that I never was). These tools have exceptionally helped us to automate the build and release effort. My team has seen a considerable increase in quality.

Continuous Integration is one of the buzzwords in the list of Xtreme Programming best practices.”Continuous Integration” means that everyone on the team integrates their changes back into the source repository frequently, verifying that the changes didn’t break anything. These days, most people associate Continuous Integration to be highly automated as well, i.e. having an automatic build system in place to continuously verify that the code in the repository compiles and passes all its tests. That is why we are using CruiseControl.

In the next few days I will be writing about some of these tools like ANT and CrusieControl.

content from http://prabhakars.blogspot.com/atom.xml