vlc.c2j-service-ant-build-war-xml.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of legstar-jaxws-generator Show documentation
Show all versions of legstar-jaxws-generator Show documentation
Generates adapters and proxies for inbound and outbound mainframe integration with Web Services.
##/////////////////////////////////////////////////////////////////////
##Jaxws Component ANT Build and deploy Template.
##@author Fady
##/////////////////////////////////////////////////////////////////////
##
#set($warFile = "${targetDistDir}/c2ws-${model.name}.war")
#set($wddFile = "${targetWDDDir}/web.xml")
## ==================================================================
## Macro will help make sure we process packages only once
## ==================================================================
#macro(addPackage $list, $newPackage)
#if (!$list.contains($newPackage))
#set($ret = $list.add($newPackage))
#end
#end
## ==================================================================
## Create lists of unique jaxb and coxb package names
## ==================================================================
#set($jaxbPackages = [])
#set($coxbPackages = [])
#foreach ($cixsOperation in $model.cixsOperations)
#foreach ($cixsStructure in $cixsOperation.getInput())
#addPackage($jaxbPackages, ${cixsStructure.jaxbPackageName})
#addPackage($coxbPackages, ${cixsStructure.coxbPackageName})
#end
#foreach ($cixsStructure in $cixsOperation.getOutput())
#addPackage($jaxbPackages, ${cixsStructure.jaxbPackageName})
#addPackage($coxbPackages, ${cixsStructure.coxbPackageName})
#end
#end
#foreach ($jaxbPackage in $jaxbPackages)
#end
#foreach ($coxbPackage in $coxbPackages)
#end