Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ant deploy task

Status
Not open for further replies.

taylorj

Programmer
Oct 21, 2003
14
IE
hi all,
i was wondering as how to use the ant deploy or install task with the config attribute specified. If i package a web app with a confuration file in WEB-INF then do i just have to specify the war attribute or will tomcat pick up the configuration file itself when it unpackages the war?
Why must one specify a config file locally if one is included in the war?
<install url="url"
path="webapp"
config="file:build/context.xml"
war = "myapp.war"
username="username"
password="password"/>

 
AFAIK you don't need to specify a "config" element at all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top