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:

queform.html
22 22
<b>MetaCat Query</b> -- a simple database query against MetaCat
23 23
</td></tr>
24 24
<tr><td width="40%" valign="top">
25
<form action="/xmltodb/servlet/metacat" target="right" method="POST">
25
<form action="@servlet-path@" target="right" method="POST">
26 26
  <input type="hidden" name="action" value="query">
27 27
  <input type="text" name="query" value="NCEAS%" size="15">
28 28
  <input type="submit" value="Run query"><br />

Also available in: Unified diff