JaroslavTulach at 19:47, 21 August 2014 - 2014-08-21 19:47:02

←Older revision Revision as of 19:47, 21 August 2014
Line 2: Line 2:
=== [[MineSweeper]] on [[iOS]] ===
=== [[MineSweeper]] on [[iOS]] ===
 +
 +
The demo [[MineSweeper]] application is now available on [[AppStore]]. Get it from there: https://itunes.apple.com/us/app/fair-minesweeper/id903688146
[[Image:MineSweeper-iOS.png]]
[[Image:MineSweeper-iOS.png]]

JaroslavTulach: /* Try It! */ - 2014-06-10 05:01:57

Try It!

←Older revision Revision as of 05:01, 10 June 2014
Line 14: Line 14:
$ 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 3bad49b62dfa
+
$ hg up -C 0ab3f9d7552d
$ mvn clean install -DskipTests
$ mvn clean install -DskipTests
</source>
</source>

JaroslavTulach: /* Try It! */ - 2014-05-21 14:23:46

Try It!

←Older revision Revision as of 14:23, 21 May 2014
Line 9: Line 9:
You don't have to watch only. You can see [[MineSweeper]] on [[iOS]] with your own eyes. Possibly use the project skeleton as a base for your own, portable [[DukeScript]] application.
You don't have to watch only. You can see [[MineSweeper]] on [[iOS]] with your own eyes. Possibly use the project skeleton as a base for your own, portable [[DukeScript]] application.
-
First of all perform general setup of the project. You need [[Mercurial]], [[Maven]], and you should be running on a Mac. Then you can execute:
+
First of all perform general setup of the project. You need [[Mercurial]], [[Maven]], [[Java]] 7 at least and you should be running on a Mac. Then you can execute:
<source lang="bash">
<source lang="bash">

JaroslavTulach: /* Try It! */ - 2014-05-21 14:23:16

Try It!

←Older revision Revision as of 14:23, 21 May 2014
Line 7: Line 7:
=== Try It! ===
=== Try It! ===
-
You don't have to watch only. You can see [[MineSweeper]] on [[iOS]] with your own eyes. Possibly use the project skeleton as a base for your own, portable [[DukeScript]] application. First of all perform general setup of the project:
+
You don't have to watch only. You can see [[MineSweeper]] on [[iOS]] with your own eyes. Possibly use the project skeleton as a base for your own, portable [[DukeScript]] application.
 +
 
 +
First of all perform general setup of the project. You need [[Mercurial]], [[Maven]], and you should be running on a Mac. Then you can execute:
<source lang="bash">
<source lang="bash">

JaroslavTulach at 14:04, 21 May 2014 - 2014-05-21 14:04:21

←Older revision Revision as of 14:04, 21 May 2014
Line 1: Line 1:
-
[[IBrwsr] is presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])!
+
[[IBrwsr]] is presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])!
=== [[MineSweeper]] on [[iOS]] ===
=== [[MineSweeper]] on [[iOS]] ===

JaroslavTulach at 14:04, 21 May 2014 - 2014-05-21 14:04:13

←Older revision Revision as of 14:04, 21 May 2014
Line 1: Line 1:
-
[[IBrwsr] is presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])! Here is a picture of sample [[MineSweeper]] game running on [[iOS]]:
+
[[IBrwsr] is presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])!
 +
 
 +
=== [[MineSweeper]] on [[iOS]] ===
[[Image:MineSweeper-iOS.png]]
[[Image:MineSweeper-iOS.png]]
-
However you don't have to just watch. You can see [[MineSweeper]] on [[iOS]] with your own eyes. Possibly use the project skeleton as a base for your own, portable [[DukeScript]] application. First of all perform general setup of the project:
+
=== Try It! ===
-
Does not work yet! Waiting for upload of binaries to [[maven]] central!
+
You don't have to watch only. You can see [[MineSweeper]] on [[iOS]] with your own eyes. Possibly use the project skeleton as a base for your own, portable [[DukeScript]] application. First of all perform general setup of the project:
<source lang="bash">
<source lang="bash">

JaroslavTulach at 14:02, 21 May 2014 - 2014-05-21 14:02:30

←Older revision Revision as of 14:02, 21 May 2014
Line 1: Line 1:
-
Presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])! Here is a picture of sample [[MineSweeper]] game running on [[iOS]]:
+
[[IBrwsr] is presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])! Here is a picture of sample [[MineSweeper]] game running on [[iOS]]:
[[Image:MineSweeper-iOS.png]]
[[Image:MineSweeper-iOS.png]]

