JaroslavTulach: /* MineSweeper Sources */ - 2015-10-02 21:34:11

MineSweeper Sources

←Older revision Revision as of 21:34, 2 October 2015
Line 22: Line 22:
and stats [[NetBeans Platform]] application with [[MineSweeper]] module in. Give it a try and let's make [[NetBeans]] better by using more [[DukeScript]] [[API]]s! Don't forget that you can package the same application to run on [[Android]], [[IBrwsr|iOS]] or in a [[Bck2Brwsr|browser]]. Become a developer that can: Write once, run anywhere!
and stats [[NetBeans Platform]] application with [[MineSweeper]] module in. Give it a try and let's make [[NetBeans]] better by using more [[DukeScript]] [[API]]s! Don't forget that you can package the same application to run on [[Android]], [[IBrwsr|iOS]] or in a [[Bck2Brwsr|browser]]. Become a developer that can: Write once, run anywhere!
 +
 +
=== Releasing a [[NetBeans]] Plugin ===
 +
 +
To release a [[DukeScript]] application as [[NetBeans]] plugin, one needs to sign it: [https://github.com/jtulach/minesweeper/commit/8ea14359e7c0691536e536981586ed8276da7d75 changeset]. Now just run the build with '''-Dpassword=xyz''' option and all [[JAR]]s as well as NBM file will be signed.

JaroslavTulach: /* MineSweeper Sources */ - 2015-10-02 16:18:30

MineSweeper Sources

←Older revision Revision as of 16:18, 2 October 2015
Line 14: Line 14:
<source lang="bash">
<source lang="bash">
-
$ hg clone http://source.apidesign.org/hg/html~demo/
+
$ git clone https://github.com/jtulach/minesweeper
-
$ cd html~demo/
+
$ cd minesweeper
-
$ hg up -C b9726ab22a9b
+
$ mvn install
-
$ mvn install -DskipTests
+
$ cd client-netbeans
-
$ cd minesweeper/
+
$ mvn clean package nbm:cluster nbm:run-platform -Dnetbeans.version=dev-SNAPSHOT
-
$ mvn -Pnbrwsr install
+
-
# generates target/target/minesweeper-2.3-SNAPSHOT.nbm
+
</source>
</source>
-
and the system generates an NBM ([[NetBeans]] module file) which can be installed into your [[NetBeans]]! Give it a try and let's make [[NetBeans]] better by using more [[DukeScript]] [[API]]s! Don't forget that you can package the same application to run on [[Android]], [[IBrwsr|iOS]] or in a [[Bck2Brwsr|browser]]. Become a developer that can: Write once, run anywhere!
+
and stats [[NetBeans Platform]] application with [[MineSweeper]] module in. Give it a try and let's make [[NetBeans]] better by using more [[DukeScript]] [[API]]s! Don't forget that you can package the same application to run on [[Android]], [[IBrwsr|iOS]] or in a [[Bck2Brwsr|browser]]. Become a developer that can: Write once, run anywhere!

JaroslavTulach at 05:47, 27 September 2015 - 2015-09-27 05:47:15

←Older revision Revision as of 05:47, 27 September 2015
Line 1: Line 1:
[[MineSweeper]] is re-implementation of classical computer game available on each [[wikipedia:Microsoft_Minesweeper|Microsoft Windows]] since the initial introduction in version 3.1. Surprisingly my kids (who otherwise spend hours with tablets) knew nothing about the game until...
[[MineSweeper]] is re-implementation of classical computer game available on each [[wikipedia:Microsoft_Minesweeper|Microsoft Windows]] since the initial introduction in version 3.1. Surprisingly my kids (who otherwise spend hours with tablets) knew nothing about the game until...
-
I needed a demonstration for [[DukeScript]] technology that is using [[Java]] to code the application logic and [[HTML]] to render its UI. I decided to write a [[MineSweeper]] game as a basic demo. I've managed to execute the demo in a browser (via [[Bck2Brwsr]] [[VM]]: check it [http://xelfi.cz/minesweeper/bck2brwsr/ on-line]) and [[Android]] (via [[DlvkBrwsr]] also available on [[GooglePlay]]), and [[iOS]] (via [[iBrwsr]], also available on [[AppStore]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0!
+
I needed a demonstration for [[DukeScript]] technology that is using [[Java]] to code the application logic and [[HTML]] to render its UI. I decided to write a [[MineSweeper]] game as a basic demo. I've managed to execute the demo in a browser (via [[Bck2Brwsr]] [[VM]]: check it [http://xelfi.cz/minesweeper/bck2brwsr/ on-line]) and [[Android]] (available on [[GooglePlay]]), and [[iOS]] (available on [[AppStore]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0!
Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page] and enjoy your productivity boost! Since Sep 15, 2014 the [[MineSweeper]] [[NetBeans]] integration can be used as a starting point to develop own [[DukeScript]] applications. Just press the ''Develop'' button and a new project wizard will be shown as following picture shows:
Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page] and enjoy your productivity boost! Since Sep 15, 2014 the [[MineSweeper]] [[NetBeans]] integration can be used as a starting point to develop own [[DukeScript]] applications. Just press the ''Develop'' button and a new project wizard will be shown as following picture shows:

