public void setWebxml( File descr )
        throws ArchiverException
    {
        deploymentDescriptor = descr;
        if ( !deploymentDescriptor.exists() )
        {
            throw new ArchiverException( "Deployment descriptor: " + deploymentDescriptor + " does not exist." );
        }

        addFile( descr, "WEB-INF" + File.separatorChar + "web.xml" );
    }
public void setWebxml( File descr )
        throws ArchiverException
    {
        deploymentDescriptor = descr;
        if ( !deploymentDescriptor.exists() )
        {
            throw new ArchiverException( "Deployment descriptor: " + deploymentDescriptor + " does not exist." );
        }

        addFile( descr, "WEB-INF" + File.separatorChar + "web.xml" );
    }
public void setWebxml ( File descr ) throws ArchiverException { deploymentDescriptor = descr ; if ( ! deploymentDescriptor . exists ( ) ) { throw new ArchiverException ( "Deployment descriptor: " + deploymentDescriptor + " does not exist." ) ; } addFile ( descr , "WEB-INF" + File . separatorChar + "web.xml" ) ; }
set the deployment descriptor to use (WEB-INF/web.xml);
required unless <tt>update=true</tt>
set the deployment descriptor to use ( WEB - INF / web . xml ) ; required unless <tt > update = true< / tt >