ASM #15083 - Updates to allow nwps to be released in the gfesuite-server rpm

Change-Id: I9ab3fca601120954ebe229d3a4f0871b7b43af28

Former-commit-id: 2c62f45654b0531349fef5e7523c67c94236ce1a
This commit is contained in:
Shawn.Hooper 2015-02-12 17:32:05 -05:00
parent ea11991a31
commit 060a169904
2 changed files with 17 additions and 0 deletions

View file

@ -54,6 +54,7 @@
<property name="gfe.suite.home" value="${install.dir}" />
<property name="gfe.suite.bin" value="${install.dir}/bin" />
<property name="gfe.suite.hti" value="${install.dir}/hti" />
<property name="gfe.suite.nwps" value="${install.dir}/nwps" />
<!-- Create the copy filter -->
<!-- filter set -->
@ -68,8 +69,10 @@
<echo message="deploy.client=${deploy.client}" />
<mkdir dir="${gfe.suite.bin}"/>
<mkdir dir="${gfe.suite.hti}"/>
<mkdir dir="${gfe.suite.nwps}"/>
<antcall target="-deploy.cli.common"/>
<antcall target="-deploy.hti"/>
<antcall target="-deploy.nwps"/>
<antcall target="-deploy.svcBackup"/>
<!-- <antcall target="-deploy.cli.client"/> -->
<antcall target="-set.permissions"/>
@ -101,6 +104,16 @@
</copy>
</target>
<target name="-deploy.nwps"
description="Deploys NWPS software to a specific directory">
<!-- copy the CLI tools to the deploy directory -->
<echo message="Copying in NWPS files" />
<copy todir="${gfe.suite.nwps}" overwrite="true">
<fileset dir="${basedir}/nwps"/>
<filterset refid="installer.filter.set"/>
</copy>
</target>
<target name="-deploy.svcBackup" if="deploy.svcBackup"
description="Deploys service backup scripts to a specific directory">
<echo message="Copying in service backup scripts" />

View file

@ -101,9 +101,13 @@ rm -rf ${RPM_BUILD_ROOT}
/awips2/GFESuite/bin/*
%dir /awips2/GFESuite/hti/bin
/awips2/GFESuite/hti/bin/*
%dir /awips2/GFESuite/nwps/bin
/awips2/GFESuite/nwps/bin/*
%defattr(755,awips,fxalpha,777)
%dir /awips2/GFESuite/hti/etc
/awips2/GFESuite/hti/etc/*
%dir /awips2/GFESuite/nwps/domains
/awips2/GFESuite/nwps/domains/*
%defattr(644,awips,fxalpha,755)
%dir /awips2/GFESuite/bin/src
/awips2/GFESuite/bin/src/*