Files
gateway-mnp-dbc/dbcmnpsrc/FE/mnpdev/build/build_ws.xml

765 lines
36 KiB
XML

<project name="mnp" default="WSDBSSbuildJWS" basedir=".">
<condition property="isWindowsOs">
<os family="windows"/>
</condition>
<condition property="isWindowsXpOs">
<os family="windows"/>
</condition>
<condition property="isUnix">
<os family="unix"/>
</condition>
<condition property="isAixOs">
<os family="unix" name="aix"/>
</condition>
<condition property="build.prop.file.path" value="winxp">
<isset property="isWindowsOs"/>
</condition>
<condition property="build.prop.file.path" value="winxp">
<isset property="isWindowsXpOs"/>
</condition>
<condition property="build.prop.file.path" value="aix">
<isset property="isAixOs"/>
</condition>
<condition property="build.prop.file.path" value="unix">
<isset property="isUnix"/>
</condition>
<property name="build.prop.file" value="${build.prop.file.path}/build_${user.name}.properties"/>
<property environment="env"/>
<property file="${build.prop.file}"/>
<property name="build.path" value="${project.home}/build"/>
<property name="building.path" value="${build.path}/building"/>
<property name="mnp.src.path" value="${project.home}/mnp/src"/>
<!-- Per sviluppo WS DBSS -->
<property name="mnp.ear.path" value="${project.home}/mnp/ear"/>
<property name="wsdev.home" value="${project.home}/wsdbc" />
<property name="wsdev.wsdl.home" value="${wsdev.home}/wsdl" />
<property name="wsdev.wssrc.path" value="${mnp.src.path}"/>
<property name="wsdev.wsdl.dbss.path" value="${wsdev.wsdl.home}/dbss" />
<property name="wsdev.dbss.building.path" value="${wsdev.home}/dbss/building" />
<property name="wsdev.dbss.war.name" value="MobileNumberPortabilityMgmt"/>
<property name="wsdev.dbss.client.path" value="${wsdev.home}/dbss/client" />
<property name="wsdev.gisp.client.path" value="${wsdev.home}/gisp/client" />
<!-- Per sviluppo WS GISP -->
<property name="wsdev.wsdl.gisp.path" value="${wsdev.wsdl.home}/gisp" />
<property name="wsdev.gisp.building.path" value="${wsdev.home}/gisp/building" />
<!-- MNP_RU_638: Middleware Modernization 2024 - Servizi GISP lotto5 WS O2C -->
<property name="wsdev.wsdl.o2c.path" value="${wsdev.wsdl.home}/o2c" />
<property name="wsdev.o2c.building.path" value="${wsdev.home}/o2c/building" />
<property name="wsdev.o2c.client.path" value="${wsdev.home}/o2c/client" />
<!-- Per sviluppo client WS DBSS -->
<property name="wsdbss.clientdev.home" value="${project.home}/mnp/wsdbss" />
<property name="wsdbss.client.wsdl.position" value="${wsdbss.clientdev.home}/client" />
<property name="wsdbss.client.wsdl.file" value="${wsdbss.client.wsdl.position}/MobileNumberPortabilityMgmt.wsdl" />
<property name="output.wsdbss.client" value="${wsdbss.clientdev.home}/client" />
<property name="wsdbss.client.class.position" value="${output.wsdbss.client}" />
<property name="wsdbss.client.donor.class.position" value="${output.wsdbss.client}/donor" />
<property name="wsdbss.client.jar" value="${wsdbss.clientdev.home}/jar" />
<property name="wsdbss.client.class.destination" value="${wsdbss.client.class.position}/class" />
<property name="wsdbss.client.donor.class.destination" value="${wsdbss.client.donor.class.position}/class" />
<property name="wsdbss.client.handler.chain.file" value="${wsdbss.client.wsdl.position}/wsdbss_soaphandler_out.xml"/>
<path id="wsdbss.client.class.path">
<pathelement path="${wsdbss.client.wsdl.position}/${output.wsdbss.client}"/>
</path>
<!-- Per sviluppo client WS GISP -->
<property name="wsgisp.clientdev.home" value="${project.home}/mnp/wsgisp" />
<property name="wsgisp.client.wsdl.position" value="${wsgisp.clientdev.home}/client" />
<property name="wsgisp.client.wsdl.file" value="${wsgisp.client.wsdl.position}/IBK50_Concrete.wsdl" />
<property name="output.wsgisp.client" value="${wsgisp.clientdev.home}/client" />
<property name="wsgisp.client.class.position" value="${output.wsgisp.client}" />
<property name="wsgisp.client.donor.class.position" value="${output.wsgisp.client}/donor" />
<property name="wsgisp.client.jar" value="${wsgisp.clientdev.home}/jar" />
<property name="wsgisp.client.class.destination" value="${wsgisp.client.class.position}/class" />
<property name="wsgisp.client.donor.class.destination" value="${wsgisp.client.donor.class.position}/class" />
<property name="wsgisp.client.handler.chain.file" value="${wsgisp.client.wsdl.position}/wsgisp_soaphandler_out.xml"/>
<path id="wsgisp.client.class.path">
<pathelement path="${wsgisp.client.wsdl.position}/${output.wsgisp.client}"/>
</path>
<!-- LIBRERIE PER LA COMPILAZIONE -->
<filelist id="mnp.files.classpath" dir="${mnp.lib.path}">
<file name="hibernate-c3p0-0.9.0.jar"/>
<file name="castor-1.3.2.jar"/>
<file name="castor-1.3.2-anttasks.jar"/>
<file name="castor-1.3.2-codegen.jar"/>
<file name="castor-1.3.2-core.jar"/>
<file name="castor-1.3.2-ddlgen.jar"/>
<file name="castor-1.3.2-xml.jar"/>
<file name="castor-1.3.2-xml.jar"/>
<file name="castor-1.3.2-xml-schema.jar"/>
<file name="commons-logging-1.1.jar"/>
<file name="commons-net-1.3.0.jar"/>
<file name="commons-fileupload.jar"/>
<file name="dbcfx-pitagora-ws-client.jar"/>
<file name="dbcfx-crma-donor-ws-client.jar"/>
<file name="dbcfx-crmws-donor-ws-client.jar" />
<file name="dbcfx-crma-ws-client.jar"/>
<file name="datedFileAppender-1.0.2.jar"/>
<file name="hibernate-ehcache-1.2.jar"/>
<file name="hibernate3.jar"/>
<file name="security-utility.jar"/>
<file name="hibernate-jgroups-2.2.8.jar"/>
<file name="log4j-1.2.7.jar"/>
<file name="logging.jar"/>
<file name="Castor-Crm2DbcFX.jar"/>
<file name="Castor-Crm2DbcFX-VOIP35.jar"/>
<file name="Castor-Crm2DbcFX-Donor.jar"/>
<file name="Castor-DbcFX2CRM.jar"/>
<file name="Castor-DbcFX2CRM-VOIP35.jar"/>
<file name="Castor-DbcFX2CRM-Donor.jar"/>
<file name="Castor-MessageReplyOLO.jar"/>
<file name="Castor-GNPOLORequest.jar"/>
<file name="Castor-GNPOLOResponse.jar"/>
<file name="GatewayProxy-client.jar"/>
<file name="jakarta-oro-2.0.5.jar"/>
<file name="InfoTracciatiFW.jar"/>
<file name="Castor-SmsGW.jar"/>
<file name="Castor-DbcFX2DbcFXGO.jar"/>
<file name="Castor-HZCrm2DbcFX.jar"/>
<file name="Castor-NotificaDBCFX_DBC_HZ.jar"/>
<file name="WSPitagoraDonorCommon.jar" />
<file name="dbcfx-pitagora-ws-client-donor.jar" />
<file name="Castor-DbcFX2WsPitagoraDonor.jar" />
<file name="WSNotificaDBCCommon.jar" />
<file name="Castor-DbcFX2OloDbp.jar" />
<file name="Castor-DbcFX2CRM-Donor-Rid.jar" />
<file name="Castor-Crm2DbcFX-Donor-Rid.jar" />
<file name="Castor-DbcFX2WsCrmwsDonor.jar" />
<file name="Castor-FENPRequest.jar" />
<file name="FenpResponse.jar" />
<file name="Castor-MessageReplyFENP.jar" />
<file name="xbean.jar" />
<file name="jsr173_1.0_api.jar" />
<file name="CRMWS_Pitagora_Reg.jar" />
<file name="CRMWS_Pitagora_Xdsl.jar" />
<file name="CRMWS_Pitagora_Xdsl_New.jar" />
</filelist>
<!-- LIB per la compilazione WS CRM-A -->
<filelist id="mnp.ws.dbss.libs" dir="${mnp.lib.path}">
<file name="WSDBSSCommon.jar"/>
<file name="WSDBSSDonorCommon.jar"/>
</filelist>
<!-- LIBRERIE PER LA COMPILAZIONE -->
<filelist id="weblogic.jar" dir="${weblogic.home}/server/lib">
<file name="weblogic.jar"/>
<file name="webserviceclient.jar"/>
<file name="xbean.jar"/>
</filelist>
<!-- CLASSPATH PER LA COMPILAZIONE-->
<path id="all.classpath">
<!-- DBCFX -->
<filelist refid="mnp.files.classpath"/>
<filelist refid="weblogic.jar"/>
<!-- INFOBUS -->
<filelist refid="infobus.jar"/>
<!-- DBCFX CLASSES -->
<pathelement path="${mnp.classes.path}"/>
<!-- Java compiler tools.jar -->
<pathelement location="${sdk.home}/lib/tools.jar"/>
<!--pathelement location="${wsdev.crma.building.path}/WSAcqService_wsdl.jar" /-->
<filelist refid="mnp.ws.dbss.libs" />
<filelist refid="mnp.ws.dbss.libs" />
</path>
<path id="ws.gen.all.classpath">
<filelist refid="mnp.files.classpath"/>
<filelist refid="weblogic.jar"/>
</path>
<path id="weblogic.classpath">
<filelist refid="weblogic.jar"/>
<file name="castor-1.3.2-xml.jar"/>
</path>
<!-- ################################################################################ -->
<!-- ################################################################################ -->
<!-- ################################################################################ -->
<target name="test">
<echo>
isWindowsOs =[${isWindowsOs}]
isWindowsXpOs =[${isWindowsXpOs}]
isAixOs =[${isAixOs}]
isUnix =[${isUnix}]
user.name =[${user.name}]
prop.file.path =[${prop.file.path}]
build.prop.file =[${build.prop.file}]
</echo>
</target>
<target name="echo">
<echo>
Starting build using:
sdk.home= ${sdk.home}
weblogic.home= ${weblogic.home}
project.home= ${project.home}
mnp.lib.path= ${mnp.lib.path}
build.prop.file= ${build.prop.file}
</echo>
<input message="Ok to continue? " validargs="y,n" addproperty="do.continue"/>
<condition property="do.abort">
<equals arg1="n" arg2="${do.continue}"/>
</condition>
<fail if="do.abort">Build aborted by user.</fail>
</target>
<target name="clean">
<delete dir="${wsdev.dbss.building.path}/META-INF" />
<!--<delete file="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmt.war"/>-->
<delete dir="${wsdbss.client.class.destination}"/>
</target>
<target name="init" depends="clean">
<tstamp prefix="start"/>
<echo>
Build started at: ${start.DSTAMP} ${start.TSTAMP}
-----------------
sdk.home= ${sdk.home}
weblogic.home= ${weblogic.home}
project.home= ${project.home}
mnp.lib.path= ${mnp.lib.path}
build.prop.file= ${build.prop.file}
</echo>
<mkdir dir="${wsdev.dbss.building.path}"/>
<mkdir dir="${wsdbss.client.class.destination}"/>
</target>
<!-- CLIENT WEB SERVICE DBSS - INVIO VARIAZIONI STATO -->
<!-- <target name="wsdbssdonorclean" if="do.clientScaffolding" depends="chiediconferma-ws-client">
<delete dir="${wsdbss.client.donor.class.position/source}"/>
<delete dir="${wsdbss.client.donor.class.position/classes}"/>
</target>
<target name="build-ws-dbss-donor-client" depends="wsdbssdonorclean" if="do.clientScaffolding">
<clientgen wsdl="${wsdbss.client.donor.wsdl.file}"
destDir="${wsdbss.client.donor.class.position}/source"
packageName="it.valueteam.wsdbss.webservices.client.donor"
/>
</target>
<target name="jar_mnp_dbss_donor_ws_client" depends="build-ws-dbss-donor-client">
<javac srcdir="${wsdbss.client.donor.class.position}/source" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<tstamp prefix="startWsDbssClient"/>
<mkdir dir="${wsdbss.client.jar}/deploy_donor_${startWsDbssClient.DSTAMP}_${startWsDbssClient.TSTAMP}"/>
<jar basedir="${wsdbss.client.donor.class.position}/source"
destfile="${wsdbss.client.jar}/deploy_donor_${startWsDbssClient.DSTAMP}_${startWsDbssClient.TSTAMP}/dbcfx-dbss-donor-ws-
client.jar" excludes="**/*.java">
</jar>
<copy
file="${wsdbss.client.jar}/deploy_donor_${startWsDbssClient.DSTAMP}_${startWsDbssClient.TSTAMP}/dbcfx-dbss-donor-ws-clie
nt.jar" todir="${dbcfx.ear.path}/res/APP-INF/lib"/>
</target> -->
<!-- FINE CLIENT WEB SERVICE DBSS - DONOR -->
<target name="chiediconferma-ws-artifact">
<echo>
**************************************************************
ATTENZIONE: Questo task ricreera' tutte le classi relative
ai web service.
Se ne e' gia' stata fatta una personalizzazione verra' persa
**************************************************************
</echo>
<input message="Sei sicuro di voler continuare? " validargs="s,n" addproperty="dowsartifacts"/>
<condition property="do.wsartifacts">
<equals arg1="s" arg2="${dowsartifacts}"/>
</condition>
</target>
<!-- DEFINIZIONE TASK PER CREAZIONE ARTEFATTI SERVER WEB SERVICE -->
<taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" classpathref="ws.gen.all.classpath" />
<taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask" classpathref="ws.gen.all.classpath"/>
<taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" classpathref="ws.gen.all.classpath"/>
<!-- **********************************************************
INIZIO TARGET CREAZIONE ARTEFATTI SERVER PER LAST PORTABILITY
(genera anche lo stub per implementazione del ws)
********************************************************** -->
<target name="LASTPORTABILITYWS" depends="init">
<echo>
**************************************************************
Build LASTPORTABILITYWS
************************************************** ************
</echo>
<delete file="${wsdev.dbss.building.path}/LastPortability_wsdl.jar"/>
<wsdlc
srcWsdl="${wsdev.wsdl.dbss.path}/lastPortability.wsdl"
destJwsDir="${wsdev.dbss.building.path}"
destImplDir="${wsdev.wssrc.path}"
packageName="mnp.proxy.ws.portabilitystate"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<mkdir dir="${wsdev.dbss.building.path}/temp" />
<unzip src="${wsdev.dbss.building.path}/LastPortability_wsdl.jar" dest="${wsdev.dbss.building.path}/temp" />
<javac includeantruntime="false" srcdir="${wsdev.dbss.building.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.dbss.building.path}/WSPortabilityCommon.jar">
<fileset dir="${wsdev.dbss.building.path}/temp"/>
</jar>
<copy todir="${mnp.ear.path}/APP-INF/lib" file="${wsdev.dbss.building.path}/WSPortabilityCommon.jar"/>
<delete dir="${wsdev.dbss.building.path}/temp" />
</target>
<!-- **********************************************************
INIZIO TARGET CREAZIONE ARTEFATTI SERVER PER NOTIFY GISP EVENT
(genera anche lo stub per implementazione del ws)
********************************************************** -->
<target name="NOTIFYGISPEVENTWS" depends="init">
<echo>
**************************************************************
Build NOTIFYGISPEVENTWS
************************************************** ************
</echo>
<delete file="${wsdev.gisp.building.path}/NotifyGispEvent_wsdl.jar"/>
<wsdlc
srcWsdl="${wsdev.wsdl.gisp.path}/notifyGispEvent.wsdl"
destJwsDir="${wsdev.gisp.building.path}"
destImplDir="${wsdev.wssrc.path}"
packageName="mnp.proxy.ws.gisp"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<mkdir dir="${wsdev.gisp.building.path}/temp" />
<unzip src="${wsdev.gisp.building.path}/NotifyGispEvent_wsdl.jar" dest="${wsdev.gisp.building.path}/temp" />
<javac includeantruntime="false" srcdir="${wsdev.gisp.building.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.gisp.building.path}/WSNotifyGispEventCommon.jar">
<fileset dir="${wsdev.gisp.building.path}/temp"/>
</jar>
<copy todir="${mnp.ear.path}/APP-INF/lib" file="${wsdev.gisp.building.path}/WSNotifyGispEventCommon.jar"/>
<delete dir="${wsdev.gisp.building.path}/temp" />
</target>
<target name="ESITOCESSMNPWS" depends="init">
<echo>
**************************************************************
Build ESITOCESSMNPWS
************************************************** ************
</echo>
<delete file="${wsdev.gisp.building.path}/esito/EsitoCessMnp_wsdl.jar"/>
<wsdlc
srcWsdl="${wsdev.wsdl.gisp.path}/EsitoCessMnp.wsdl"
destJwsDir="${wsdev.gisp.building.path}/esito"
destImplDir="${wsdev.wssrc.path}"
packageName="mnp.proxy.ws.gisp"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<mkdir dir="${wsdev.gisp.building.path}/esito/temp" />
<unzip src="${wsdev.gisp.building.path}/esito/EsitoCessMnp_wsdl.jar" dest="${wsdev.gisp.building.path}/esito/temp" />
<javac includeantruntime="false" srcdir="${wsdev.gisp.building.path}/esito/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.gisp.building.path}/esito/WSEsitoCessMnpCommon.jar">
<fileset dir="${wsdev.gisp.building.path}/esito/temp"/>
</jar>
<copy todir="${mnp.ear.path}/APP-INF/lib" file="${wsdev.gisp.building.path}/esito/WSEsitoCessMnpCommon.jar"/>
<delete dir="${wsdev.gisp.building.path}/esito/temp" />
</target>
<target name="ESITORICMVNOWS" depends="init">
<echo>
**************************************************************
Build ESITORICMVNOWS
************************************************** ************
</echo>
<delete file="${wsdev.o2c.building.path}/esitoRicMvno/EsitoRicMvno_wsdl.jar"/>
<wsdlc
srcWsdl="${wsdev.wsdl.o2c.path}/esitoRicMvno.wsdl"
destJwsDir="${wsdev.o2c.building.path}/esitoRicMvno"
destImplDir="${wsdev.wssrc.path}"
packageName="mnp.proxy.ws.o2c"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<mkdir dir="${wsdev.o2c.building.path}/esitoRicMvno/temp" />
<unzip src="${wsdev.o2c.building.path}/esitoRicMvno/EsitoRicMvno_wsdl.jar" dest="${wsdev.o2c.building.path}/esitoRicMvno/temp" />
<javac includeantruntime="false" srcdir="${wsdev.o2c.building.path}/esitoRicMvno/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.o2c.building.path}/esitoRicMvno/WSEsitoRicMvnoCommon.jar">
<fileset dir="${wsdev.o2c.building.path}/esitoRicMvno/temp"/>
</jar>
<copy todir="${mnp.ear.path}/APP-INF/lib" file="${wsdev.o2c.building.path}/esitoRicMvno/WSEsitoRicMvnoCommon.jar"/>
<delete dir="${wsdev.o2c.building.path}/esitoRicMvno/temp" />
</target>
<!-- **********************************************************
INIZIO TARGET CREAZIONE ARTEFATTI SERVER PER WS VERSO DBSS
(genera anche lo stub per implementazione del ws)
********************************************************** -->
<target name="WSDBSSbuildJWS" if="do.wsartifacts" depends="chiediconferma-ws-artifact, init">
<delete file="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmt_wsdl.jar"/>
<wsdlc
srcWsdl="${wsdev.wsdl.dbss.path}/MobileNumberPortabilityMgmt.wsdl"
destJwsDir="${wsdev.dbss.building.path}"
destImplDir="${wsdev.wssrc.path}"
packageName="mnp.proxy.ws.dbss"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<mkdir dir="${wsdev.dbss.building.path}/temp" />
<unzip src="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmt_wsdl.jar" dest="${wsdev.dbss.building.path}/temp" />
<javac includeantruntime="false" srcdir="${wsdev.dbss.building.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.dbss.building.path}/WSDBSSCommon.jar">
<fileset dir="${wsdev.dbss.building.path}/temp"/>
</jar>
<delete dir="${wsdev.dbss.building.path}/temp" />
</target>
<!-- **********************************************************
INIZIO TARGET CREAZIONE ARTEFATTI SERVER PER WS MobileNumberPortabilityMgmtResponse
(genera anche lo stub per implementazione del ws per simulatore)
********************************************************** -->
<target name="WSDBSSbuildJWSResponse" if="do.wsartifacts" depends="chiediconferma-ws-artifact, init">
<delete file="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmtResponse-v1_Concrete_wsdl.jar"/>
<wsdlc
srcWsdl="${wsdev.wsdl.dbss.path}/MobileNumberPortabilityMgmtResponse-v1_Concrete.wsdl"
destJwsDir="${wsdev.dbss.building.path}"
destImplDir="${wsdev.wssrc.path}"
packageName="mnp.proxy.ws.dbssresponse"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<mkdir dir="${wsdev.dbss.building.path}/temp" />
<unzip src="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmtResponse-v1_Concrete_wsdl.jar"
dest="${wsdev.dbss.building.path}/temp" />
<javac includeantruntime="false" srcdir="${wsdev.dbss.building.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.dbss.building.path}/WSDBSSCommonResponse.jar">
<fileset dir="${wsdev.dbss.building.path}/temp"/>
</jar>
<delete dir="${wsdev.dbss.building.path}/temp" />
</target>
<!-- **********************************************************
TARGET CREAZIONE ARTEFATTI CLIENT PER WS MobileNumberPortabilityMgmtResponse
********************************************************** -->
<target name="MNPMgmtResp" depends="">
<mkdir dir="${wsdev.dbss.client.path}/temp" />
<clientgen
wsdl="${wsdev.wsdl.dbss.path}/MobileNumberPortabilityMgmtResponse-v1_Concrete.wsdl"
destDir="${wsdev.dbss.client.path}/temp"
handlerChainFile="${wsdev.wsdl.dbss.path}/handlerClient.config.xml"
packageName="it.valueteam.mnp.ws.dbss.client"
type="JAXRPC"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<!--<unzip src="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmtResponse-v1_Concrete_wsdl.jar"
dest="${wsdev.dbss.building.path}/temp" />-->
<javac includeantruntime="false" srcdir="${wsdev.dbss.client.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.dbss.client.path}/WSDBSS-Response-Client.jar">
<fileset dir="${wsdev.dbss.client.path}/temp"/>
</jar>
<delete dir="${wsdev.dbss.client.path}/temp" />
</target>
<!-- **********************************************************
TARGET CREAZIONE ARTEFATTI CLIENT PER WS GISP
********************************************************** -->
<target name="richiestaCessazioneLineaDonor" depends="">
<mkdir dir="${wsdev.gisp.client.path}/temp" />
<clientgen
wsdl="${wsgisp.client.wsdl.file}"
destDir="${wsdev.gisp.client.path}/temp"
handlerChainFile="${wsdev.wsdl.gisp.path}/handlerClient.config.xml"
packageName="it.valueteam.mnp.ws.gisp.client"
type="JAXRPC"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<!--<unzip src="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmtResponse-v1_Concrete_wsdl.jar"
dest="${wsdev.dbss.building.path}/temp" />-->
<javac includeantruntime="false" srcdir="${wsdev.gisp.client.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.gisp.client.path}/WSGISP-Linea-Donor.jar">
<fileset dir="${wsdev.gisp.client.path}/temp"/>
</jar>
<delete dir="${wsdev.gisp.client.path}/temp" />
</target>
<!-- **********************************************************
TARGET CREAZIONE ARTEFATTI CLIENT PER WS VERSO DBSS
********************************************************** -->
<target name="WSDBSSclientGen" depends="">
<!-- <delete file="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmt_wsdl.jar"/> -->
<mkdir dir="${wsdev.dbss.client.path}/temp" />
<clientgen
wsdl="${wsdev.wsdl.dbss.path}/MobileNumberPortabilityMgmt.wsdl"
destDir="${wsdev.dbss.client.path}/temp"
packageName="it.valueteam.mnp.ws.dbss.client"
type="JAXRPC"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<!-- <unzip src="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmt_wsdl.jar"
dest="${wsdev.dbss.building.path}/temp" /> -->
<javac includeantruntime="false" srcdir="${wsdev.dbss.client.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.dbss.client.path}/WSDBSSclient.jar">
<fileset dir="${wsdev.dbss.client.path}/temp"/>
</jar>
<delete dir="${wsdev.dbss.client.path}/temp" />
</target>
<!-- **********************************************************
INIZIO TARGET CREAZIONE ARTEFATTI SERVER PER WS PortingOutMgmt
(genera anche lo stub per implementazione del ws per simulatore)
********************************************************** -->
<target name="WSDBSSbuildPortingOutMgmt" if="do.wsartifacts" depends="chiediconferma-ws-artifact, init">
<!--<delete file="${wsdev.dbss.building.path}/PortingOutMgmt/PortingOutMgmt_wsdl.jar"/>-->
<wsdlc
srcWsdl="${wsdev.wsdl.dbss.path}/PortingOutMgmt/PortingOutMgmt.wsdl"
destJwsDir="${wsdev.dbss.building.path}"
destImplDir="${wsdev.wssrc.path}"
packageName="mnp.proxy.ws.dbssresponse"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<mkdir dir="${wsdev.dbss.building.path}/temp" />
<unzip src="${wsdev.dbss.building.path}/PortingOutMgmt_wsdl.jar" dest="${wsdev.dbss.building.path}/temp" />
<javac includeantruntime="false" srcdir="${wsdev.dbss.building.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.dbss.building.path}/WSDBSSCommonPortingOutMgmt.jar">
<fileset dir="${wsdev.dbss.building.path}/temp"/>
</jar>
<delete dir="${wsdev.dbss.building.path}/temp" />
</target>
<target name="PortingOutMgmtClient" depends="">
<mkdir dir="${wsdev.dbss.client.path}/temp" />
<clientgen
wsdl="${wsdev.wsdl.dbss.path}/PortingOutMgmt/PortingOutMgmt.wsdl"
destDir="${wsdev.dbss.client.path}/temp"
handlerChainFile="${wsdev.wsdl.dbss.path}/PortingOutMgmt/handlerClient.config.xml"
packageName="it.valueteam.mnp.ws.dbss.client"
type="JAXRPC"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<!--<unzip src="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmtResponse-v1_Concrete_wsdl.jar"
dest="${wsdev.dbss.building.path}/temp" />-->
<javac includeantruntime="false" srcdir="${wsdev.dbss.client.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.dbss.client.path}/WSDBSS-PortingOutMgmt-Client.jar">
<fileset dir="${wsdev.dbss.client.path}/temp"/>
</jar>
<delete dir="${wsdev.dbss.client.path}/temp" />
</target>
<!-- ************************************************************
FINE TARGET CREAZIONE ARTEFATTI SERVER PER WS PortingOutMgmt
************************************************************ -->
<!-- **********************************************************
INIZIO TARGET CREAZIONE ARTEFATTI SERVER PER WS MobilePrepaidMNPTransferCreditOrderMgmt
(genera anche lo stub per implementazione del ws per simulatore)
********************************************************** -->
<target name="WSDBSSbuildMNPTransferCreditOrderMgmt" if="do.wsartifacts" depends="chiediconferma-ws-artifact, init">
<delete
file="${wsdev.dbss.building.path}/MobilePrepaidMNPTransferCreditOrderMgmt/MobilePrepaidMNPTransferCreditOrderMgmt_wsdl.j
ar"/>
<wsdlc
srcWsdl="${wsdev.wsdl.dbss.path}/MobilePrepaidMNPTransferCreditOrderMgmt/MobilePrepaidMNPTransferCreditOrderMgmt.wsd
l"
destJwsDir="${wsdev.dbss.building.path}"
destImplDir="${wsdev.wssrc.path}"
packageName="mnp.proxy.ws.dbssresponse"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<mkdir dir="${wsdev.dbss.building.path}/temp" />
<unzip src="${wsdev.dbss.building.path}/MobilePrepaidMNPTransferCreditOrderMgmt_wsdl.jar"
dest="${wsdev.dbss.building.path}/temp" />
<javac includeantruntime="false" srcdir="${wsdev.dbss.building.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.dbss.building.path}/WSDBSSCommonMNPTransferCreditOrderMgmt.jar">
<fileset dir="${wsdev.dbss.building.path}/temp"/>
</jar>
<delete dir="${wsdev.dbss.building.path}/temp" />
</target>
<target name="MNPTransferCreditOrderMgmt" depends="">
<mkdir dir="${wsdev.dbss.client.path}/temp" />
<clientgen
wsdl="${wsdev.wsdl.dbss.path}/MobilePrepaidMNPTransferCreditOrderMgmt/MobilePrepaidMNPTransferCreditOrderMgmt.wsdl"
destDir="${wsdev.dbss.client.path}/temp"
handlerChainFile="${wsdev.wsdl.dbss.path}/MobilePrepaidMNPTransferCreditOrderMgmt/handlerClient.config.xml"
packageName="it.valueteam.mnp.ws.dbss.client"
type="JAXRPC"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<unzip src="${wsdev.dbss.building.path}/MobilePrepaidMNPTransferCreditOrderMgmt_wsdl.jar"
dest="${wsdev.dbss.building.path}/temp" />
<javac includeantruntime="false" srcdir="${wsdev.dbss.client.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.dbss.client.path}/WSDBSS-MNPTransferCreditOrderMgmt-Client.jar">
<fileset dir="${wsdev.dbss.client.path}/temp"/>
</jar>
<delete dir="${wsdev.dbss.client.path}/temp" />
</target>
<!-- ************************************************************
FINE TARGET CREAZIONE ARTEFATTI SERVER PER WS MobilePrepaidMNPTransferCreditOrderMgmt
************************************************************ -->
<target name="CustomerQuerybuildJWSResponse" depends="">
<echo>
**************************************************************
Build CustomerQuerybuildJWSResponse
************************************************** ************
</echo>
<mkdir dir="${wsdev.dbss.client.path}/temp" />
<clientgen
wsdl="${wsdev.wsdl.dbss.path}/CustomerQuery-v1_concrete.wsdl"
destDir="${wsdev.dbss.client.path}/temp"
handlerChainFile="${wsdev.wsdl.dbss.path}/handlerClientCustomerQuery.config.xml"
packageName="it.valueteam.mnp.ws.dbss.customerqueryclient"
type="JAXRPC"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<!--<unzip src="${wsdev.dbss.building.path}/CustomerQuery-v1_concrete_wsdl.jar"
dest="${wsdev.dbss.building.path}/temp" />-->
<javac includeantruntime="false" srcdir="${wsdev.dbss.client.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.dbss.client.path}/WSDBSS-CustomerQueryResponse-x.jar">
<fileset dir="${wsdev.dbss.client.path}/temp"/>
</jar>
<delete dir="${wsdev.dbss.client.path}/temp" />
</target>
<!-- **********************************************************
TARGET CREAZIONE ARTEFATTI CLIENT PER WS VERSO DBSS
********************************************************** -->
<target name="WSGISPclientGen" depends="">
<mkdir dir="${wsdev.gisp.client.path}/temp" />
<clientgen
wsdl="${wsdev.wsdl.gisp.path}/IBK50_Concrete.wsdl"
destDir="${wsdev.gisp.client.path}/temp"
packageName="it.valueteam.mnp.ws.gisp.client"
type="JAXRPC"/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<!-- <unzip src="${wsdev.dbss.building.path}/MobileNumberPortabilityMgmt_wsdl.jar"
dest="${wsdev.dbss.building.path}/temp" /> -->
<javac includeantruntime="false" srcdir="${wsdev.gisp.client.path}/temp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.gisp.client.path}/WSIBK50client.jar">
<fileset dir="${wsdev.gisp.client.path}/temp"/>
</jar>
<delete dir="${wsdev.gisp.client.path}/temp" />
</target>
<!--
***********************************************************************
TARGET CREAZIONE ARTEFATTI CLIENT PER WS IBK61 VERSO O2C
***********************************************************************
-->
<target name="WSO2CIBK61ClientGen" depends="">
<mkdir dir="${wsdev.o2c.client.path}/IBK61/tmp" />
<!-- Nel file handlerClientIBK61.config.xml definire la classe mnp.proxy.ws.o2c.client.IBK61SOAPHandler.java di log -->
<clientgen
wsdl="${wsdev.wsdl.o2c.path}/IBK61/IBK61_Concrete.wsdl"
destDir="${wsdev.o2c.client.path}/IBK61/tmp"
handlerChainFile="${wsdev.wsdl.o2c.path}/IBK61/handlerClientIBK61.config.xml"
packageName="it.valueteam.mnp.ws.o2c.client"
type="JAXRPC"
/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<javac includeantruntime="false" srcdir="${wsdev.o2c.client.path}/IBK61/tmp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.o2c.client.path}/IBK61/WSO2CIBK61Client.jar">
<fileset dir="${wsdev.o2c.client.path}/IBK61/tmp"/>
</jar>
<copy todir="${mnp.ear.path}/APP-INF/lib" file="${wsdev.o2c.client.path}/IBK61/WSO2CIBK61Client.jar"/>
<delete dir="${wsdev.o2c.client.path}/IBK61/tmp" />
</target>
<!--
***********************************************************************
TARGET CREAZIONE ARTEFATTI CLIENT PER WS IBK63 VERSO O2C
***********************************************************************
-->
<target name="WSO2CIBK63ClientGen" depends="">
<mkdir dir="${wsdev.o2c.client.path}/IBK63/tmp" />
<!-- Nel file handlerClientIBK63.config.xml definire la classe mnp.proxy.ws.o2c.client.IBK63SOAPHandler.java di log -->
<clientgen
wsdl="${wsdev.wsdl.o2c.path}/IBK63/IBK63_Concrete.wsdl"
destDir="${wsdev.o2c.client.path}/IBK63/tmp"
handlerChainFile="${wsdev.wsdl.o2c.path}/IBK63/handlerClientIBK63.config.xml"
packageName="it.valueteam.mnp.ws.o2c.client"
type="JAXRPC"
/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<javac includeantruntime="false" srcdir="${wsdev.o2c.client.path}/IBK63/tmp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.o2c.client.path}/IBK63/WSO2CIBK63Client.jar">
<fileset dir="${wsdev.o2c.client.path}/IBK63/tmp"/>
</jar>
<copy todir="${mnp.ear.path}/APP-INF/lib" file="${wsdev.o2c.client.path}/IBK63/WSO2CIBK63Client.jar"/>
<delete dir="${wsdev.o2c.client.path}/IBK63/tmp" />
</target>
<!--
***********************************************************************
TARGET CREAZIONE ARTEFATTI CLIENT PER WS IBK65 VERSO O2C
***********************************************************************
-->
<target name="WSO2CIBK65ClientGen" depends="">
<mkdir dir="${wsdev.o2c.client.path}/IBK65/tmp" />
<!-- Nel file handlerClientIBK65.config.xml definire la classe mnp.proxy.ws.o2c.client.IBK65SOAPHandler.java di log -->
<clientgen
wsdl="${wsdev.wsdl.o2c.path}/IBK65/IBK65_Concrete.wsdl"
destDir="${wsdev.o2c.client.path}/IBK65/tmp"
handlerChainFile="${wsdev.wsdl.o2c.path}/IBK65/handlerClientIBK65.config.xml"
packageName="it.valueteam.mnp.ws.o2c.client"
type="JAXRPC"
/>
<!-- Compila i sorgenti e impacchetta le classi in un jar allo scopo di utilizzarlo con Eclipse -->
<javac includeantruntime="false" srcdir="${wsdev.o2c.client.path}/IBK65/tmp" includes="**/*.java">
<classpath refid="ws.gen.all.classpath"/>
</javac>
<jar destfile="${wsdev.o2c.client.path}/IBK65/WSO2CIBK65Client.jar">
<fileset dir="${wsdev.o2c.client.path}/IBK65/tmp"/>
</jar>
<copy todir="${mnp.ear.path}/APP-INF/lib" file="${wsdev.o2c.client.path}/IBK65/WSO2CIBK65Client.jar"/>
<delete dir="${wsdev.o2c.client.path}/IBK65/tmp" />
</target>
</project>