Stefano Mazzocchi wrote:
Christian Haul wrote:
Team,
after looking at the current samples it appears that src/blocks/databases/conf/datasources.xconf not filtered during the build. Thus the datasource to connect to for the datbase samples is invalid.
ahhh, you're right, I forgot about that....it's the only thing that I couldn't figure out how to do in an elegant way.
How are you filtering the datasources.xconf file?
filtering is performed during <copy filtering="on">
Are you substituting the dburl with a property?
yes.
the ideal solution would be to give its block the ability to define its own build customizations, but ant doesn't have this 'inheritance' concept :/
So i don't really know what to do.
Suggestions?
Maven allows you to inherit project descriptors, and allows you to use whatever plugins you want to do your job. I don't have all the details to answer your questions, but some of this might be able to be addressed via Jelly. However, with that solution, many people are polarized with there views.
I have heard everything from "Jelly Rocks!" to "The road to ANT hell is paved with Jelly". Jelly being the project over at Jakarta Commons.
I'd rather stay away from yet another dependency until maven stabilizes a little community-wise.
S.