well it simply doesnt work for me
to jetty.xml I added
<Call name="addLifeCycle">
<Arg>
<New class="org.mortbay.jetty.deployer.WebAppDeployer">
<Set name="contexts"><Ref id="Contexts"/></Set>
<Set name="webAppDir"><SystemProperty name="jetty.home" default="."/>/webapps</Set>
<Set name="parentLoaderPriority">false</Set>
<Set name="extract">true</Set>
<Set name="allowDuplicates">false</Set>
<Set name="defaultsDescriptor">d:\serwer\jetty-distribution-8.1.8.v20121106\etc\webdefault.xml</Set>
</New>
</Arg>
</Call>
as documentation you provided suggests but intellij prints (at the end of the first line intellij logs what is the jetty configuration)
then I search more about that and I have found
http://wiki.eclipse.org/Jetty/Feature/WebAppProvider could be the solution but again intellij failed to start jetty
D:\java\jdk1.7.0_03\bin\java -DSTOP.PORT=0 -Dcom.sun.management.jmxremote= -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -DOPTIONS=jmx -Didea.launcher.port=7554 -Didea.launcher.bin.path=D:\editors\IntelliJ12.0.1\bin -Dfile.encoding=windows-1250 -classpath start.jar;D:\editors\IntelliJ12.0.1\lib\idea_rt.jar com.intellij.rt.execution.application.AppMain org.eclipse.jetty.start.Main etc/jetty-jmx.xml etc/jetty-webapps.xml etc/jetty.xml contexts-config.xml
[2013-01-07 09:07:49,376] Artifact search:war exploded: Server is not connected. Press 'Deploy' to start deployment.
[2013-01-07 09:07:49,376] Artifact web:war exploded: Server is not connected. Press 'Deploy' to start deployment.
51988
STOP.KEY=ls2wegzso5xc
2013-01-07 21:07:50.152:WARN:oejx.XmlConfiguration:Config error at <Ref id="DeploymentManager"><Call id="webappprovider" name="addAppProvider"><Arg>| <New class="org.eclipse.jetty.deploy.providers.WebAppProvider"><Set name="monitoredDirName"><Property name="jetty.home" default="."/>/webapps</Set><Set name="defaultsDescriptor"><Property name="jetty.home" default="."/>/etc/webdefault.xml</Set><Set name="scanInterval">1</Set><Set name="contextXmlDir"><Property name="jetty.home" default="."/>/contexts</Set><Set name="extractWars">true</Set></New>| </Arg></Call></Ref> java.lang.IllegalStateException: No object for id=DeploymentManager
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:472)
at org.eclipse.jetty.start.Main.start(Main.java:620)
at org.eclipse.jetty.start.Main.main(Main.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: java.lang.IllegalStateException: No object for id=DeploymentManager
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.refObj(XmlConfiguration.java:839)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:403)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:350)
at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:303)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1254)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1189)
... 12 more
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
Process finished with exit code -2
Disconnected from server