Former-commit-id:06b8eb8db0
[formerly c8797ef99646b2e093ad60cb9a6ee9643405a13f] Former-commit-id:e6217a17de
425 lines
21 KiB
XML
425 lines
21 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project name="com.raytheon.uf.edex.cots.feature" default="build.update.jar" basedir=".">
|
|
|
|
<target name="init">
|
|
<property name="feature.temp.folder" value="${basedir}/feature.temp.folder"/>
|
|
<property name="feature.destination" value="${basedir}"/>
|
|
<property name="p2.build.repo" value="file:${buildDirectory}/buildRepo"/>
|
|
<condition property="p2.publish.parts" value="true" >
|
|
<istrue value="${p2.gathering}"/>
|
|
</condition>
|
|
</target>
|
|
|
|
<target name="all.plugins" depends="init">
|
|
<ant antfile="build.xml" dir="../../ncep/edu.wisc.ssec.mcidas" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
|
|
<ant antfile="build.xml" dir="../../ncep/gov.nasa.gsfc.fits" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
|
|
<ant antfile="build.xml" dir="../../cots/org.eclipse.jetty" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.dom4j" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/javax.media.opengl" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/javax.mail" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/javax.persistence" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.objectweb" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/javax.measure" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/net.sf.ehcache" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.commons.management" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.camel" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.jep" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/com.facebook.thrift" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/com.mchange" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/net.sf.cglib" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.postgres" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/com.opensymphony.ognl" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/javax.vecmath" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.commons.cli" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/com.sun.jndi.nis" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/uk.ltd.getahead" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.commons.pool" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.commons.codec" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.tools.bzip2" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/com.sun.jna" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.commons.collections" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.commons.validator" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/javax.jms" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.log4j" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.slf4j" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/ucar.nc2" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.hibernate" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.commons.logging" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.geotools" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.springframework" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.http" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.activemq" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.mina" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.jboss.cache" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/javax.activation" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.commons.beanutils" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.velocity" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.commons.digester" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.commons.configuration" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/org.apache.qpid" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="../../cots/ncsa.hdf5" target="${target}">
|
|
<property name="arch" value="x86"/>
|
|
<property name="ws" value="gtk"/>
|
|
<property name="os" value="linux"/>
|
|
</ant>
|
|
</target>
|
|
<target name="all.features" depends="init">
|
|
</target>
|
|
<target name="update.feature" depends="init">
|
|
</target>
|
|
|
|
<target name="all.children" depends="init,all.features,all.plugins,update.feature">
|
|
</target>
|
|
|
|
<target name="children" if="include.children">
|
|
<antcall target="all.children"/>
|
|
</target>
|
|
|
|
<target name="build.jars" depends="init" description="Build all the jars for the feature: com.raytheon.uf.edex.cots.feature.">
|
|
<antcall target="all.children">
|
|
<param name="target" value="build.jars"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
<target name="build.sources" depends="init">
|
|
<antcall target="all.children">
|
|
<param name="target" value="build.sources"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
<target name="build.zips" depends="init">
|
|
<antcall target="all.children">
|
|
<param name="target" value="build.zips"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
<target name="build.update.jar" depends="init" description="Build the feature jar of: com.raytheon.uf.edex.cots.feature for an update site.">
|
|
<antcall target="all.children">
|
|
<param name="target" value="build.update.jar"/>
|
|
</antcall>
|
|
<property name="feature.base" value="${feature.temp.folder}"/>
|
|
<delete dir="${feature.temp.folder}"/>
|
|
<mkdir dir="${feature.temp.folder}"/>
|
|
<mkdir dir="${feature.temp.folder}/features/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251"/>
|
|
<antcall target="gather.bin.parts" inheritAll="false">
|
|
<param name="os" value="*"/>
|
|
<param name="feature.base" value="${feature.temp.folder}"/>
|
|
<param name="updateJar.omitRootfiles" value="true"/>
|
|
<param name="ws" value="*"/>
|
|
<param name="arch" value="*"/>
|
|
<param name="nl" value="*"/>
|
|
</antcall>
|
|
<jar destfile="${feature.destination}/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251.jar" basedir="${feature.temp.folder}/features/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251"/>
|
|
<delete dir="${feature.temp.folder}"/>
|
|
</target>
|
|
|
|
<target name="publish.bin.parts" depends="init" if="p2.publish.parts">
|
|
<mkdir dir="${feature.temp.folder}/features/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251"/>
|
|
<copy todir="${feature.temp.folder}/features/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251" failonerror="true" overwrite="true">
|
|
<fileset dir="${basedir}">
|
|
<include name="feature.xml"/>
|
|
</fileset>
|
|
</copy>
|
|
<eclipse.idReplacer featureFilePath="${feature.temp.folder}/features/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251/feature.xml" selfVersion="1.0.0.201206071251" featureIds="" pluginIds="com.facebook.thrift:0.0.0,1.0.0.201206071251,com.mchange:0.0.0,1.0.0.201206071251,javax.activation:0.0.0,1.0.0.201206071251,javax.mail:0.0.0,1.0.0.201206071251,javax.measure:0.0.0,1.0.0.201206071251,javax.media.opengl:0.0.0,1.1.0,javax.persistence:0.0.0,1.0.0.201206071251,javax.vecmath:0.0.0,1.3.1,ncsa.hdf5:0.0.0,2.4.0,net.sf.ehcache:0.0.0,1.0.0.201206071251,org.apache.mina:0.0.0,1.0.0.201206071251,org.apache.activemq:0.0.0,5.2.0,org.apache.commons.beanutils:0.0.0,1.8.3,org.apache.commons.codec:0.0.0,1.4.0,org.apache.commons.collections:0.0.0,3.2.0,org.apache.commons.configuration:0.0.0,1.6.0,org.apache.commons.digester:0.0.0,1.8.1,org.apache.commons.logging:0.0.0,1.1.1,org.apache.commons.pool:0.0.0,1.3.0,org.apache.commons.validator:0.0.0,1.2.0,org.apache.velocity:0.0.0,1.5.0,org.apache.log4j:0.0.0,1.0.0.201206071251,org.slf4j:0.0.0,1.6.1,org.dom4j:0.0.0,1.0.0.201206071251,org.geotools:0.0.0,2.6.4,org.jep:0.0.0,1.0.0.201206071251,ucar.nc2:0.0.0,1.0.0.201206071251,uk.ltd.getahead:0.0.0,1.0.0.201206071251,org.objectweb:0.0.0,1.0.0.201206071251,org.apache.camel:0.0.0,1.0.0.201206071251,org.postgres:0.0.0,1.0.0.201206071251,net.sf.cglib:0.0.0,2.1.3,org.springframework:0.0.0,2.5.6,org.apache.tools.bzip2:0.0.0,1.0.0.201206071251,com.opensymphony.ognl:0.0.0,1.0.0.201206071251,javax.jms:0.0.0,1.0.0.201206071251,org.apache.qpid:0.0.0,1.0.0.7,org.apache.commons.management:0.0.0,1.0.0.201206071251,org.hibernate:0.0.0,1.0.0.201206071251,org.jboss.cache:0.0.0,1.0.0.201206071251,org.eclipse.jetty:0.0.0,7.1.4.v20100610,edu.wisc.ssec.mcidas:0.0.0,1.0.0.201206071251,com.sun.jna:0.0.0,3.3.0,org.apache.http:0.0.0,4.1.2,com.sun.jndi.nis:0.0.0,1.0.0.201206071251,org.apache.commons.cli:0.0.0,1.0.0.201206071251,"/>
|
|
<eclipse.gatherFeature
|
|
metadataRepository="${p2.build.repo}"
|
|
artifactRepository="${p2.build.repo}"
|
|
buildResultFolder="${feature.temp.folder}/features/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251"
|
|
baseDirectory="${basedir}"
|
|
/>
|
|
</target>
|
|
|
|
<target name="gather.bin.parts" depends="init" if="feature.base">
|
|
<mkdir dir="${feature.base}/features/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251"/>
|
|
<antcall target="children">
|
|
<param name="target" value="gather.bin.parts"/>
|
|
<param name="destination.temp.folder" value="${feature.base}/plugins"/>
|
|
</antcall>
|
|
<copy todir="${feature.base}/features/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251" failonerror="true" overwrite="false">
|
|
<fileset dir="${basedir}">
|
|
<include name="feature.xml"/>
|
|
</fileset>
|
|
</copy>
|
|
<eclipse.idReplacer featureFilePath="${feature.base}/features/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251/feature.xml" selfVersion="1.0.0.201206071251" featureIds="" pluginIds="com.facebook.thrift:0.0.0,1.0.0.201206071251,com.mchange:0.0.0,1.0.0.201206071251,javax.activation:0.0.0,1.0.0.201206071251,javax.mail:0.0.0,1.0.0.201206071251,javax.measure:0.0.0,1.0.0.201206071251,javax.media.opengl:0.0.0,1.1.0,javax.persistence:0.0.0,1.0.0.201206071251,javax.vecmath:0.0.0,1.3.1,ncsa.hdf5:0.0.0,2.4.0,net.sf.ehcache:0.0.0,1.0.0.201206071251,org.apache.mina:0.0.0,1.0.0.201206071251,org.apache.activemq:0.0.0,5.2.0,org.apache.commons.beanutils:0.0.0,1.8.3,org.apache.commons.codec:0.0.0,1.4.0,org.apache.commons.collections:0.0.0,3.2.0,org.apache.commons.configuration:0.0.0,1.6.0,org.apache.commons.digester:0.0.0,1.8.1,org.apache.commons.logging:0.0.0,1.1.1,org.apache.commons.pool:0.0.0,1.3.0,org.apache.commons.validator:0.0.0,1.2.0,org.apache.velocity:0.0.0,1.5.0,org.apache.log4j:0.0.0,1.0.0.201206071251,org.slf4j:0.0.0,1.6.1,org.dom4j:0.0.0,1.0.0.201206071251,org.geotools:0.0.0,2.6.4,org.jep:0.0.0,1.0.0.201206071251,ucar.nc2:0.0.0,1.0.0.201206071251,uk.ltd.getahead:0.0.0,1.0.0.201206071251,org.objectweb:0.0.0,1.0.0.201206071251,org.apache.camel:0.0.0,1.0.0.201206071251,org.postgres:0.0.0,1.0.0.201206071251,net.sf.cglib:0.0.0,2.1.3,org.springframework:0.0.0,2.5.6,org.apache.tools.bzip2:0.0.0,1.0.0.201206071251,com.opensymphony.ognl:0.0.0,1.0.0.201206071251,javax.jms:0.0.0,1.0.0.201206071251,org.apache.qpid:0.0.0,1.0.0.7,org.apache.commons.management:0.0.0,1.0.0.201206071251,org.hibernate:0.0.0,1.0.0.201206071251,org.jboss.cache:0.0.0,1.0.0.201206071251,org.eclipse.jetty:0.0.0,7.1.4.v20100610,edu.wisc.ssec.mcidas:0.0.0,1.0.0.201206071251,com.sun.jna:0.0.0,3.3.0,org.apache.http:0.0.0,4.1.2,com.sun.jndi.nis:0.0.0,1.0.0.201206071251,org.apache.commons.cli:0.0.0,1.0.0.201206071251,"/>
|
|
<antcall target="rootFiles">
|
|
<param name="rootTarget" value="rootFiles${os}_${ws}_${arch}"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="rootFiles" unless="updateJar.omitRootfiles">
|
|
<antcall target="${rootTarget}"/>
|
|
</target>
|
|
|
|
<target name="rootFileslinux_gtk_x86">
|
|
</target>
|
|
<target name="rootFilesgroup_group_group">
|
|
<antcall target="rootFileslinux_gtk_x86"/>
|
|
</target>
|
|
|
|
<target name="zip.distribution" depends="init" description="Create a zip containing all the plug-ins and features for the feature: com.raytheon.uf.edex.cots.feature.">
|
|
<delete dir="${feature.temp.folder}"/>
|
|
<mkdir dir="${feature.temp.folder}"/>
|
|
<antcall target="gather.bin.parts">
|
|
<param name="feature.base" value="${feature.temp.folder}"/>
|
|
<param name="os" value="*"/>
|
|
<param name="arch" value="*"/>
|
|
<param name="ws" value="*"/>
|
|
<param name="nl" value="*"/>
|
|
<param name="include.children" value="true"/>
|
|
</antcall>
|
|
<zip destfile="${feature.destination}/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251.bin.dist.zip" basedir="${feature.temp.folder}" filesonly="false" whenempty="skip" update="false"/>
|
|
<delete dir="${feature.temp.folder}"/>
|
|
</target>
|
|
|
|
<target name="zip.sources" depends="init">
|
|
<delete dir="${feature.temp.folder}"/>
|
|
<mkdir dir="${feature.temp.folder}"/>
|
|
<antcall target="all.children">
|
|
<param name="target" value="gather.sources"/>
|
|
<param name="destination.temp.folder" value="${feature.temp.folder}/plugins/com.raytheon.uf.edex.cots.feature.source_1.0.0.201206071251/src"/>
|
|
<param name="include.children" value="true"/>
|
|
</antcall>
|
|
<zip destfile="${feature.destination}/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251.src.zip" basedir="${feature.temp.folder}" filesonly="true" whenempty="skip" update="false"/>
|
|
<delete dir="${feature.temp.folder}"/>
|
|
</target>
|
|
|
|
<target name="zip.logs" depends="init">
|
|
<delete dir="${feature.temp.folder}"/>
|
|
<mkdir dir="${feature.temp.folder}"/>
|
|
<condition property="logExtension.param" value="logExtension" else="logExtension.param" >
|
|
<isset property="logExtension"/>
|
|
</condition>
|
|
<antcall target="all.children" inheritAll="false">
|
|
<param name="target" value="gather.logs"/>
|
|
<param name="destination.temp.folder" value="${feature.temp.folder}/plugins"/>
|
|
<param name="include.children" value="true"/>
|
|
<param name="${logExtension.param}" value="${logExtension}"/>
|
|
</antcall>
|
|
<zip destfile="${feature.destination}/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251.log.zip" basedir="${feature.temp.folder}" filesonly="true" whenempty="skip" update="false"/>
|
|
<delete dir="${feature.temp.folder}"/>
|
|
</target>
|
|
|
|
<target name="clean" depends="init" description="Clean the feature: com.raytheon.uf.edex.cots.feature of all the zips, jars and logs created.">
|
|
<delete file="${feature.destination}/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251.jar"/>
|
|
<delete file="${feature.destination}/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251.bin.dist.zip"/>
|
|
<delete file="${feature.destination}/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251.log.zip"/>
|
|
<delete file="${feature.destination}/com.raytheon.uf.edex.cots.feature_1.0.0.201206071251.src.zip"/>
|
|
<delete dir="${feature.temp.folder}"/>
|
|
<antcall target="all.children">
|
|
<param name="target" value="clean"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
<target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
|
|
<eclipse.convertPath fileSystemPath="/var/git/COMMON/edexOsgi/com.raytheon.uf.edex.cots.feature/" property="resourcePath"/>
|
|
<eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
|
|
<antcall target="all.children">
|
|
<param name="target" value="refresh"/>
|
|
</antcall>
|
|
</target>
|
|
<target name="gather.sources">
|
|
<antcall target="children">
|
|
<param name="target" value="gather.sources"/>
|
|
<param name="destination.temp.folder" value="${feature.temp.folder}/plugins/com.raytheon.uf.edex.cots.feature.source_1.0.0.201206071251/src"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
<target name="gather.logs" depends="init">
|
|
<mkdir dir="${feature.temp.folder}/plugins"/>
|
|
<property name="destination.temp.folder" value="${feature.temp.folder}/plugins"/>
|
|
<condition property="logExtension.param" value="logExtension" else="logExtension.param" >
|
|
<isset property="logExtension"/>
|
|
</condition>
|
|
<antcall target="all.children" inheritAll="false">
|
|
<param name="target" value="gather.logs"/>
|
|
<param name="${logExtension.param}" value="${logExtension}"/>
|
|
<param name="destination.temp.folder" value="${feature.temp.folder}/plugins"/>
|
|
</antcall>
|
|
</target>
|
|
|
|
</project>
|