Project

General

Profile

« Previous | Next » 

Revision 2343

Added by sgarg almost 20 years ago

Integrating build.xml from webmdentry into metacat build file.

View differences:

build.xml
170 170
                                           value="lib${style-common-relpath}"/>
171 171
      <property name="style-common-fullpath"
172 172
                                           value="/${installdir}${style-common-relpath}"/>
173
      <property name="templates.dir"       value="${style-common-fullpath}/templates"/>
173 174
      <property name="style-common-path"
174 175
                                           value="/${context}${style-common-relpath}"/>
175 176
      <property name="style-skins-relpath" value="/style/skins"/>
......
196 197
      <property name="responseForm"        value="genericResponse.tmpl"/>
197 198
      <property name="entryForm"           value="entryForm.tmpl"/>
198 199
      <property name="guide"               value="genericGuide.tmpl"/>
199
      <property name="confirmData" value="confirmData.tmpl"/>
200
      <property name="deleteData" value="deleteData.tmpl"/>
201
      <property name="genericHeader" value="genericHeader.tmpl"/>
202
      <property name="genericFooter" value="genericFooter.tmpl"/>
203
      <property name="adminname" value="KNB Support"/>
204
      <property name="recipient" value="knb-software\@nceas.ucsb.edu"/>
205
      <filter token="scope" value="${scope}"/>
206
      <filter token="responseForm" value="${responseForm}"/>
207
      <filter token="entryForm" value="${entryForm}"/>
208
      <filter token="guide" value="${guide}"/>
209
      <filter token="confirmData" value="${confirmData}"/>
210
      <filter token="deleteData" value="${deleteData}"/>
211
      <filter token="genericHeader" value="${genericHeader}"/>
212
      <filter token="genericFooter" value="${genericFooter}"/>
213
      <filter token="adminname" value="${adminname}"/>
214
      <filter token="recipient" value="${recipient}"/>
200
      <property name="confirmData"         value="confirmData.tmpl"/>
201
      <property name="deleteData"          value="deleteData.tmpl"/>
202
      <property name="genericHeader"       value="genericHeader.tmpl"/>
203
      <property name="genericFooter"       value="genericFooter.tmpl"/>
204
      <property name="adminname"           value="KNB Support"/>
205
      <property name="recipient"           value="knb-software\@nceas.ucsb.edu"/>
215 206

  
207
      <property name="defaultStage"        value="initregister"/>
208
      <property name="defaultHeader"       value="genericHeader.tmpl"/>
209
      <property name="defaultFooter"       value="genericFooter.tmpl"/>
210
      <property name="defaultChangePass"   value="ldapChangePass.tmpl"/>
211
      <property name="defaultResetPass"    value="ldapResetPass.tmpl"/>
212
      <property name="changePassSuccess"   value="ldapChangePassSuccess.tmpl"/>
213
      <property name="resetPassSuccess"    value="ldapResetPassSuccess.tmpl"/>
214
      <property name="registerFailed"      value="ldapRegisterFailed.tmpl"/>
215
      <property name="registerLter"        value="ldapRegisterLter.tmpl"/>
216
      <property name="registerMatch"       value="ldapRegisterMatch.tmpl"/>
217
      <property name="registerSuccess"     value="ldapRegisterSuccess.tmpl"/>
218
      <property name="register"            value="ldapRegister.tmpl"/>
219
      <property name="searchResults"       value="searchResults.tmpl"/>
220

  
221
      <filter token="scope"                value="${scope}"/>
222
      <filter token="responseForm"         value="${responseForm}"/>
223
      <filter token="entryForm"            value="${entryForm}"/>
224
      <filter token="guide"                value="${guide}"/>
225
      <filter token="confirmData"          value="${confirmData}"/>
226
      <filter token="deleteData"           value="${deleteData}"/>
227
      <filter token="genericHeader"        value="${genericHeader}"/>
228
      <filter token="genericFooter"        value="${genericFooter}"/>
229
      <filter token="adminname"            value="${adminname}"/>
230
      <filter token="recipient"            value="${recipient}"/>
231

  
232
      <filter token="ldapurl"              value="ldap.ecoinformatics.org"/>
233
      <filter token="ldapSearchBase"       value="dc=ecoinformatics,dc=org"/>
234
      <filter token="ldap_user"            value="cn=Manager,dc=ecoinformatics,dc=org"/>
235
      <filter token="ldap_password"        value="ldap_password"/>
236
      <filter token="mailhost"             value="smtp.ecoinformatics.org"/>
237
      <filter token="sender"               value="knb-software\@nceas.ucsb.edu"/>
238
      <filter token="cgiurl"               value="http://${server}/cgi-bin/ldapweb.cgi"/>   
239

  
216 240
      <property name="cpath"
217 241
                value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${cos}:${morpho}:${emlparser}:${jdbc-add1}:${jdbc-add2}:${util}:${httpclient}"/>
