Project

General

Profile

« Previous | Next » 

Revision 362

Added by Matt Jones over 24 years ago

Added user and password to build.xml for filter substitution.

View differences:

lib/metacat.properties
3 3
# Matt Jones, Dan Higgins, Jivka Bojilova
4 4
# '$Id$'
5 5
#
6
user=jones
7
password=your-pw-goes-here
6
user=@user@
7
password=@password@
8 8
defaultDB=jdbc:oracle:thin:@dev.nceas.ucsb.edu:1521:exp
9 9
dbDriver=oracle.jdbc.driver.OracleDriver
10 10
initialConnections=10
build.xml
15 15
--> 
16 16
<project name="metacat" default="jar" basedir=".">
17 17
   <target name="init">
18
      <property name="installdir" value="/opt/tomcat/webapps/xmltodb" />
18
      <property name="installdir" value="/opt/tomcat/webapps/metadata" />
19 19
      <property name="name" value="metacat"/>
20 20
      <property name="Name" value="MetaCat"/>
21 21
      <property name="release" value="1.0a6"/>
22
      <property name="servlet-path" value="/xmltodb/servlet/metacat"/>
23
      <property name="html-path" value="/xmltodb"/>
22
      <property name="servlet-path" value="/metadata/servlet/metacat"/>
23
      <property name="html-path" value="/metadata"/>
24
      <property name="user" value="metadata"/>
25
      <property name="password" value="metadatapw"/>
24 26

  
25 27
      <filter token="release" value="${release}"/>
26 28
      <filter token="servlet-path" value="${servlet-path}"/>
27 29
      <filter token="html-path" value="${html-path}"/>
30
      <filter token="user" value="${user}"/>
31
      <filter token="password" value="${password}"/>
28 32

  
29 33
      <property name="srcdir" value="./src" />
30 34

  

Also available in: Unified diff