Issue #202 - fix deploy-install and the edex-cots rpm specification in test_sync.
Former-commit-id:eda0f92b17
[formerly5754f9dfd8
] [formerly10a0ca252d
] [formerly682c10767d
[formerly10a0ca252d
[formerly be16819b50761daa75717bc901f73c66a7ad1af5]]] Former-commit-id:682c10767d
Former-commit-id: a057be46f691d8ed25cfea1a37709fd22cddecd5 [formerly2ba23624b4
] Former-commit-id:cc8c6597a2
This commit is contained in:
parent
43c3cfdd1a
commit
e326a29d2f
2 changed files with 30 additions and 22 deletions
|
@ -43,25 +43,30 @@
|
|||
<echo message="BUILD TIME = ${build.time}" />
|
||||
<echo message="BUILD SYSTEM = ${build.system}" />
|
||||
|
||||
<!-- Ensure the git working directory has been set. -->
|
||||
<if>
|
||||
<equals arg1="${git.working.dir}" arg2="" />
|
||||
<then>
|
||||
<fail
|
||||
message="The git working directory has not been specified: use -Dgit.working.dir=" />
|
||||
<if>
|
||||
<equals arg1="${installer}" arg2="false" />
|
||||
<then>
|
||||
<!-- Ensure the git working directory has been set. -->
|
||||
<if>
|
||||
<equals arg1="${git.working.dir}" arg2="" />
|
||||
<then>
|
||||
<fail
|
||||
message="The git working directory has not been specified: use -Dgit.working.dir=" />
|
||||
</then>
|
||||
</if>
|
||||
<!-- Ensure that the specified git working directory exists. -->
|
||||
<if>
|
||||
<available file="${git.working.dir}"
|
||||
type="dir" />
|
||||
<then>
|
||||
<!-- Continue -->
|
||||
</then>
|
||||
<else>
|
||||
<fail message="The specified git working directory does not exist." />
|
||||
</else>
|
||||
</if>
|
||||
</then>
|
||||
</if>
|
||||
<!-- Ensure that the specified git working directory exists. -->
|
||||
<if>
|
||||
<available file="${git.working.dir}"
|
||||
type="dir" />
|
||||
<then>
|
||||
<!-- Continue -->
|
||||
</then>
|
||||
<else>
|
||||
<fail message="The specified git working directory does not exist." />
|
||||
</else>
|
||||
</if>
|
||||
</if>
|
||||
|
||||
<var name="projects.dirs"
|
||||
value="${git.working.dir}/cots;${git.working.dir}/edexOsgi;${git.working.dir}/ncep;${git.working.dir}/RadarServer" />
|
||||
|
@ -788,4 +793,4 @@
|
|||
|
||||
&substitute-targets;
|
||||
|
||||
</project>
|
||||
</project>
|
||||
|
|
|
@ -55,7 +55,7 @@ copyApplicableDeltas ${RPM_BUILD_ROOT} %{_component_name} \
|
|||
#---------------------------------------------------------------------------#
|
||||
|
||||
%install
|
||||
DEPLOY_SCRIPT="build.edex/deploy-install.xml"
|
||||
DEPLOY_SCRIPT="deploy-install.xml"
|
||||
|
||||
# Deploy Edex To Our Temporary Build Directory.
|
||||
|
||||
|
@ -71,10 +71,13 @@ fi
|
|||
ANT_EXE=`rpm -q --queryformat '%{INSTALLPREFIX}\n' awips2-ant`
|
||||
ANT_EXE="${ANT_EXE}/bin/ant"
|
||||
|
||||
${ANT_EXE} -file ${WORKSPACE_DIR}/${DEPLOY_SCRIPT} \
|
||||
pushd . > /dev/null
|
||||
cd ${WORKSPACE_DIR}/build.edex
|
||||
${ANT_EXE} -file ${DEPLOY_SCRIPT} \
|
||||
-Dinstall.dir=${RPM_BUILD_ROOT}/awips2/edex \
|
||||
-Dinstaller=true -Dlocal.build=false \
|
||||
-Dcomponent.to.deploy=edex-cots
|
||||
popd > /dev/null
|
||||
|
||||
%pre
|
||||
if [ "${1}" = "1" ]; then
|
||||
|
@ -155,4 +158,4 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
#---------------------------------------------------------------------------#
|
||||
%dir /awips2
|
||||
%dir /awips2/edex
|
||||
/awips2/edex/*
|
||||
/awips2/edex/*
|
||||
|
|
Loading…
Add table
Reference in a new issue