deanlaw / cfcgenerator

Automatically exported from code.google.com/p/cfcgenerator
8 stars 6 forks source link

Request to add FilenamePrepend param to YAC.xml #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would really like a FilenamePrepend attribute to be added to the yac.xml to
allow for more customized naming of generated files. This would benefit
those of us who are generating framework specific code such as Fusebox and
Coldbox templates.

Just the ability to prepend any string to the beginning of the filename
before the name of the Node.

Original issue reported on code.google.com by russ.cfc...@gmail.com on 5 Jul 2007 at 6:45

GoogleCodeExporter commented 9 years ago
This prepend should allow the inclusion of a slash to generate sub dirs. Even 
better
would be to allow interpolation:
fileNamePrepend="mystuf/here/{tableName}/

Original comment by tom.chiv...@gmail.com on 9 Oct 2007 at 1:00

GoogleCodeExporter commented 9 years ago
Well, with the attached patch to CodeService.cfc , I can now do:
  <gateway fileNamePrepend="base\" fileNameAppend="Gateway" filetype="cfc" templateType="cfm">
etc.

Original comment by tom.chiv...@gmail.com on 12 Oct 2010 at 10:16

Attachments:

GoogleCodeExporter commented 9 years ago
Will be in next release

Original comment by tom.chiv...@gmail.com on 13 Oct 2010 at 2:58

GoogleCodeExporter commented 9 years ago

Original comment by tom.chiv...@gmail.com on 13 Oct 2010 at 3:25