I am attempting to incorporate the process of building my extra into an automated build process. I've been able to script most of what I need, but there's still one thing that hangs me up.
I am basing my build process on the template provided by Bob's Guides, and modifying it to suite my purposes.
My problem is this: when I run the _build/build.schema.php script, it only works the first time. Subsequent runs do not generate the classes, and instead, I get a message stating "Skipping [class]; file already exists. Move existing class files to regenerate them."
I understand _why_ this is ocurring, but I'm looking for a way to work around it. Ideally, I'd like to turn on a setting that says to xPDO "always discard and rebuild the class files." In the past, I've simply added commands in my build to delete the class files. The problem with that is it makes my build very brittle, because I have to always remember to update the list of files to be deleted.
Any suggestions as to how I can make the xPDO generator always overwrite the generated class files?