Issue #1638 - update CAVE rpm name generation
Change-Id: Ia574741cfbe5765875924c27848d41ff7b82379f Former-commit-id:37e9c0cb20
[formerlya9123a2b84
] [formerlyb8496877ff
] [formerly37e9c0cb20
[formerlya9123a2b84
] [formerlyb8496877ff
] [formerly5eb888fb98
[formerlyb8496877ff
[formerly 7cf0100415245ae81fa232e398936fe33a2b1bc3]]]] Former-commit-id:5eb888fb98
Former-commit-id:6f57b06d52
[formerlyda0d99d22f
] [formerly 16e35fbbb02090042f28676c5c7015864604ab11 [formerly22acca8f3d
]] Former-commit-id: 8a05919b3352b9c20cdce27168ba0ceb43d51c4c [formerly3c2210c80d
] Former-commit-id:bc668bc828
This commit is contained in:
parent
13ffe40b52
commit
b8abcf8692
1 changed files with 31 additions and 8 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue