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"/>
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"/>