ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandyg <gaddamsande...@gmail.com>
Subject Re: ant home path
Date Fri, 04 Jul 2008 09:49:46 GMT

Hi,

Supareno

I got hte solution 

by giving 
<install url="${tomcat.manager.url}"
		                 username="${tomcat.manager.username}"
		                 password="${tomcat.manager.password}"
		                 path="/${warname}" 
						 war="${basedir}\${dist}\${warname}.war"/>

in this way  i got the solution.
once again tnx for the help.

supareno wrote:
> 
> have you try with the ${warname} for the war param...
> you don't have to write 'file:.\....'
> 
> this example works well
> 
>  <target name="install" description="Install application in Tomcat">
>         <install url="${tomcat.manager.url}"
>                  username="${tomcat.manager.username}"
>                  password="${tomcat.manager.password}"
>                  path="/${name}"
>                  war="${name}"/>
>     </target>
> 
> hope this help
> 
> supareno
> 
> sandyg a écrit :
>> 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.
>>
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ant-home-path-tp18255567p18276366.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message