Skip to content

Extension org.gramar.base Tag file

chrisgerken edited this page Sep 14, 2015 · 2 revisions

file Tag

The file tag copies a binary file from within the gramar to the output file store.

  • string path - (required) The workspace-relative path of the file to be written. The first level should be the project name.
  • string template - (required) The gramar-relative path of the production whose application to the model provides the text content of the file to be written to the file store.
  • boolean replace - Whether on not an existing file should be replaced. The default is true.

Usage and examples

Place a taglib element within <taglibs> element in the gramar.config file in the root of your gramar:

<taglibs>
    <taglib  prefix="c" extension="org.gramar.base" />
</taglibs>

Return to org.gramar.base

Clone this wiki locally