Project

General

Profile

« Previous | Next » 

Revision 1952

Added by Matt Jones over 20 years ago

New build system that creates a war file and deploys it to tomcat. Also
updated the web.xml files so that a better servlet path is used. Now, by
default, the servlet path will be: /knb/metacat (as opposed to the
prior servlet path which was /knb/servlet/metacat and depended on the
"invoker" feature of tomcat3 that is not by default enabled in tomcat4. For
now the old servlet path is also defined in web.xml, but we should transition
to using the new path throughout.

Now, three new targets in build.xml:

war: build a war file for deploying metacat
install: create the war then copy it to the tomcat dir
upgrade: install war and then decompress it, possibly overwriting

View differences:

web.xml.tomcat4
45 45
        <url-pattern>/servlet/*</url-pattern>
46 46
    </servlet-mapping>
47 47

  
48
    <servlet-mapping>
49
        <servlet-name>metacat</servlet-name>
50
        <url-pattern>/metacat</url-pattern>
51
    </servlet-mapping>
52

  
48 53
    <session-config>
49 54
      <session-timeout>30</session-timeout>
50 55
    </session-config>

Also available in: Unified diff