Jetty6MavenConfiguration mavenConfig = new Jetty6MavenConfiguration(); mavenConfig.setClassPathConfiguration (webAppDir, classpathFiles); mavenConfig.setWebXml (webXmlFile); boolean done=false; for (int i=0;i<configurations.length && !done; i++)
for (int i=0;i<configurations.length; i++)
    public void configure ()    {                Jetty6MavenConfiguration mavenConfig = new Jetty6MavenConfiguration();        mavenConfig.setClassPathConfiguration (webAppDir, classpathFiles);        mavenConfig.setWebXml (webXmlFile);        boolean done=false;        for (int i=0;i<configurations.length && !done; i++)        {            if (configurations[i] == null)            {                configurations[i] = mavenConfig;                done = true;            }        }                    this.context.setConfigurations(configurations);    }