JaroslavTulach at 10:59, 15 September 2014 - 2014-09-15 10:59:16

←Older revision Revision as of 10:59, 15 September 2014
Line 6: Line 6:
[[Image:MineSweeperDevelop.png]]
[[Image:MineSweeperDevelop.png]]
 +
 +
Then follow the steps as described at [[DukeScriptInNetBeans]] or [[CRUD]] video.
 +
 +
=== [[MineSweeper]] Sources ===
In case you are interested in trying the code yourself, here is a way to get the sources:
In case you are interested in trying the code yourself, here is a way to get the sources:

JaroslavTulach at 10:55, 15 September 2014 - 2014-09-15 10:55:48

←Older revision Revision as of 10:55, 15 September 2014
Line 3: Line 3:
I needed a demonstration for [[DukeScript]] technology that is using [[Java]] to code the application logic and [[HTML]] to render its UI. I decided to write a [[MineSweeper]] game as a basic demo. I've managed to execute the demo in a browser (via [[Bck2Brwsr]] [[VM]]: check it [http://xelfi.cz/minesweeper/bck2brwsr/ on-line]) and [[Android]] (via [[DlvkBrwsr]] also available on [[GooglePlay]]), and [[iOS]] (via [[iBrwsr]], also available on [[AppStore]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0!
I needed a demonstration for [[DukeScript]] technology that is using [[Java]] to code the application logic and [[HTML]] to render its UI. I decided to write a [[MineSweeper]] game as a basic demo. I've managed to execute the demo in a browser (via [[Bck2Brwsr]] [[VM]]: check it [http://xelfi.cz/minesweeper/bck2brwsr/ on-line]) and [[Android]] (via [[DlvkBrwsr]] also available on [[GooglePlay]]), and [[iOS]] (via [[iBrwsr]], also available on [[AppStore]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0!
-
Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page] and enjoy your productivity boost!
+
Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page] and enjoy your productivity boost! Since Sep 15, 2014 the [[MineSweeper]] [[NetBeans]] integration can be used as a starting point to develop own [[DukeScript]] applications. Just press the ''Develop'' button and a new project wizard will be shown as following picture shows:
 +
 
 +
[[Image:MineSweeperDevelop.png]]
In case you are interested in trying the code yourself, here is a way to get the sources:
In case you are interested in trying the code yourself, here is a way to get the sources:
Line 10: Line 12:
$ hg clone http://source.apidesign.org/hg/html~demo/
$ hg clone http://source.apidesign.org/hg/html~demo/
$ cd html~demo/
$ cd html~demo/
-
$ hg up -C 3d99b96ffbd4
+
$ hg up -C b9726ab22a9b
-
$ mvn install
+
$ mvn install -DskipTests
$ cd minesweeper/
$ cd minesweeper/
$ mvn -Pnbrwsr install
$ mvn -Pnbrwsr install
-
# generates target/minesweeper-1.0-SNAPSHOT.nbm
+
# generates target/target/minesweeper-2.3-SNAPSHOT.nbm
</source>
</source>
and the system generates an NBM ([[NetBeans]] module file) which can be installed into your [[NetBeans]]! Give it a try and let's make [[NetBeans]] better by using more [[DukeScript]] [[API]]s! Don't forget that you can package the same application to run on [[Android]], [[IBrwsr|iOS]] or in a [[Bck2Brwsr|browser]]. Become a developer that can: Write once, run anywhere!
and the system generates an NBM ([[NetBeans]] module file) which can be installed into your [[NetBeans]]! Give it a try and let's make [[NetBeans]] better by using more [[DukeScript]] [[API]]s! Don't forget that you can package the same application to run on [[Android]], [[IBrwsr|iOS]] or in a [[Bck2Brwsr|browser]]. Become a developer that can: Write once, run anywhere!

JaroslavTulach at 15:22, 21 August 2014 - 2014-08-21 15:22:55

←Older revision Revision as of 15:22, 21 August 2014
Line 1: Line 1:
[[MineSweeper]] is re-implementation of classical computer game available on each [[wikipedia:Microsoft_Minesweeper|Microsoft Windows]] since the initial introduction in version 3.1. Surprisingly my kids (who otherwise spend hours with tablets) knew nothing about the game until...
[[MineSweeper]] is re-implementation of classical computer game available on each [[wikipedia:Microsoft_Minesweeper|Microsoft Windows]] since the initial introduction in version 3.1. Surprisingly my kids (who otherwise spend hours with tablets) knew nothing about the game until...
-
I needed a demonstration for [[DukeScript]] technology that is using [[Java]] to code the application logic and [[HTML]] to render its UI. I decided to write a [[MineSweeper]] game as a basic demo. I've managed to execute the demo in a browser (via [[Bck2Brwsr]] [[VM]]: check it [http://xelfi.cz/minesweeper/bck2brwsr/ on-line]) and [[Android]] (via [[DlvkBrwsr]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0!
+
I needed a demonstration for [[DukeScript]] technology that is using [[Java]] to code the application logic and [[HTML]] to render its UI. I decided to write a [[MineSweeper]] game as a basic demo. I've managed to execute the demo in a browser (via [[Bck2Brwsr]] [[VM]]: check it [http://xelfi.cz/minesweeper/bck2brwsr/ on-line]) and [[Android]] (via [[DlvkBrwsr]] also available on [[GooglePlay]]), and [[iOS]] (via [[iBrwsr]], also available on [[AppStore]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0!
Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page] and enjoy your productivity boost!
Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page] and enjoy your productivity boost!

