> You should use the webxml attribute to point to your WEB-INF/web.xml
> file and exclude that file from the rest you add to the archive.  Or
> use <jar>.


That doesn't work for me.  This:

        <war destfile="${dist}/${ant.project.name}-prototype.war" 
                 webxml="${prototype.src.web-inf}/web.xml" 
                 excludesfile="${prototype.src.web-inf}/web.xml">

            <fileset dir="${prototype.dest}"/>

        </war>

Throws a warning:

Warning: selected war files include a WEB-INF/web.xml which will be
ignored (please use webxml attribute to war task)


Thanks for the response,

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to