The problem is the current module repository is considered to be the "installer structure" not the "installed structure".
In the current structure we have files in the same directory that must go in different folders. This is NOT GOOD because this way we cannot combine it well.
Joomla XML definitions seams to be limited so the only solution I see is to store the component module in the "installed structure" and to have a small script named "make_release.sh" that will build the release structure and zip it.
How about this?
Thanks for your involvement and feedback Sorin, it is always appreciated.
We've debated SVN structure before. As a cheap solution what I did on one of my dev machines is a script that did a checkout and copy all the files into both directories.
I don't do that anymore however. What I have now is a script that creates installer files from the SVN. Then I just uninstall and install. If the installer breaks, it's the first thing I fix.
I would advise using one of those two methods.
I can't see the SVN structure changing at this point. It's the standard Joomla way of keeping your SVN for components and modules. The reason it is like that is because most devs find it the best.