Nice work Andrew! I suggest taking this and moving to a cordova wiki page (assuming all committers are on board to adopting this as the basis for a plugin spec)
Is target-dir necessary for the <source-file> element? For Java files, the tooling could take a peak inside the .java file and extract out the package name from the file, no? Phonegap build already does this doesn't it? Adding the ability to modify existing parts of a native platform's config document to the <config-file> portion might be needed.. Although Ive yet to dig up a use case. Will dig around more. +1 agree that <resource-file> and <header-file> is redundant. Tooling should be able to distinguish this so merging with <source-file> makes a lot of sense. Looking good! On 6/8/12 6:40 PM, "Andrew Lunny" <[email protected]> wrote: >Hi all, > >I've posted to this list before about pluginstall[1], the tool I've >developed as part of working on PhoneGap Build and requiring programmatic >installation of Cordova plugins. > >I've now written up a spec for the format that pluginstall uses - I think >it's generally useful for Cordova plugin installation and manipulation. >The >spec is available on GitHub: >https://github.com/alunny/cordova-plugin-spec > >Issues and/or pull requests and/or forks welcome. > >Cheers, >Andrew > >[1] https://github.com/alunny/pluginstall
