Hi David

Thx for this quick reply.


So, if I'm not mistaken there are two steps:

1) Cloudstack build with mvn

and then

2) Os packaging with one of the script depending on the OS target.


Now let's take the first step with mvn.

1) What bothers me, but maybe wrongly, it's the 'developer' option
passed to mvn.

First of all I don't plan to develop on my workstation, but secondly I
want to be sure that the result of the build will not contain some debug
flags or others things for development.

2) Do I really need, for production purpose the 'systemvm' option ? What
is 'systemvm' and should I build 'systemvm.iso' for production purpose ?

I found this documentation
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack
but it's not clear for me.

I also tried the 'deps' option like in this documentation
http://docs.cloudstack.apache.org/en/4.14.0.0/installguide/building_from_source.html#building-deb-packages

but during the build I get a 'deps' profile doesn't exist, something
like that.


Thx

On 2020-09-12 14:03, David Jumani wrote:
> Hi Jean,
>
> When building from source, you can follow the guide here
> http://docs.cloudstack.apache.org/en/latest/developersguide/developer_guide.html?highlight=nonoss#building-non-free-packages
> It includes a step that installs dependencies.
>
> When building os packages, you can use the packaging/package.sh script for 
> centos or dpkg-buildpackage for debian systems.
> package.sh --distribution centos7
>
> It internally uses the developer and systemvm profile :
> mvn -Psystemvm,developer -Dnoredist clean package
>
>
> Hope this helps!
>
> Thanks,
> David
>
> ________________________________
> From: jean-michel <jean-mic...@obarun.org>
> Sent: Saturday, September 12, 2020 5:20 PM
> To: users@cloudstack.apache.org <users@cloudstack.apache.org>
> Subject: Building Cloudstack from source for production purpose and then 
> packaging, which mvn profile to use ?
>
> Hi
>
> It's a first time with Cloudstack and Java for me. Despite of the
> various documentation I found about building Cloudstack from sources and
> then packaging, I still don't know which profile I should use with mvn
> for production purpose and if in this case a profile is necessary.
>
> Thx for your help
>
>
> david.jum...@shapeblue.comĀ 
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>

Reply via email to