JaroslavTulach at 12:47, 15 August 2014 - 2014-08-15 12:47:29

←Older revision Revision as of 12:47, 15 August 2014
Line 8: Line 8:
<source lang="bash">
<source lang="bash">
-
$ hg clone http://source.apidesign.org/html~demo/
+
$ hg clone http://source.apidesign.org/hg/html~demo/
$ cd html~demo/
$ cd html~demo/
$ hg up -C 3d99b96ffbd4
$ hg up -C 3d99b96ffbd4

JaroslavTulach at 13:45, 28 May 2014 - 2014-05-28 13:45:32

←Older revision Revision as of 13:45, 28 May 2014
Line 1: Line 1:
[[MineSweeper]] is re-implementation of classical computer game available on each [[wikipedia:Microsoft_Minesweeper|Microsoft Windows]] since the initial introduction in version 3.1. Surprisingly my kids (who otherwise spend hours with tablets) knew nothing about the game until...
[[MineSweeper]] is re-implementation of classical computer game available on each [[wikipedia:Microsoft_Minesweeper|Microsoft Windows]] since the initial introduction in version 3.1. Surprisingly my kids (who otherwise spend hours with tablets) knew nothing about the game until...
-
I needed a demonstration for [[DukeScript]] technology that is using [[Java]] to code the application logic and [[HTML]] to render its UI. I decided to write a [[MineSweeper]] game as a basic demo. I've managed to execute the demo in a browser (via [[TeaVM]]) and [[Android]] (via [[DlvkBrwsr]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0!
+
I needed a demonstration for [[DukeScript]] technology that is using [[Java]] to code the application logic and [[HTML]] to render its UI. I decided to write a [[MineSweeper]] game as a basic demo. I've managed to execute the demo in a browser (via [[Bck2Brwsr]] [[VM]]: check it [http://xelfi.cz/minesweeper/bck2brwsr/ on-line]) and [[Android]] (via [[DlvkBrwsr]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0!
Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page] and enjoy your productivity boost!
Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page] and enjoy your productivity boost!

JaroslavTulach at 09:58, 21 May 2014 - 2014-05-21 09:58:00

←Older revision Revision as of 09:58, 21 May 2014
Line 17: Line 17:
</source>
</source>
-
and the system generates an NBM ([[NetBeans]] module file) which can be installed into your [[NetBeans]]! Give it a try and let's make [[NetBeans]] better by using more [[DukeScript]] [[API]]s! Don't forget that you can package the same application to run on [[Android]] or in a browser. Become a developer that can: Write once, run anywhere!
+
and the system generates an NBM ([[NetBeans]] module file) which can be installed into your [[NetBeans]]! Give it a try and let's make [[NetBeans]] better by using more [[DukeScript]] [[API]]s! Don't forget that you can package the same application to run on [[Android]], [[IBrwsr|iOS]] or in a [[Bck2Brwsr|browser]]. Become a developer that can: Write once, run anywhere!

JaroslavTulach at 09:43, 18 April 2014 - 2014-04-18 09:43:15

←Older revision Revision as of 09:43, 18 April 2014
Line 1: Line 1:
[[MineSweeper]] is re-implementation of classical computer game available on each [[wikipedia:Microsoft_Minesweeper|Microsoft Windows]] since the initial introduction in version 3.1. Surprisingly my kids (who otherwise spend hours with tablets) knew nothing about the game until...
[[MineSweeper]] is re-implementation of classical computer game available on each [[wikipedia:Microsoft_Minesweeper|Microsoft Windows]] since the initial introduction in version 3.1. Surprisingly my kids (who otherwise spend hours with tablets) knew nothing about the game until...
-
I needed a demonstration for [[DukeScript]] technology that is using [[Java]] to code the application logic and [[HTML]] to render its UI. I decided to write a [[MineSweeper]] game as a basic demo. I've managed to execute the demo in a browser (via [[TeaVM]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0!
+
I needed a demonstration for [[DukeScript]] technology that is using [[Java]] to code the application logic and [[HTML]] to render its UI. I decided to write a [[MineSweeper]] game as a basic demo. I've managed to execute the demo in a browser (via [[TeaVM]]) and [[Android]] (via [[DlvkBrwsr]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0!
Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page] and enjoy your productivity boost!
Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page] and enjoy your productivity boost!