I''m currently considering using continuous integration for building my modules.

My current thoughts are:

1. Create an Ant Task which builds a NKP of the supplied module folders, using a version number based on the current svn revision.
2. Use Apache Commons HTTPClient to deploy via apposite
3. Write a TestNG Suite which uses the restful interfaces for XUnit
4. Integrate SVN into TeamCity and have it run the build.xml for each module, or set of modules.
5. Profit

Any thoughts on the viability of this plan?

*What does Apposite have in terms of a non-ajax interface to allow me to upload a nkp for deployment?
* Any better plans for auto version numbering?