Issue #1927 - handle common base until new build implementation

Former-commit-id: 977de6e3ab58905fada220a766039ff6e014b9ec
This commit is contained in:
Bryan Kowal 2013-05-16 23:56:47 -05:00
parent c421240835
commit 63f57de31f

View file

@ -189,15 +189,21 @@ function buildFeatureRPMs()
echo "feature = ${feature}"
if [ "${feature}" = "com.raytheon.uf.viz.cots.feature" ] ||
[ "${feature}" = "com.raytheon.uf.viz.base.feature" ]; then
[ "${feature}" = "com.raytheon.uf.viz.base.feature" ] ||
[ "${feature}" = "com.raytheon.uf.viz.localization.perspective.feature" ]; then
_component_name = ""
_component_name=""
_downstream_requires="awips2-common-base"
if [ "${feature}" = "com.raytheon.uf.viz.cots.feature" ]; then
_component_name="awips2-cave-viz-cots"
fi
if [ "${feature}" = "com.raytheon.uf.viz.base.feature" ]; then
_component_name="awips2-cave-viz-base"
fi
if [ "${feature}" = "com.raytheon.uf.viz.localization.perspective.feature" ]; then
_component_name="awips2-cave-viz-localization-perspective"
_downstream_requires="awips2-common-base awips2-cave-viz-base"
fi
echo 'export COMPONENT_NAME="${_component_name}"' > \
${CONST_SETUP_DIR}/feature.setup
@ -205,7 +211,7 @@ function buildFeatureRPMs()
${CONST_SETUP_DIR}/feature.setup
echo 'export COMPONENT_DESC="${_component_name}"' >> \
${CONST_SETUP_DIR}/feature.setup
echo 'export DOWNSTREAM_REQUIRES="awips2-common-base"' >> \
echo 'export DOWNSTREAM_REQUIRES="${_downstream_requires}"' >> \
${CONST_SETUP_DIR}/feature.setup
else
java -jar ${PROCESS_FEATURE_JAR} \