218 242

  
......
244 268
      <filter token="style-common-relpath" value="${style-common-relpath}"/>
245 269
      <filter token="style-common-fullpath" value="${style-common-fullpath}"/>
246 270
      <filter token="style-common-path" value="${style-common-path}"/>
271
      <filter token="templates.dir" value="${templates.dir}"/>
272

  
247 273
      <!-- The "style-path" filter is used by the eml xsl stylesheets!!  -->
248 274
      <filter token="style-path" value="${style-skins-path}"/>
249 275
      <filter token="replication-path" value="${replication-path}"/>
......
265 291
      <filter token="debugprefix" value="${debugprefix}"/>
266 292
      <filter token="administrators" value="${administrators}"/>
267 293

  
294
      <filter token="defaultStage" value="${defaultStage}"/>
295
      <filter token="defaultHeader" value="${defaultHeader}"/>
296
      <filter token="defaultFooter" value="${defaultFooter}"/>
297
      <filter token="defaultChangePass" value="${defaultChangePass}"/>
298
      <filter token="defaultResetPass" value="${defaultResetPass}"/>
299
      <filter token="changePassSuccess" value="${changePassSuccess}"/>
300
      <filter token="resetPassSuccess" value="${resetPassSuccess}"/>
301
      <filter token="registerFailed" value="${registerFailed}"/>
302
      <filter token="registerLter" value="${registerLter}"/>
303
      <filter token="registerMatch" value="${registerMatch}"/>
304
      <filter token="registerSuccess" value="${registerSuccess}"/>
305
      <filter token="register" value="${register}"/>
306
      <filter token="searchResults" value="${searchResults}"/>
307

  
268 308
      <property name="srcdir" value="./src" />
269 309
      <property name="testdir" value="./test" />
270 310
      <property name="testtorun" value="BuildIndexTest" />
......
319 359
          <exclude name="**/.#*"/>
320 360
        </fileset>
321 361
      </copy>
322
      <available file="build/tmp/${conversion-module}" type="dir"
362
      <available file="lib/style/common/embl6toeml2" type="dir"
323 363
                 property="styles.not.needed"/>
324 364
   </target>
325 365

  
......
558 598
      <chmod file="${inst.cgi.dir}/register-dataset.cgi" perm="ugo+x" />
559 599

  
560 600
      <mkdir dir="${temp-dir}" />
561
     <copy todir="${temp-dir}" filtering="yes">
562
       <fileset dir="${build.tmp}/${conversion-module}/lib/style">
601
      <copy todir="${temp-dir}" filtering="yes">
602
       <fileset dir="lib/style/common/emlb6toeml2">
563 603
         <include name="*.xsl"/>
564 604
         <include name="*.xml"/>
565 605
       </fileset>
566
     </copy>
606
      </copy>
567 607

  
568 608
      <echo message="Install Registry completed." />
569 609
   </target>
570 610

  
611
   <target name="install-ldap" depends="init">
612
      <copy file="${srcdir}/perl/ldapweb.cgi"
613
            todir="${inst.cgi.dir}" filtering="yes"/>
614
      <chmod file="${inst.cgi.dir}/ldapweb.cgi" perm="ugo+x" />
615
      <copy file="lib/ldapweb.cfg"
616
            todir="${inst.cgi.dir}" filtering="yes"/>
617
      <chmod file="${inst.cgi.dir}/ldapweb.cfg" perm="ugo+x" />
618
      <mkdir dir="${templates.dir}" />
619
      <copy todir="${templates.dir}" filtering="yes">
620
        <fileset dir="lib/style/common/templates">
621
            <include name="${defaultChangePass}"/>
622
            <include name="${defaultResetPass}"/>
623
            <include name="${changePassSuccess}"/>
624
            <include name="${resetPassSuccess}"/>
625
            <include name="${registerFailed}"/>
626
            <include name="${registerLter}"/>
627
            <include name="${registerMatch}"/>
628
            <include name="${registerSuccess}"/>
629
            <include name="${register}"/>
630
            <include name="${searchResults}"/>
631
        </fileset>
632
      </copy>
633
      <echo message="ldapweb install complete." />
634
   </target>
635

  
636

  
571 637
   <target name="install-skin" depends="init"
572 638
            description="Install a Skin">
573 639

  
......
681 747
     <cvs cvsRoot="${cvsroot-alternate}"
682 748
          package="${conversion-module}"
683 749
          dest="${build.tmp}" />
750

  
751
     <mkdir dir="lib/style/common/emlb6toeml2" />
752
      <copy todir="lib/style/common/emlb6toeml2" filtering="yes">
753
       <fileset dir="${build.tmp}/${conversion-module}/lib/style">
754
         <include name="*.xsl"/>
755
         <include name="*.xml"/>
756
       </fileset>
757
      </copy>
684 758
   </target>
685 759

  
686 760
   <target name="testprep" depends="jar,clientjar,harvesterjar">

Also available in: Unified diff