These are chat archives for symfony2admingenerator/GeneratorBundle
Actually, I think it just depends about which replacement we are talking about.
For example in Commands: it migh be logic to use symfony kernel resolution
But for Builder/Generator: I'm not sure Kernel might be used here (have to check that point)
And about Puli, it is a library that initially was thinked specifically for these kind of issues: how do I refer a resource from a plugin into a global application (starting from Bundle and Symfony integrations and so on). I alredy was thinking about using it for Templates (but needed to test it to see if it can really help).
I'm not saying "we have to use Puli". Just guessing it might be a solution and that we should not change DIR and FILE calls without really looking at "what are we trying to do? Why are we using this code here and for what?"
v2.0-beta.32, gJ @sescandell :+1: