1.1 --- a/minesweeper/pom.xml Tue Mar 04 10:04:42 2014 +0100
1.2 +++ b/minesweeper/pom.xml Thu Mar 06 22:13:28 2014 +0100
1.3 @@ -300,9 +300,6 @@
1.4 </profile>
1.5 <profile>
1.6 <id>teabrwsr</id>
1.7 - <properties>
1.8 - <teabrwsr>--</teabrwsr>
1.9 - </properties>
1.10 <build>
1.11 <plugins>
1.12 <plugin>
1.13 @@ -333,9 +330,16 @@
1.14 <configuration>
1.15 <!-- Whether we want TeaVM to minify (obfuscate) the generated JavaScript -->
1.16 <minifying>false</minifying>
1.17 - <mainClass>org.apidesign.demo.minesweeper.MinesModel</mainClass>
1.18 + <properties>
1.19 + <!-- This classes (separated with , ; space) will be available through vm.loadClass() -->
1.20 + <html4j.entryPoints>org.apidesign.demo.minesweeper.MainBrwsr</html4j.entryPoints>
1.21 + </properties>
1.22 <!-- Don't include main page - we created it by ourselves -->
1.23 <mainPageIncluded>false</mainPageIncluded>
1.24 + <!-- Merge runtime.js instead of putting as a separate file -->
1.25 + <runtime>MERGED</runtime>
1.26 + <!-- Name of the generated file -->
1.27 + <targetFileName>bck2brwsr.js</targetFileName>
1.28 <targetDirectory>${project.build.directory}/teavm</targetDirectory>
1.29 <!-- This transformer adds null checks before virtual calls. It is not included
1.30 by default as we don't always need these null checks -->