NetXMS Support Forum

Development => General => Topic started by: kdunweber on February 11, 2020, 06:58:47 PM

Title: re - compile src from github
Post by: kdunweber on February 11, 2020, 06:58:47 PM
Hi

Guess someone here can help  :-)

IS there a howto compile nxmc.exe  (jave console) from git repo ?


/K

Title: Re: re - compile src from github
Post by: Victor Kirhenshtein on February 26, 2020, 11:26:28 AM
Hi,

you should have Apache Maven installed and available in your PATH, then you can build it with following commands (from root of source tree):

mvn -f src/java/netxms-eclipse/pom.xml -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:update-pom -Pconsole

mvn -f src/java/netxms-eclipse/pom.xml clean package -Pconsole -Dtycho.disableP2Mirrors=true

Generated files will be in src/java/netxms-eclipse/target

Best regards,
Victor
Title: Re: re - compile src from github
Post by: Sch.Donat on February 28, 2020, 03:30:59 PM
Hi Victor!

In the github repository (github netxms netxms) the 3.2 tag seems to be pointing to the 3.0.1673 release and the master branch to the 3.2.69 based on the nxmc.product. Maybe I'm looking in the wrong place.

Best regards,
Sch.Donat
Title: Re: re - compile src from github
Post by: Victor Kirhenshtein on February 28, 2020, 03:43:04 PM
You should not use tags 3.0, 3.1, 3.2, etc. - they are pointing to start of appropriate version development, not release point. Instead you should use latest commit in appropriate branch stable-3.0, stable-3.1, etc. We didn't create stable-3.2 branch yet as currently 3.2 is not yet diverged from master.

Best regards,
Victor
Title: Re: re - compile src from github
Post by: Sch.Donat on February 28, 2020, 07:18:41 PM
Thanks for the clarification!

Best regards,
Sch.Donat