Ticket #18 (closed enhancement: invalid)

Opened 6 years ago

Last modified 6 years ago

Generator can't create view directories

Reported by: maciej Owned by: somebody
Priority: normal Milestone: 1.0
Component: Trax Generator Version: 0.11.0
Severity: minor Keywords:
Cc:

Description

It looks to me that generator fails to create view directories. Here's a fragment of what I get when running "php script\generate.php scaffold customer":

Warning: file_put_contents(C:\Program Files\Apache Group\Apache2\htdocs\trax_trunk\trax/app/views/customers/_form.phtml): 
failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\trax_trunk\trax\vendor\trax\trax_generator.php 
on line 388 error creating view file: C:\Program Files\Apache Group\Apache2\htdocs\trax_trunk\trax/app/views/customers/_form.phtml

After I created customers folder and ran again everything worked.

Change History

Changed 6 years ago by Walt

This now works on Fedora Core 4. It might be a Windows-specific bug, but I don't have any way to test on Windows. Could somebody else try this again on r198 or later?

Thanks -- Walt

Changed 6 years ago by john

  • cc christian@… removed
  • keywords Putthewoodinthehole removed
  • type changed from spam to enhancement
  • component changed from Action Mailer to Trax Generator
  • summary changed from Kir to Generator can't create view directories
Note: See TracTickets for help on using tickets.