ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin Chowdhary" <csac...@pisoftek.com>
Subject Error in depoloying Web Application via Ant on tomcat
Date Tue, 03 Jun 2003 10:53:05 GMT

when iam deploying my web Application with Ant.I am getting Error on path
format.Some times i am getting error like not protocol.

 java.net.UnknownHostException: c
or
 file:C:/.././build.xml:210: java.net.ConnectException: Connection refused:
connect


<target name="deploy" depends="war">
        <deploy url="${manager.url}" path="/${app.path}"
                username="${manager.username}"
                password="${manager.password}"
                war="file://${app.path}/${app.name}.war" />
    </target>

even i have tried hardcodedly but still i am getting error.so can any one
help me where i am wrong.I have search on net but could not sorted out this
problem
so Please help me.

<target name="deploy" depends="war">
        <deploy url="${manager.url}" path="/${app.path}"
                username="${manager.username}"
                password="${manager.password}"
                war="file:/c://Simsol//SimsolWebI2V\${app.name}.war" />
    </target>


Mime
View raw message