2 Replies Latest reply on Aug 17, 2015 7:21 PM by matt_smith

    Can a CLI file include another CLI file?

    matt_smith

      Hi all,

       

      We have our Wildfly configs all stored in CLI files for use with the jboss-cli.  We create one file per app, and we have many apps.  There are a few chunks of configuration (e.g. datasources) that end up being duplicated.  Is it possible to reference the content of one file from another?  For example, within the CLI file for an app, there might be a line ":import-file(value=datasource1.cli)" that would execute the contents of the datasource.cli file as if it were included in app1.cli.  We are using Wildfly 9.0.1.

       

      Thanks,

      Matt