Issue #1924 - add spring extensions to awips2-groovy
Change-Id: Idb3acba281a02f08be71442f014e471e0766d728 Former-commit-id: 550843c669cd2a10901c3e958f37f74e9bbd6332
This commit is contained in:
parent
e33cd9d00d
commit
180e01cf4c
1 changed files with 21 additions and 1 deletions
|
@ -64,6 +64,26 @@ mv %{_build_root}/awips2/groovy-%{_groovy_version} \
|
|||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# spring-enable groovy
|
||||
_spring_dependencies=\
|
||||
(\
|
||||
'org.springframework.context-3.1.4.RELEASE.jar' \
|
||||
'org.springframework.beans-3.1.4.RELEASE.jar' \
|
||||
'org.springframework.core-3.1.4.RELEASE.jar' \
|
||||
'org.springframework.asm-3.1.4.RELEASE.jar' \
|
||||
'org.springframework.expression-3.1.4.RELEASE.jar' \
|
||||
)
|
||||
|
||||
for spring_dependency in ${_spring_dependencies[*]};
|
||||
do
|
||||
cp %{_baseline_workspace}/org.springframework/${spring_dependency} \
|
||||
%{_build_root}/awips2/groovy/lib
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
cp ${_profile_scripts}/* %{_build_root}/etc/profile.d
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
|
@ -96,4 +116,4 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
%doc /awips2/groovy/NOTICE.txt
|
||||
|
||||
%defattr(755,awips,fxalpha,755)
|
||||
/awips2/groovy/bin/*
|
||||
/awips2/groovy/bin/*
|
||||
|
|
Loading…
Add table
Reference in a new issue