Changeset 02bde80


Ignore:
Timestamp:
Mar 17, 2012 9:52:17 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
0f74ccd
Parents:
e2a39a3
Message:
  • Jetty: Don't extract wars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java

    re2a39a3 r02bde80  
    416416            tmpdir.mkdir();
    417417            rootWebApp.setTempDirectory(tmpdir);
     418            rootWebApp.setExtractWAR(false);
    418419            rootWebApp.setSessionHandler(new SessionHandler());
    419420            rootServletHandler = new ServletHandler();
  • apps/routerconsole/java/src/net/i2p/router/web/WebAppStarter.java

    re2a39a3 r02bde80  
    102102        tmpdir.mkdir();
    103103        wac.setTempDirectory(tmpdir);
     104        // all the JSPs are precompiled, no need to extract
     105        wac.setExtractWAR(false);
    104106
    105107        // this does the passwords...
  • installer/resources/eepsite/jetty.xml

    re2a39a3 r02bde80  
    175175          <Set name="contexts"><Ref id="Contexts"/></Set>
    176176          <Set name="configurationDir">./eepsite/contexts</Set>
     177          <!-- set to 60 to have it check for changes once a minute -->
    177178          <Set name="scanInterval">0</Set>
    178179        </New>
     
    199200          <Set name="webAppDir">./eepsite/webapps</Set>
    200201          <Set name="parentLoaderPriority">false</Set>
    201           <Set name="extract">true</Set>
     202          <!-- set to true if you have uncompiled jsps in your wars -->
     203          <Set name="extract">false</Set>
    202204          <Set name="allowDuplicates">false</Set>
    203205          <Set name="defaultsDescriptor">./eepsite/etc/webdefault.xml</Set>
Note: See TracChangeset for help on using the changeset viewer.