Project

General

Profile

« Previous | Next » 

Revision 348

Added by Matt Jones over 24 years ago

Updated build process to now use a copy of the source files so that keyword
substitution can ocur before the build. This allows for substitution of
hardcoded values into the source before the compile. Currently, I am
using this feature to do the following:

1) Substitute a "Release" number into the code
2) Substitute a hardcoded servlet path into the code and html files

By changing the value of "servlet-path" and "installdir" properties in
build.xml, one can now easily install a new version of the servlet in a
different location by simply using "ant install".

View differences:

login.html
24 24

  
25 25
  <P>&nbsp;
26 26

  
27
  <FORM ACTION="/xmltodb/servlet/metacat" METHOD="POST">
27
  <FORM ACTION="@servlet-path@" METHOD="POST">
28 28
    <INPUT TYPE="hidden" NAME="action" VALUE="Login">
29 29
    <P>Username &nbsp;&nbsp;&nbsp;
30 30
    <INPUT TYPE="text" NAME="username" SIZE="15">

Also available in: Unified diff