perfsonar-dev - r1486 - trunk/perfsonar/ant/xmlls
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: r1486 - trunk/perfsonar/ant/xmlls
- Date: Tue, 25 Jul 2006 10:05:29 -0400
Author: mac
Date: 2006-07-25 10:05:28 -0400 (Tue, 25 Jul 2006)
New Revision: 1486
Modified:
trunk/perfsonar/ant/xmlls/xmlls-configure-targets.xml
Log:
After choosing DB connector type (http or xmlrpc) the valid URI is given as
the default value in next question (DB URI):
HTTP connector uses: http://host:port/exist/rest/db/collection
and
XMLRPC conn. uses: xmldb:exist://host:port/exist/xmlrpc/db/collection
Using wrong uri type with wrong connector will cause runtime error
Modified: trunk/perfsonar/ant/xmlls/xmlls-configure-targets.xml
===================================================================
--- trunk/perfsonar/ant/xmlls/xmlls-configure-targets.xml 2006-07-24
18:51:15 UTC (rev 1485)
+++ trunk/perfsonar/ant/xmlls/xmlls-configure-targets.xml 2006-07-25
14:05:28 UTC (rev 1486)
@@ -35,11 +35,7 @@
<property name="default_in.r_service_type"
value="LS"/>
<property name="default_in.r_description"
- value="Test Lookup Service, perfSONAR"/>
-
- <property name="default_in.ls_storage_uri"
- value="http://localhost:8680/exist/rest/db/ls"/>
-
+ value="Test Lookup Service, perfSONAR"/>
<property name="default_in.ls_storage_username"
value="lookupservice"/>
<property name="default_in.ls_storage_password"
@@ -245,6 +241,17 @@
addproperty="in.ls_storage_type"
validargs="http,xmlrpc"
defaultvalue="http"/>
+
+
+ <condition property="default_in.ls_storage_uri"
value="http://localhost:8680/exist/rest/db/ls">
+ <equals arg1="http" arg2="${in.ls_storage_type}"/>
+ </condition>
+
+ <condition property="default_in.ls_storage_uri"
value="xmldb:exist://localhost:8680/exist/xmlrpc/db/ls">
+ <equals arg1="xmlrpc" arg2="${in.ls_storage_type}"/>
+ </condition>
+
+
<input message="LS Storage -- XML database collection
[${default_in.ls_storage_uri}]"
addproperty="in.ls_storage_uri"
- r1486 - trunk/perfsonar/ant/xmlls, svnlog, 07/25/2006
Archive powered by MHonArc 2.6.16.