JaroslavTulach at 10:02, 21 May 2014 - 2014-05-21 10:02:26

←Older revision Revision as of 10:02, 21 May 2014
Line 1: Line 1:
-
Presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])!
+
Presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])! Here is a picture of sample [[MineSweeper]] game running on [[iOS]]:
-
Steps to see [[MineSweeper]] on [[iOS]]. First of all general setup of the project:
+
[[Image:MineSweeper-iOS.png]]
 +
 
 +
However you don't have to just watch. You can see [[MineSweeper]] on [[iOS]] with your own eyes. Possibly use the project skeleton as a base for your own, portable [[DukeScript]] application. First of all perform general setup of the project:
Does not work yet! Waiting for upload of binaries to [[maven]] central!
Does not work yet! Waiting for upload of binaries to [[maven]] central!
Line 7: Line 9:
<source lang="bash">
<source lang="bash">
$ hg clone http://source.apidesign.org/hg/html~demo/
$ hg clone http://source.apidesign.org/hg/html~demo/
 +
$ cd html~demo
$ hg up -C 3bad49b62dfa
$ hg up -C 3bad49b62dfa
$ mvn clean install -DskipTests
$ mvn clean install -DskipTests
</source>
</source>
-
Now you can launch the minesweeper in your [[iOS]] emulator:
+
Now you can launch [[MineSweeper]] in your [[iOS]] emulator:
<source lang="bash">
<source lang="bash">
Line 18: Line 21:
</source>
</source>
-
The [[RoboVM]] compilation may take its time, but at the end you should see [[MineSweeper]] in [[iOS]] simulator. Then it should be also easy to run the application on iPhone simulator or on real device:
+
The [[RoboVM]] compilation may take its time, but at the end you should see [[MineSweeper]] running. Then it should be also easy to run the application on iPhone simulator or on real device:
<source lang="bash">
<source lang="bash">

JaroslavTulach at 06:49, 20 May 2014 - 2014-05-20 06:49:47

←Older revision Revision as of 06:49, 20 May 2014
Line 23: Line 23:
$ mvn -Pibrwsr robovm:iphone-sim
$ mvn -Pibrwsr robovm:iphone-sim
// and the device
// and the device
-
$ mvn -Pibrwsr,java.net robovm:ios-device
+
$ mvn -Pibrwsr robovm:ios-device
</source>
</source>

JaroslavTulach at 06:48, 20 May 2014 - 2014-05-20 06:48:45

←Older revision Revision as of 06:48, 20 May 2014
Line 1: Line 1:
-
Presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])!
+
Presenter for [[DukeScript]] that renders on [[iOS]] (thanks to the power of [[RoboVM]]). Write your applications in [[DukeScript]] and deploy them to [[Android]] (thanks to [[DlvkBrwsr]]) and to [[iOS]] (thanks to [[IBrwsr]])!
 +
 
 +
Steps to see [[MineSweeper]] on [[iOS]]. First of all general setup of the project:
 +
 
 +
Does not work yet! Waiting for upload of binaries to [[maven]] central!
 +
 
 +
<source lang="bash">
 +
$ hg clone http://source.apidesign.org/hg/html~demo/
 +
$ hg up -C 3bad49b62dfa
 +
$ mvn clean install -DskipTests
 +
</source>
 +
 
 +
Now you can launch the minesweeper in your [[iOS]] emulator:
 +
 
 +
<source lang="bash">
 +
$ cd minesweeper
 +
$ mvn -Pibrwsr clean install robovm:ipad-sim
 +
</source>
 +
 
 +
The [[RoboVM]] compilation may take its time, but at the end you should see [[MineSweeper]] in [[iOS]] simulator. Then it should be also easy to run the application on iPhone simulator or on real device:
 +
 
 +
<source lang="bash">
 +
$ mvn -Pibrwsr robovm:iphone-sim
 +
// and the device
 +
$ mvn -Pibrwsr,java.net robovm:ios-device
 +
</source>
 +
 
 +
Enjoy [[DukeScript]] on [[iOS]] and don't forget you can use it on [[Android]] via [[DlvkBrwsr]] as well, just try:
 +
 
 +
<source lang="bash">
 +
$ mvn -Pdlvkbrwsr clean install android:deploy android:run -Dandroid.sdk.path=/pathto/android-sdk-macosx/
 +
</source>