awips2/edexOsgi/build.edex/build.xml
Tiffany Meyer f05553a0df Added awips2-cimss repo back into the build process for the probSevere plugins
build/repos - had to add awips2-cimss to the list of repos to look at
build/rsync.cave - had to add the awips2-cimss directories to sync into the docker (common, edex, features, viz)
build/rsync.dirs - had to add the awips2-cimss directories to sync into the docker (common, edex, features, viz)
cave/build/features.txt - had to add the viz feature to this file
cave/build/p2-build.xml - had to add the viz feature to this file
cave/com.raytheon.viz.feature.awips.developer/feature.xml - had to add the viz feature to this file
cave/com.raytheon.viz.product.awips/awips.product - had to add the viz feature to this file
edexOsgi/build.edex/build.xml - had to add the edex feature to this file
	NOTE: I tried adding it to the edexOsgi/com.raytheon.edex.feature.uframe/feature.xml but that ended up not working, so I removed it
edexOsgi/build.edex/edex/common.properties - had to create the awips2-cimss repo, add it to the optional repos, and then add the previx edu.wisc
2021-05-17 21:40:26 -04:00

140 lines
4.2 KiB
XML

<project name="Build EDEX" default="main">
<property name="uframe.eclipse"
value="/awips2/eclipse" />
<property name="build.version"
value="1.0.0" />
<property name="build.os"
value="linux" />
<property name="build.ws"
value="gtk" />
<property name="build.arch"
value="x86" />
<property name="lightning"
value="false" />
<target name="init">
<exec executable="/usr/bin/find"
outputproperty="eclipse.launcher.jar">
<arg value="${uframe.eclipse}/plugins" />
<arg value="-name" />
<arg value="org.eclipse.equinox.launcher_*.jar" />
</exec>
<exec executable="/usr/bin/find"
outputproperty="pde.dir">
<arg value="${uframe.eclipse}/plugins" />
<arg value="-name" />
<arg value="org.eclipse.pde.build_*" />
</exec>
</target>
<target name="main-build" depends="clean, init">
<!--
For the Unidata build, most edex features have been combined into com.raytheon.uf.edex.dataplugins.feature
-->
<!-- required -->
<antcall target="build">
<param name="feature" value="com.raytheon.uf.common.base.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="com.raytheon.uf.edex.base.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="com.raytheon.uf.edex.cots.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="com.raytheon.uf.edex.common.core.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="com.raytheon.uf.edex.core.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="com.raytheon.uf.edex.dataplugins.feature" />
</antcall>
<!-- optional builds -->
<antcall target="build">
<param name="feature" value="com.raytheon.uf.edex.gfe.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="edu.ucar.unidata.uf.edex.upc.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="edu.wisc.ssec.cimss.edex.probsevere.feature" />
</antcall>
<!--
<antcall target="build">
<param name="feature" value="com.raytheon.uf.edex.ogc.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="com.raytheon.uf.edex.datadelivery.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="com.raytheon.uf.edex.dat.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="gov.noaa.nws.ncep.uf.edex.swpc.feature" />
</antcall>
<antcall target="build">
<param name="feature" value="com.raytheon.uf.edex.hazards.feature" />
</antcall>
-->
<!-- end optional builds -->
</target>
<target name="main" depends="clean, init, main-build" />
<target name="build" depends="init">
<!-- Execute the eclipse pde build script. -->
<echo message="feature=${feature}" />
<java
classname="org.eclipse.core.launcher.Main"
fork="true"
failonerror="true">
<arg value="-application" />
<arg value="org.eclipse.ant.core.antRunner" />
<arg value="-buildfile" />
<arg value="${pde.dir}/scripts/build.xml" />
<arg value="-DbaseLocation=${uframe.eclipse}" />
<arg value="-Dbuilder=${basedir}/edex" />
<arg value="-DbuildDirectory=${basedir}/edex/tmp" />
<arg value="-DtopLevelElementId=${feature}" />
<arg value="-Dbase=${basedir}/edex" />
<arg value="-Dconfigs=${build.os},${build.ws},${build.arch}" />
<classpath>
<pathelement
location="${eclipse.launcher.jar}" />
</classpath>
</java>
</target>
<target name="clean">
<if>
<available file="${basedir}/edex/includes"
type="dir" />
<then>
<delete includeemptydirs="true">
<fileset dir="${basedir}/edex"
includes ="includes/**" />
</delete>
</then>
</if>
<if>
<available file="${basedir}/edex/tmp"
type="dir" />
<then>
<delete includeemptydirs="true">
<fileset dir="${basedir}/edex"
includes ="tmp/**" />
</delete>
</then>
</if>
</target>
<taskdef resource="net/sf/antcontrib/antlib.xml" />
</project>