* Rename JDBC_URL_OPTS to JDBC_URL_PARAMS
#db.jdbc.urloptions.encoded=ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory&foo=true
#
-# Use the JDBC_URL_OPTS env var to set the urloptions for the jdbc connection string
+# Use the JDBC_URL_PARAMS env var to set the urloptions for the jdbc connection string
# The db.jdbc.urloptions.encoded needs to be created in each ant target which uses it by calling the
# urlencode scriptdef. We can still reference it below as it will be added at runtime.
#
-db.jdbc.urloptions=${env.JDBC_URL_OPTS}
+db.jdbc.urloptions=${env.JDBC_URL_PARAMS}
#
# JDBC urls that CollectionSpace needs to talk to the "admin" database, Nuxeo databases, and the "cspace" database (i.e., the AuthN/AuthZ database)
<scriptdef name="urlencode" language="javascript">
<attribute name="property"/>
<![CDATA[
- var value = self.project.getProperty(attributes.get("property"));
+ var value = self.project.getProperty(attributes.get("property"));
var encoded = encodeURIComponent(value);
self.project.setProperty(attributes.get("property") + ".encoded", encoded)
]]>