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:

loadxml.html
19 19
<p>
20 20
Upload, Change, or Delete an XML document using this form.
21 21
</p>
22
<form action="/xmltodb/servlet/metacat" target="right" method="POST">
22
<form action="@servlet-path@" target="right" method="POST">
23 23
  <strong>1. Choose an action: </strong>
24 24
  <input type="radio" name="action" value="insert" checked> Insert
25 25
  <input type="radio" name="action" value="update"> Update

Also available in: Unified diff