re - compile src from github

Started by kdunweber, February 11, 2020, 06:58:47 PM

Previous topic - Next topic

kdunweber

Hi

Guess someone here can help  :-)

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


/K


Victor Kirhenshtein

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

Sch.Donat

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

Victor Kirhenshtein

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

Sch.Donat

Thanks for the clarification!

Best regards,
Sch.Donat