Hi Wayne

Wayne Fay wrote:
>>> similar utility? Essentially, any space in any non-view file (outside
>>> of <?php ...?> tags) should be identified and eliminated.
>> I use Ant for my build process out of Eclipse and have just looked up
>> regular expressions in Ant.  You could easily use the "ReplaceRegExp"
> 
> Ideally we could cook up a way to check for spaces (and perhaps even
> remove them automatically) using Cake itself. It would be like the
> bake utility; we could have a "validate" utility. That would be nice!

It really depends on what your development process is and what tools you 
use.  For me the logical place to check (and fix) is at build time.  If 
someone doesn't use a build process like Ant, then a script like the 
build utility could be useful.

If you wanted to do it that way, then it would be very simple to 
construct the appropriate piece of PHP code and trigger it the same way 
that you do with bake.

Regards,
Langdon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to