Author Topic: re - compile src from github  (Read 265 times)

kdunweber

  • Newbie
  • *
  • Posts: 1
    • View Profile
re - compile src from github
« 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


Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6887
    • View Profile
Re: re - compile src from github
« Reply #1 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

Sch.Donat

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: re - compile src from github
« Reply #2 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

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6887
    • View Profile
Re: re - compile src from github
« Reply #3 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

Sch.Donat

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: re - compile src from github
« Reply #4 on: February 28, 2020, 07:18:41 pm »
Thanks for the clarification!

Best regards,
Sch.Donat