Omaha #3179 added modes file deployment, moved modes.xml to new folder

Former-commit-id: 952901624f [formerly fd8a4b49641aaf70c49608215d15209330dee669]
Former-commit-id: e291a20abf
This commit is contained in:
Brian Clements 2014-05-20 15:45:42 -05:00
parent 6c15b2c81e
commit de05d7c313
2 changed files with 13 additions and 2 deletions

View file

@ -4,6 +4,7 @@
TODO: if necessary, these could be read from a properties file. TODO: if necessary, these could be read from a properties file.
1) utility -> /awips2/edex/data/utility 1) utility -> /awips2/edex/data/utility
2) resources -> /awips2/edex/conf/resources 2) resources -> /awips2/edex/conf/resources
3) modes -> /awips2/edex/conf/modes
--> -->
<target name="enact.external-rules"> <target name="enact.external-rules">
<!-- parameters --> <!-- parameters -->
@ -33,5 +34,15 @@
</copy> </copy>
</then> </then>
</if> </if>
<mkdir dir="${deployment._root}/conf/modes" />
<if>
<available file="${plugin._directory}/modes" type="dir" />
<then>
<copy todir="${deployment._root}/conf/modes" overwrite="true" verbose="true">
<fileset dir="${plugin._directory}/modes" />
</copy>
</then>
</if>
</target> </target>
</project> </project>

View file

@ -23,8 +23,8 @@
By including or excluding specific spring files we can determine at startup By including or excluding specific spring files we can determine at startup
which services the EDEX instance should start. which services the EDEX instance should start.
If you provide no command line argument, EDEX will default to include If you provide no command line argument, EDEX will list available modes and exit.
all spring files it discovers. It will print out the files it is using for the It will print out the files it is using for the
configuration, so you can look at the no argument configuration to configuration, so you can look at the no argument configuration to
determine what files to possibly include or exclude. determine what files to possibly include or exclude.