I'm developing a custom Joomla component for J3.X, and it's getting a bit tedious to keep on updating the com_mycomponent.xml
file with a list of files and folders included in the component.
I've tried to use Apache Ant to autogenerate a manifest file, however it's quite tricky to get it to generate the list of files and folders in the format that Joomla requires - I'm currently using something along the lines of:
<fileset id="site" dir="./admin"/>
<pathconvert pathsep="</filename>${line.separator}<filename>" property="siteFiles" refid="site">
</pathconvert>
<echo file="./test.xml" append="true">${siteFiles}</echo>
but the paths aren't quite right, and I still need to differentiate between files and folders.
Ant is one approach - you can see one user's attempts on this Wiki page - but alas it doesn't quite generate a full manifest and the author seems to be stuck at the same stage as I. What is the recommended method for automating this process? If Ant, what script do you use, and if not, what tools do you use?