Issue #1927 - handle common base until new build implementation

Former-commit-id: 84c3c114a9 [formerly 63f57de31f] [formerly 79816de308 [formerly 977de6e3ab58905fada220a766039ff6e014b9ec]]
Former-commit-id: 79816de308
Former-commit-id: 9ea4bab577
This commit is contained in:
Bryan Kowal 2013-05-16 23:56:47 -05:00
parent 7ce0b7ef13
commit 5d21fa1fd7

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} \