Today i was trying out some simple code generaion stuff.
Junit test cases (empty testcases) for all the classes for all public methods.

I needed access only to the metadata ( from Qdox) for the fileset that i selected. I wonder if there s'd be a default plugin that provides access to the metadata of all the files selected by fileset and accepts a template?. Basically it s'd take the location of the template from the build file instead of the usual expected location.
Does it make sense to have something like that? Ofcourse writing one is pretty trivial and that is what i did. Do you think it makes sense to ship a plugin like that?  Also does it make sense to allow for overriding of the template file / location from outside (ie from build file)?
Say there is some problem with ejb-jar.xml generation template, I can copy the existing one into my folder, modify it and run the EbJarXML plugin against the modified one instead of the one it shipped with?

thanks,
karthik



Reply via email to