The mapping tag specified the relative location where Reactor will write generated files. The value argument can be either a path relative to the webroot or it can be a ColdFusion mapping.
For example, if you have a folder "/data" under your webroot and you wanted to write Reactor generated files in that directory you would provide this mapping tag:
<mapping value="/data" />
However, if need be you could also create a ColdFusion mapping to any other directory on your server. This is not a best practice, but it works just fine.
|
Attribute |
Required |
Description |
|---|---|---|
|
value |
Yes |
Defines the relative path to the directory where Reactor will write generated files. Alternatively, this may be a ColdFusion mapping. |
None
<reactor>
<config>
<project
value="Scratch" />
<dsn
value="scratch" />
<type
value="mssql" />
<mapping
value="/reactorData" />
<mode
value="always" />
</config>
</reactor>