Hi,

I'm in a vary luxurious, I have a rack full of hardware at my disposal to test CloudStack and Ceph.

My way of developing is:
* Make changes
* Build a new Agent / KVM JAR
* scp it to the hypervisor
* Restart the Agent
* See if it works!

That is mainly the way I do my KVM development and testing.

Wido

On 11/13/2012 04:40 AM, Satoshi Kobayashi wrote:
Hi all,

I have some questions/issues about the development approach of KVM Agent.

1. Is there any document written about it?
I could not find it in cwiki.apache.org. Or is it in other places?

2. How should it be developed (in future)?
I looked at the source code of KVM Agent. It can not be launched from Maven.
(I found that just executing is not enough because KVM Agent requires
some configurations and scripts)
It seems to require packaging, whenever change is added to the code.
I think that it is probably inefficient.

A task required to develop from Maven which I think is the following.
- Add a configuration of maven-exec-plugin for KVM Agent to pom.xml.
- Add a configuration for m2e plugin of Eclipse (like "mvn jetty:run")
- Skip some checks in the development environment (for example,
agent.properties)
- Add configurations and scripts to be used to the path (or from args)
- Add a tool to cleanup a KVM host (optional?)

Do you have any ideas?

Regards,
Satoshi

Reply via email to