Compile your own NCC

In few easy steps (more posts will follow).

Preliminaries:


    [li]JDK (not jre) installed (http://www.oracle.com/technetwork/java/javase/downloads/index.html)[/li]
    [li]Maven installed (https://maven.apache.org/download.cgi)[/li]


    Punch it, Chewie!

      [li]Clone the repository and checkout master branch

        [li][tt]> git clone recursive git@github.com:NewEconomyMovement/nem-ncc-main.git[/tt][/li]
        [li][tt]> cd nem-ncc-main[/tt][/li]
        [li][tt]> git submodule foreach git checkout -B master origin/master[/tt][/li]

        [/li]
        [li][tt]> mvn[/tt][/li]


        <br />[INFO] Reactor Summary:<br />[INFO]<br />[INFO] NEM Core ........................................... SUCCESS [01:20 min]<br />[INFO] NEM Deploy ......................................... SUCCESS [&nbsp; 2.997 s]<br />[INFO] NEM Community Client - NCC ......................... SUCCESS [ 10.391 s]<br />[INFO] NEM Monitor ........................................ SUCCESS [&nbsp; 2.680 s]<br />[INFO] NEM Console ........................................ SUCCESS [&nbsp; 1.852 s]<br />[INFO] NEM Community Client - ALL ......................... SUCCESS [&nbsp; 0.020 s]<br />[INFO] NEM Community Client - including dependencies ...... SUCCESS [&nbsp; 0.018 s]<br />[INFO] ------------------------------------------------------------------------<br />[INFO] BUILD SUCCESS<br />

        There are two http-related tests in nem.core that might occasionally fail.

        (you can try passing -DskipTests=true to maven, although we discourage that)

I would also like to acknowledge the first accepted PR from the community: https://github.com/NewEconomyMovement/NemCommunityClient/commit/84cfd57e16cb8d2e93278234207eaa49c192d064

Thanks lordoliver! I hope to see more PRs from the community at large soon ;).

Great job Jack

What's the sense behind compiling my own NCC? Please give some examples why this is useful and for what type of usage you use it. Thanks!


What's the sense behind compiling my own NCC? Please give some examples why this is useful and for what type of usage you use it. Thanks!


Compiling your NCC will make you sure of what you are running and no one tampered your client.

Actually, if you verified signature when you downloaded binary distribution, only the developers were able to tamper files without you noting it.

What's the sense behind compiling my own NCC? Please give some examples why this is useful and for what type of usage you use it. Thanks!


and it allows you to make any custom modifications that you would like to do and you could even try creating pull requests :)

Here is a nice tutorial to help out too.  https://forum.ournem.com/tutorials/guide-to-running-nem-on-openjdk-8/