Changeset 15235
- Timestamp:
- 2008-04-29T12:09:18+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/build.xml
r15229 r15235 184 184 <property name="lucene.home" value="${indexers.home}/lucene-gs"/> 185 185 186 <!-- ================ A list of all the available web services classes ============== --> 187 <property name="web.services.list" value="SOAPServer, QBRSOAPServer"/> 186 <!-- ================ Web services related constants ============== --> 187 <!-- A list of all the available web services classes --> 188 <property name="base.webservice.name" value="SOAPServer"/> 189 <property name="web.services.list" value="${base.webservice.name} for Greenstone3's core web services, QBR${base.webservice.name} for Query, Browse and Retrieve services"/> 188 190 189 191 <!-- ==================== Compilation Control Options ==================== --> … … 762 764 </target> 763 765 764 <!-- this target used to deploy the default web service SOAPServer on the localsite server766 <!-- this target used to deploy the default web service SOAPServer (base.webservice.name) on the localsite server 765 767 with the default servicename of localsite--> 766 768 <target name="deploy-localsite" depends="init" 767 769 description="Deploy the SOAP server for localsite. Will start and stop Tomcat."> 768 770 <antcall target="start-tomcat"/> 769 <echo>Deploying SOAPServerweb services for localsite under service name: localsite</echo>771 <echo>Deploying ${base.webservice.name} web services for localsite under service name: localsite</echo> 770 772 <antcall target="create-deployment-files"> 771 773 <param name="axis.sitename" value="localsite"/> 772 <param name="axis.servicesname" value=" SOAPServer"/>774 <param name="axis.servicesname" value="${base.webservice.name}"/> 773 775 <param name="axis.siteuri" value="localsite"/> 774 776 </antcall> 775 777 <antcall target="deploy-site"> 776 778 <param name="axis.sitename" value="localsite"/> 777 <param name="axis.servicesname" value=" SOAPServer"/>779 <param name="axis.servicesname" value="${base.webservice.name}"/> 778 780 <param name="axis.siteuri" value="localsite"/> 779 781 </antcall> … … 783 785 <target name="get-sitename" unless="axis.sitename"> 784 786 <input addproperty="axis.sitename" defaultvalue="localsite">What site do you want to deploy services for? 785 Press enter for default:localsite</input>787 Press Enter for default:localsite</input> 786 788 </target> 787 789 … … 795 797 796 798 <target name="get-webservices" unless="axis.servicesname"> 797 <input addproperty="axis.servicesname" defaultvalue=" SOAPServer">Which set of web services do you want to deploy?799 <input addproperty="axis.servicesname" defaultvalue="${base.webservice.name}">Which set of web services do you want to deploy? 798 800 Choose from: ${web.services.list} 799 Or press enter for default:SOAPServer/></input>801 Or press Enter for default:${base.webservice.name} /></input> 800 802 <echo>${axis.servicesname}</echo> 801 803 </target> 802 804 803 805 <target name="get-siteuri" depends="get-sitename,get-webservices" unless="axis.siteuri"> 804 <input addproperty="axis.siteuri" message="What name do you want the service to have? (press enter for default:${axis.servicesname}${axis.sitename})" 805 defaultvalue="${axis.servicesname}${axis.sitename}"/> 806 <input addproperty="axis.siteuri" defaultvalue="${axis.servicesname}${axis.sitename}">What name do you want the service to have? (Press Enter for default:${axis.servicesname}${axis.sitename})</input> 806 807 <echo>Site: ${axis.sitename}, services: ${axis.servicesname}, servicesname: ${axis.siteuri}</echo> 807 808 </target> … … 809 810 <target name="set-soapmethod" description="Determines whether the service in the wsdd should have the style attribute set to message or the provider attribute set to java:RPC" if="axis.servicesname"> 810 811 <condition property="soap.method" value="provider='java:MSG' style='message' use='literal'"> 811 <equals arg1="${axis.servicesname}" arg2=" SOAPServer"/>812 <equals arg1="${axis.servicesname}" arg2="${base.webservice.name}"/> 812 813 </condition> 813 814 … … 815 816 <condition property="soap.method" value="provider='java:RPC'"> 816 817 <not> 817 <equals arg1="${axis.servicesname}" arg2=" SOAPServer"/>818 <equals arg1="${axis.servicesname}" arg2="${base.webservice.name}"/> 818 819 </not> 819 820 </condition> … … 912 913 <copy file="${build.home}/gsdl3.jar" todir="${web.lib}"/> 913 914 <!-- copy the localsite server in case we need it --> 914 <copy file="${build.home}/org/greenstone/gsdl3/ SOAPServerlocalsite.class" tofile="${web.classes}/org/greenstone/gsdl3/SOAPServerlocalsite.class" />915 <copy file="${build.home}/org/greenstone/gsdl3/${base.webservice.name}localsite.class" tofile="${web.classes}/org/greenstone/gsdl3/${base.webservice.name}localsite.class" /> 915 916 916 917 <jar destfile="${build.home}/GAI.jar">
Note:
See TracChangeset
for help on using the changeset viewer.