Issue #1927 - handle common base until new build implementation

Former-commit-id: 3f924f74b8 [formerly 84c3c114a9] [formerly c65cf6534415b98d0066b6b117c42063775cf382 [formerly 63f57de31f]] [formerly 79816de308 [formerly 63f57de31f [formerly 977de6e3ab58905fada220a766039ff6e014b9ec]]]
Former-commit-id: 79816de308
Former-commit-id: f7807c86dc7b6a81272596cbb22664b42ab2bec4 [formerly 9ea4bab577]
Former-commit-id: 5d21fa1fd7
This commit is contained in:
Bryan Kowal 2013-05-16 23:56:47 -05:00
parent 0c954fc284
commit 0694a91485

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=""
_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} \