+1 to regerate and replace the fat jar file.

Maven does allow to generate jars for the specific modules within the codebase. 
That means you can edit your files and regerate the specific jar for that 
module. Then you can build the client/ module so the fat jar gets the latest 
code.

Regards,
Nicolas Vazquez
________________________________
From: Daan Hoogland <daan.hoogl...@gmail.com>
Sent: Wednesday, June 5, 2019 3:28:25 PM
To: dev
Subject: Re: Running Self-Compiled Packages on Production

Richard, I think it will be easiest to replace the jar in
/usr/share/cloudstack (by head, don't hold me to the exact path). Depending
on the distribution you run on you can edit the classpath in the startup
script, but I'd go for replacing the jar!

On Wed, Jun 5, 2019 at 7:30 PM Richard Lawley <rich...@richardlawley.com>
wrote:

> Hi,
>
> I'm looking to test some changes to a plugin on a production CS
> deployment - my Java knowledge is a bit lacking in this area, so I'm
> hoping someone can point me in the right direction.  My production
> servers are running from CentOS packaging - if I compile a plugin on a
> development machine, is there a configuration file I can edit so that
> the plugin will be loaded from a specific path rather than from the
> main cloudstack-4.11.2.0.jar when I start the normal packaged
> management server?
>
> The plugin in question is the Juniper SRX plugin, but I suspect it's
> the same for any.
>
> Regards,
>
> Richard
>


--
Daan

nicolas.vazq...@shapeblue.comĀ 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 

Reply via email to