Hi Jacob, My solution for the problem:
<target name="install" description="Install application to servlet container"> <install url="${manager.url}" username="${manager.username}" password="${manager.password}" path="${app.path}" config="file:///${build.home}/META-INF/context.xml" war="file:///${build.home}"/> </target> ==> So I have the same context.xml for development (ant install) and for production (ant deploy) thx alot for your great input!!! Johannes