build_platform.html 6.3 KB

1234567891011121314151617
  1. <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]--><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="Asciidoctor 1.5.4"><meta name="keywords" content="documentation, sdk, builds, project"><title>build_platform</title><link rel="stylesheet" href="./asciidoctor.css">
  2. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
  3. <link rel="stylesheet" href="./coderay-asciidoctor.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css"></head><body class="article toc2 toc-left"><div id="header"><div id="toolbar"><a href="https://github.com/jMonkeyEngine/wiki/edit/master/src/docs/asciidoc/sdk/build_platform.adoc"><i class="fa fa-pencil-square" aria-hidden="true"></i></a><a href="https://github.com/jMonkeyEngine/wiki/new/master/src/docs/asciidoc/sdk/"><i class="fa fa-plus-square" aria-hidden="true"></i></a><input dir="auto" style="position: relative; vertical-align: top;" spellcheck="false" autocomplete="off" class="searchbox__input aa-input" id="doc-search" name="search" placeholder="Search in the doc" required="required" type="search"><i class="fa fa-sort-down" aria-hidden="true"></i></div><h1>build_platform</h1><div class="details"><span class="author" id="author"></span><br><span id="revnumber">version ,</span> <span id="revdate">2016/03/17 20:48</span></div><div id="toc" class="toc2"><div id="toctitle">Table of Contents</div><ul class="sectlevel1"><li><a href="#building-jmonkeyengine-sdk-yourself">Building jMonkeyEngine SDK Yourself</a><ul class="sectlevel2"><li><a href="#in-the-jmonkeyengine-sdk-or-netbeans">In the jMonkeyEngine SDK or NetBeans</a></li></ul></li></ul></div></div><div id="content"><div class="sect2"><h3 id="building-jmonkeyengine-sdk-yourself">Building jMonkeyEngine SDK Yourself</h3><div class="sect2"><h3 id="in-the-jmonkeyengine-sdk-or-netbeans">In the jMonkeyEngine SDK or NetBeans</h3><div class="sect3"><h4 id="plugins">Plugins</h4><div class="paragraph"><p>Make sure all necessary plugins are installed and active:</p></div>
  4. <div class="ulist"><ul><li><p>From the menu bar, select <code>Tools</code> → <code>Plugins</code> to open a <code>Plugins</code> dialog.</p></li><li><p>Select the <code>Available Plugins</code> tab.</p></li><li><p>Sort the plugin list by category.</p></li><li><p>Check the <code>Install</code> checkbox for any plugins in the <code>Developing NetBeans</code> category.</p></li><li><p>Click on the <code>Install</code> button and complete the wizard.</p></li><li><p>Select the <code>Installed</code> tab.</p></li><li><p>Activate any inactive plugins in the <code>Developing NetBeans</code> category.</p></li><li><p>Close the <code>Plugins</code> dialog.</p></li></ul></div></div>
  5. <div class="sect3"><h4 id="checkout">Checkout</h4><div class="ulist"><ul><li><p>From the menu bar, select <code>Team</code> → <code>Git</code> → <code>Clone</code> to open a <code>Clone Repository</code> dialog.</p></li><li><p>In the <code>Repository <abbr title="Uniform Resource Locator">URL</abbr>:</code> textbox, type <code><a href="https://github.com/jMonkeyEngine/jmonkeyengine">https://github.com/jMonkeyEngine/jmonkeyengine</a></code>.</p></li><li><p>Clear the <code>User:</code> and <code>Password:</code> textboxes.</p></li><li><p>Click on the <code>Next</code> button.</p></li><li><p>Choose the remote branch, typically “master, and click the Next button.</p></li><li><p>Click on the <code>Browse…</code> button to the right of the <code>Parent directory:</code> textbox to open a <code>Browse Local Folder</code> dialog.</p></li><li><p>Select an empty or non-existent directory (folder) where you want to save the jMonkeyEngine sources on your hard drive.</p></li><li><p>Click the <code>Finish</code> button.</p></li></ul></div>
  6. <div class="paragraph"><p>Project checkout may take awhile. Do not proceed before the task is complete.</p></div></div>
  7. <div class="sect3"><h4 id="build">Build</h4><div class="paragraph"><p>On the commandline:</p></div>
  8. <div class="olist arabic"><ol class="arabic"><li><p><code>cd jmonkeyengine</code></p></li><li><p><code>./gradlew build</code></p></li></ol></div>
  9. <div class="paragraph"><p>From the SDK:</p></div>
  10. <div class="ulist"><ul><li><p>From the menu bar, select <code>File</code> → <code>Open project…</code> to open an <code>Open Project</code> dialog.</p></li><li><p>Highlight the free-form project folder you used for checkout and click on the <code>Open Project</code> button.</p><div class="ulist"><ul><li><p>A new free-form project named <code>jME3-SDK</code> should appear in the SDK&#8217;s <code>Projects</code> window.</p></li></ul></div></li><li><p>Build the free-form project by right-clicking on it and selecting <code>Build</code>.</p></li><li><p>Wait until the <code>jME3-SDK (build)</code> task is complete. At one point, a web browser window may open.</p></li><li><p>From the menu bar, select <code>File</code> → <code>Open project…</code> to open an <code>Open Project</code> dialog.</p></li><li><p>Browse into the free-form project folder, highlight the <code>sdk</code> node, and click on the <code>Open Project</code> button.</p><div class="ulist"><ul><li><p>A number of new projects should appear in the SDK&#8217;s <code>Projects</code> window.</p></li></ul></div></li></ul></div>
  11. <div class="paragraph"><p>Building the main freeform project copies the jME3 libraries to the sdk, so you should run its build script each time jME3 changes.</p></div></div>
  12. <div class="sect3"><h4 id="run">Run</h4><div class="ulist"><ul><li><p>In the SDK&#8217;s <code>Projects</code> window, right-click on the <code>jMonkeyEngine SDK</code> project and select <code>Run</code>.</p><div class="ulist"><ul><li><p>The SDK you just built will start executing in a new window.</p></li></ul></div></li></ul></div></div></div></div></div><div id="footer"><div id="footer-text">Version <br>Last updated 2017-10-25 21:59:24 +00:00</div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script><script>docsearch({
  13. apiKey: 'a736b6d93de805e26ec2f49b55013fbd',
  14. indexName: 'jmonkeyengine',
  15. inputSelector: '#doc-search',
  16. debug: false // Set debug to true if you want to inspect the dropdown
  17. });</script></body></html>