1.1 --- a/src/main/javadoc/overview.html Mon Feb 29 05:49:56 2016 +0100
1.2 +++ b/src/main/javadoc/overview.html Mon Feb 29 06:13:12 2016 +0100
1.3 @@ -346,39 +346,48 @@
1.4
1.5 <h3>Getting Started</h3>
1.6
1.7 - There are <a href="http://wiki.apidesign.org/wiki/DukeScriptInNetBeans">many ways</a>
1.8 - to start developing
1.9 - <a href="http://html.java.net">Html for Java</a> application.
1.10 - However to be sure one chooses the most recent setup, it is recommended
1.11 - to switch to good old command line and use a
1.12 - <a href="http://wiki.apidesign.org/wiki/Knockout4Java">Maven archetype</a>
1.13 - associated with every version of this project. Make sure at least
1.14 + This <b>HTML/Java</b> API is used by
1.15 + <a target="_blank" href="https://platform.netbeans.org/tutorials/nbm-dukescript.html">
1.16 + NetBeans Platform</a> as well as other project. The smoothest way
1.17 + to get started is to follow the
1.18 + <a target="_blank" href="https://dukescript.com/getting_started.html">getting started</a>
1.19 + tutorial. In case one wants to stick with a <em>Maven</em> and command
1.20 + line, one can follow
1.21 + <a target="_blank" href="https://dukescript.com/update/2015/02/05/New-Version-of-Dukescript.html">
1.22 + these instructions<a>, make sure at least
1.23 <em>JDK7</em> is your installed Java and type:
1.24 <pre>
1.25 $ mvn archetype:generate \
1.26 - -DarchetypeGroupId=org.apidesign.html \
1.27 + -DarchetypeGroupId=com.dukescript.archetype \
1.28 -DarchetypeArtifactId=knockout4j-archetype \
1.29 - -DarchetypeVersion=0.8 <em># or newer version, if available</em>
1.30 + -DarchetypeVersion=0.11 <em># or newer version, if available</em>
1.31 </pre>
1.32 - Answer few questions (for example choose myfirstbrwsrpage as artifactId)
1.33 + Answer few questions (for example choose <em>myfirstbrwsrpage</em> as artifactId)
1.34 and then you can:
1.35 <pre>
1.36 $ cd myfirstbrwsrpage
1.37 -$ mvn process-classes exec:java
1.38 +$ mvn install
1.39 +$ mvn -f client/pom.xml process-classes exec:exec
1.40 </pre>
1.41 In a few seconds (or minutes if
1.42 - <a href="http://wiki.apidesign.org/wiki/Maven">Maven</a>
1.43 + <a target="_blank" href="http://wiki.apidesign.org/wiki/Maven">Maven</a>
1.44 decides to download the whole Internet of dependencies) you should
1.45 - see a sample Hello World application rendered in a
1.46 - <a href="http://wiki.apidesign.org/wiki/JavaFX">JavaFX</a>
1.47 + see a sample Hello World application.
1.48 + Immediatelly you can be
1.49 + <a target="_blank" href="https://dukescript.com/best/practices/2015/04/12/no-redeploys.html">
1.50 + productive without any redeploys</a> - even more productive than
1.51 + with plain JavaScript!
1.52 + <p>
1.53 + The application is rendered in a
1.54 + <a target="_blank" href="http://wiki.apidesign.org/wiki/JavaFX">JavaFX</a>
1.55 web view component (that of course requires your JDK to come
1.56 - with <a href="http://wiki.apidesign.org/wiki/JavaFX">JavaFX</a>;
1.57 - <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK7
1.58 + with <a target="_blank" href="http://wiki.apidesign.org/wiki/JavaFX">JavaFX</a>;
1.59 + <a target="_blank" href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK7
1.60 and JDK8 from Oracle</a> contain everything that is needed).
1.61 The generated application is built around one
1.62 Java source (uses the {@link net.java.html.json.Model} annotation to
1.63 auto-generate another <code>Data.java</code> class during compilation)
1.64 - and one HTML file (uses the <a href="http://knockoutjs.com">Knockout</a>
1.65 + and one HTML file (uses the <a target="_blank" href="http://knockoutjs.com">Knockout</a>
1.66 syntax to <code>data-bind</code> the HTML elements to the
1.67 generated <code>Data</code> model):
1.68 <pre>
1.69 @@ -387,7 +396,7 @@
1.70 </pre>
1.71 That is all you need to get started. Play with the sources,
1.72 modify them and enjoy
1.73 - <a href="http://html.java.net">Html for Java</a>!
1.74 + <a target="_blank" href="http://html.java.net">Html for Java</a>!
1.75
1.76 <h2>IDE Support</h2>
1.77