Menu
Nadzweb.com
Nadzweb.com

Ant xml error cheatsheet

Posted on May 21, 2011June 1, 2012 by admin

I generally use Ant to build my projects. Within Ant, I use Ivy to include required libraries for dependency management.
This post contains some of the common ant errors that i have come across and how I managed to resolve those errors.

Javadoc failed: java.io.IOException: CreateProcess: error =2
Steps to resolve:
– go to command prompt, type javadoc
– if the command is not recognised by command prompt, include the java path in the environment variables (My Computer ->Properties->Advanced->Environment variables->System variables
– include the java bin path in the above PATH variable under System variables
– restart another cmd, type javadoc and now the command should be recognised by the system
– include useexternalfile=”yes”  in the <javadoc in Ant file
– close eclipse, restart it again, and it should solve the above error.

 

 

  • ant ivy
  • apache ant
  • build tool
  • errors
  • 1 thought on “Ant xml error cheatsheet”

    1. fai says:
      July 24, 2012 at 4:18 pm

      thanks mate, this solved the issue…cheers

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Anti-spam image

    Tags

    .htaccess angular angular2 angular2-pipes angular4 angularjs apache bigdata blockchain children codeigniter computer graphics ethereum flot flot charts funny hadoop http javascript jquery kanban lena linux love math mathematics microsoft misc node js php phpframework php frameworks postgres pun-intended python react sass scrum scss silverstripe software ssl story valentines day wordpress

    Archives

    Recent Posts

    • Install only Postgres client 11 on Ubuntu 18.04
    • PostgreSQL – Granting access to users
    • Querying JSONB Postgres fields in SQLAlchemy
    • Angular – Writing unit tests for setTimeout in functions
    • Angular 6 – getting previous url from angular router
    ©2021 Nadzweb.com | Powered by WordPress & Superb Themes