From APIDesign
(Difference between revisions)
|
|
(11 intermediate revisions not shown.) |
Line 1: |
Line 1: |
- | Essential part of [[DukeScript]] is its capability to deploy to almost any device on the planet (that can render [[HTML]]). One can configure everything in a IDE independent way, but the best way is to get your instance of [[NetBeans]] 8.0 and follow few easy steps:
| + | [[DukeScriptInNetBeans|Client Java everywhere]] is now possible thanks to essential part of [[DukeScript]] - its capability to deploy to almost any device on the planet (that can render [[HTML]]). One can configure everything in an [https://dukescript.com/update/2015/02/05/New-Version-of-Dukescript.html IDE independent way], but the best way to start is to get your instance of [[NetBeans]] 8.0 and follow few easy steps described in the official [[DukeScript]] [https://dukescript.com/getting_started.html getting started document]. |
- | | + | |
- | ==== Install the Plugin ====
| + | |
- | | + | |
- | Go to Tools/Plugins, refresh the catalog, select available plugins tab and install ''HTML/Java Project Support''.
| + | |
- | | + | |
- | [[Image:Duke4nb-01-install.png]]
| + | |
- | | + | |
- | ==== Create New Project ====
| + | |
- | | + | |
- | Now create new project. There are multiple prepared versions of the project in the [[NetBeans]] project templates tree, but the most generic one is ''HTML5 with Java Application Logic''.
| + | |
- | | + | |
- | [[Image:Duke4nb-02-project.png]]
| + | |
- | | + | |
- | After seeking a wizard step with project description and easy access to [http://bits.netbeans.org/html+java/ essential documentation] you need to specify the location where to create your project, the starting template to use and then you need to decide few important questions.
| + | |
- | | + | |
- | ==== Deploy to [[Android]]? ====
| + | |
- | | + | |
- | [[Image:Duke4nb-03-dlvkbrwsr.png]]
| + | |
- | | + | |
- | If you want to deploy to [[Android]], you need the [[Google]]'s SDK installed and you need to point your build or IDE to its location. Either via a property, or inside of global ''settings.xml'' file.
| + | |
- | | + | |
- | ==== Deploy to [[iOS]]? ====
| + | |
- | | + | |
- | [[Image:Duke4nb-04-ibrwsr.png]]
| + | |
- | | + | |
- | To deploy to iPhone or iPad you need to be running on Mac.
| + | |
Current revision
Client Java everywhere is now possible thanks to essential part of DukeScript - its capability to deploy to almost any device on the planet (that can render HTML). One can configure everything in an IDE independent way, but the best way to start is to get your instance of NetBeans 8.0 and follow few easy steps described in the official DukeScript getting started document.