cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <>
Subject Re: Development environment
Date Fri, 12 Dec 2014 14:04:16 GMT
Hi Ramzi,

On Friday 12 December 2014 07:20 PM, Ramzi Youssefi wrote:
> Hi!
> I would like to ask how to setup a proper development environment in
> Cloudstack. Until now I have been able only to download CS from git
> cloudstack and deploy it with maven. Once I run jetty:run, I can see CS in
> the browser. I even can do this with eclipse.

> The thing is that I want to create a plugin in Cloudstack. There are many
> tutorials on how to do that but the thing is that every time I create
> something, I need to re-deploy everything again and it takes at least 5
> minutes to run the maven commands and see the changes.
> Is there any way to develop the plugins or to do changes in the code "on
> the fly"? so I can type something and press F5 in my browser and see the
> changes immediately? What is the right project that I have to download to
> do this?

If you make change to your plugin or any other component you don't have
to build the entire codebase since that takes a lot of time. Instead do

mvn clean install -pl <path to your plugin>, client

this will only build the plugin and rebuilt client which is where all
plugins and dependencies get compiled in a war file (the mgmt server).

Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 |
Blog: | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<>
CSForge – rapid IaaS deployment framework<>
CloudStack Consulting<>
CloudStack Software Engineering<>
CloudStack Infrastructure Support<>
CloudStack Bootcamp Training Courses<>

This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd or related companies.
If you are not the intended recipient of this email, you must neither take any action based
upon its contents, nor copy or show it to anyone. Please contact the sender if you believe
you have received this email in error. Shape Blue Ltd is a company incorporated in England
& Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated
in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
registered by The Republic of South Africa and is traded under license from Shape Blue Ltd.
ShapeBlue is a registered trademark.

View raw message