title: Eclipse WTP vs sydeo, " serves modules without publishing "
body: <p>I have the problem to find the performances of the plugin sysdeo by using the integrated plugin WTP of eclipse.</p>
  
  <p>To make the migration and thus the comparison, I installed both on separate projects within eclipse.</p>
  
  <p>I noticed a difference of productivity, according to what I understood: WTP needs to publish sources in a directory build so that tomcat have them at arrangement. This "pulish" is long : need the recharging of the context so that the modifications are visible. (5 dry in most yard 15sec - 20sec in the longest).</p>
  
  <p>Sysdeo no; it targets of the directory eclipse consequently build internal in the project as soon as a modification is made by a file, eclipse build and these modifications are available immediately (F5 on the browser and we have the result immediately).</p>
  
  <p>Here is my configuration of server:</p>
  
  <p><img src="https://i.stack.imgur.com/cdsg0.jpg" alt=""></p>
  
  <p>The option " Serves modules without publishing " allows to make exactly what makes sydeo: to choose the build directory of the project running. This configuration expresses himself in the file of context. (It is to be able to get back it that I have checked " Publish modulates contexts to serparate XML rows ")</p>
  
  <p>Comparison of these files: </p>
  
  <ul>
  <li>Here is the file of context to generate by sysdeo</li>
  </ul>
  
  <blockquote>
  <pre><code>&lt; Context path="/tatoile _syseo" reloadable="false" docBase="D:\32bit\serveur32bit\workspace\tatoile _syseo" workDir="D:\32bit\serveur32bit\workspace\tatoile _syseo\work" /&gt;
  </code></pre>
  </blockquote>
  
  <ul>
  <li>The file context to generate by WTP</li>
  </ul>
  
  <blockquote>
    <p>&lt; ?xml version="1.0" encoding="UTF-8"?> 
    &lt; Context
    docBase="D:\32bit\serveur32bit\workspace\tatoile\web" path="/tatoile"
    reloadable="true" source="org.eclipse.jst.jee.server:tatoile">
    &lt; Resources
    className="org.eclipse.jst.server.tomcat.loader.WtpDirContext"
    extraResourcePaths="/WEB-INF/classes|D:\32bit\serveur32bit\workspace\tatoile\build\classes"
    virtualClasspath="D:\32bit\serveur32bit\workspace\tatoile\build\classes"/>
    &lt; Loader
    className="org.eclipse.jst.server.tomcat.loader.WtpWebappLoader"
    useSystemClassLoaderAsParent="false"
    virtualClasspath="D:\32bit\serveur32bit\workspace\tatoile\build\classes"/>
    &lt; JarScanner scanAllDirectories="true"/>  &lt; /Context></p>
  </blockquote>
  
  <p>Later analyze those two files is alike.</p>
  
  <p>Now let us return to the problem. I use the same server, consequently both files of context above are defined for this one. Experience: I launch the tomcat by the plugin sysdeo, the loads in two context is made the one to configure way WTP the other one by sysdeo. Both authorities reacts in the same way, the modifications are immediate in tatoile _syseo and tatoile.</p>
  
  <p>On the other hand, I launch tomcat via the plugin WTP (tab server etc.) in eclipse, the modifications are not immediately made in both projects tatoile _syseo and tatoile. Note: Auto-reload has to be necessarily put in Enabled so that the modifications be taken into account. (When the server indicates us that it has reload the context we can see the modifications.)</p>
  
  <p><img src="https://i.stack.imgur.com/L5Mwt.jpg" alt="enter image description here"></p>
  
  <p>I deduct that from it the configuration of contexts not is not the reason, but rather the way the plugin launches tomcat; and there or I dry …</p>
  
  <p>Here is WTP project:</p>
  
  <p><img src="https://i.stack.imgur.com/wUrsi.jpg" alt="enter image description here"></p>