Issue #1638 - update CAVE rpm name generation

Change-Id: Ia574741cfbe5765875924c27848d41ff7b82379f

Former-commit-id: 37e9c0cb20 [formerly a9123a2b84] [formerly b8496877ff] [formerly 37e9c0cb20 [formerly a9123a2b84] [formerly b8496877ff] [formerly 5eb888fb98 [formerly b8496877ff [formerly 7cf0100415245ae81fa232e398936fe33a2b1bc3]]]]
Former-commit-id: 5eb888fb98
Former-commit-id: 6f57b06d52 [formerly da0d99d22f] [formerly 16e35fbbb02090042f28676c5c7015864604ab11 [formerly 22acca8f3d]]
Former-commit-id: 8a05919b3352b9c20cdce27168ba0ceb43d51c4c [formerly 3c2210c80d]
Former-commit-id: bc668bc828
This commit is contained in:
Bryan Kowal 2013-02-28 14:42:20 -06:00
parent 13ffe40b52
commit b8abcf8692

View file

@ -183,6 +183,27 @@ function buildFeatureRPMs()
for feature in `cat ${CONST_FEATURES_TXT}`;
do
echo "feature = ${feature}"
if [ "${feature}" = "com.raytheon.uf.common.base.feature" ]; then
echo 'export COMPONENT_NAME="awips2-cave-common-base"' > \
${CONST_SETUP_DIR}/feature.setup
echo 'export COMPONENT_FEATURE="com.raytheon.uf.common.base.feature"' >> \
${CONST_SETUP_DIR}/feature.setup
echo 'export COMPONENT_DESC="awips2-cave-common-base"' >> \
${CONST_SETUP_DIR}/feature.setup
echo 'export DOWNSTREAM_REQUIRES="awips2-cave"' >> \
${CONST_SETUP_DIR}/feature.setup
else
if [ "${feature}" = "com.raytheon.uf.viz.common.core.feature" ]; then
echo 'export COMPONENT_NAME="awips2-cave-viz-common-core"' > \
${CONST_SETUP_DIR}/feature.setup
echo 'export COMPONENT_FEATURE="com.raytheon.uf.viz.common.core.feature"' >> \
${CONST_SETUP_DIR}/feature.setup
echo 'export COMPONENT_DESC="awips2-cave-viz-common-core"' >> \
${CONST_SETUP_DIR}/feature.setup
echo 'export DOWNSTREAM_REQUIRES="awips2-cave-viz-cots awips2-cave-common-base"' >> \
${CONST_SETUP_DIR}/feature.setup
else
java -jar ${PROCESS_FEATURE_JAR} \
-p \
${CONST_FEATURE_DIR}/${feature} \
@ -192,6 +213,8 @@ function buildFeatureRPMs()
echo "ERROR: ${PROCESS_FEATURE_JAR} Failed."
exit 1
fi
fi
fi
if [ ! -f ${CONST_SETUP_DIR}/feature.setup ]; then
echo "ERROR: ${CONST_SETUP_DIR}/feature.setup Does Not Exist."