Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

ant home path

sandyg

2008-07-03

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi,
please can u help me.

I am using ant install to install my project in to server with following
code.
<target name="remove" description="Remove application in Tomcat">
 <install url="${tomcat.manager.url}"      username="${tomcat.username}"
        password="${tomcat.manager.password}"
     path="/${warname}"
     war="file:.\${dist}\${warname}.war"/>
                    </target>

here it is unable to find the file in my project that is at (.) and throws
IOException.
But if i give full path its running fine.

Now i need help for to get the folder path where my ant is running.


--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.