- Timestamp:
- 02/06/14 13:20:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/ISOcat/trunk/mod-ISOcat-access-system/config/database.acc
r2029 r4462 17 17 <jdbcDriver>org.postgresql.Driver</jdbcDriver> 18 18 <jdbcConnection> 19 <xsl:text>jdbc:postgresql://localhost/</xsl:text> 20 <xsl:choose> 21 <xsl:when test="normalize-space(database/name)!=''"> 22 <xsl:value-of select="normalize-space(database/name)"/> 23 </xsl:when> 24 <xsl:otherwise> 25 <xsl:text>ISOcat</xsl:text> 26 </xsl:otherwise> 19 <xsl:text>jdbc:postgresql://</xsl:text> 20 <xsl:choose> 21 <xsl:when test="normalize-space(database/host)!=''"> 22 <xsl:value-of select="normalize-space(database/host)"/> 23 </xsl:when> 24 <xsl:otherwise> 25 <xsl:text>localhost</xsl:text> 26 </xsl:otherwise> 27 </xsl:choose> 28 <xsl:if test="normalize-space(database/port)!=''"> 29 <xsl:text>:</xsl:text> 30 <xsl:value-of select="normalize-space(database/port)"/> 31 </xsl:if> 32 <xsl:text>/</xsl:text> 33 <xsl:choose> 34 <xsl:when test="normalize-space(database/name)!=''"> 35 <xsl:value-of select="normalize-space(database/name)"/> 36 </xsl:when> 37 <xsl:otherwise> 38 <xsl:text>ISOcat</xsl:text> 39 </xsl:otherwise> 27 40 </xsl:choose> 28 41 </jdbcConnection>
Note: See TracChangeset
for help on using the changeset viewer.