The port number was correct 1527 only.
But the problem seems to be with password settings.
In the build.xml the settings are:
=======
<property name="system.password" value="tesco123" />
<property name="db.username" value="ab" />
<property name="db.password" value="ab" />
<property name="db.host" value="localhost" />
<property name="db.port" value="1527" />
<property name="db.name" value="XE" />
<property name="jdbc.url" value="jdbc:oracle:thin:@localhost:1527:XE" />
=======
So it still gives the same error.
Regards
[Message sent by forum member 'pankajsac' (pankajsac)]
http://forums.java.net/jive/thread.jspa?messageID=320553