Project

General

Profile

« Previous | Next » 

Revision 348

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:

index.html
21 21
    
22 22
    <FRAME SRC="queform.html" BORDER=0 NAME="left">
23 23

  
24
    <FRAME SRC="/xmltodb/servlet/metacat?action=query&query=NCEAS%25&qformat=html&doctype=-//NCEAS//eml-dataset//EN" BORDER=0 NAME="right">
24
    <FRAME SRC="@servlet-path@?action=query&query=NCEAS%25&qformat=html&doctype=-//NCEAS//eml-dataset//EN" BORDER=0 NAME="right">
25 25

  
26 26
    </FRAMESET>
27 27
  </FRAMESET>

Also available in: Unified diff