Project

General

Profile

« Previous | Next » 

Revision 2974

Added by Matt Jones about 18 years ago

Some changes to the build to make it easier to install the servlet under SSL
using https as the protocol, and also to allow ldapweb.cgi to be installed
standalone without an accompanying metacat. To do so, run both the
"install-ldap" target and make sure the "account" skin is installed using the
"install-skin" target.

View differences:

build.properties
17 17
config.port=80
18 18
server=${config.hostname}:${config.port}
19 19
httpserver=${server}
20
config.metacatserver=http://${server}/${metacat.context}/metacat
20
http.protocol=http
21
config.metacatserver=${http.protocol}://${server}/${metacat.context}/metacat
21 22
config.lsidauthority=ecoinformatics.org
22 23

  
23 24
# Installation directory for registry CGI scripts
build.xml
172 172
      <property name="harvester-registration-path"       value="/${metacat.context}/harvesterRegistration"/>
173 173
      <property name="servlet-path"        value="/${metacat.context}/metacat"/>
174 174
      <property name="html-path"           value="/${metacat.context}"/>
175
      <property name="systemidserver"      value="http://${httpserver}"/>
175
      <property name="systemidserver"      value="${http.protocol}://${httpserver}"/>
176 176
      <property name="style-common-relpath"
177 177
                                           value="/style/common"/>
178 178
      <property name="style-common-cvsrelpath"
......
246 246
      <filter token="ldap_password"        value="ldap_password"/>
247 247
      <filter token="mailhost"             value="localhost"/>
248 248
      <filter token="sender"               value="knb-software\@nceas.ucsb.edu"/>
249
      <filter token="cgiurl"               value="http://${server}/cgi-bin/ldapweb.cgi"/>
249
      <filter token="cgiurl"               value="${cgi-prefix}/ldapweb.cgi"/>
250 250

  
251 251
      <filter token="docrooturl" value="./" />
252 252
      <filter token="database" value="${database}" />
......
847 847
            <include name="${registerSuccess}"/>
848 848
            <include name="${register}"/>
849 849
            <include name="${searchResults}"/>
850
            <include name="${defaultHeader}"/>
851
            <include name="${defaultFooter}"/>
852
            <include name="${responseForm}"/>
850 853
        </fileset>
851 854
      </copy>
852 855
      <echo message="ldapweb install complete." />
......
878 881
           <exclude name="**/.#*"/>
879 882
       </fileset>
880 883
      </copy>
884
      <copy todir="${installdir}/style/common" filtering="yes">
885
       <fileset dir="lib/style/common">
886
           <include name="*.js"/>
887
           <include name="*.jsp"/>
888
           <include name="*.css"/>
889
           <exclude name="*.png"/>
890
           <exclude name="*.gif"/>
891
           <exclude name="*.jpg"/>
892
           <exclude name="**/CVS*"/>
893
           <exclude name="**/.#*"/>
894
       </fileset>
895
      </copy>
881 896
      <!--
882 897
      <mkdir dir="${installdir}/style/skins/${skin-name}/images" />
883 898
     <copy todir="${installdir}/style/skins/${skin-name}/images" filtering="no">

Also available in: Unified diff