minesweeper/pom.xml
changeset 160 be13d9823456
parent 159 1b667288ba9c
child 161 0ab3f9d7552d
     1.1 --- a/minesweeper/pom.xml	Sun Jun 08 09:22:48 2014 +0200
     1.2 +++ b/minesweeper/pom.xml	Mon Jun 09 12:39:34 2014 +0200
     1.3 @@ -24,9 +24,9 @@
     1.4    <url>http://html.java.net/</url>
     1.5    <properties>
     1.6      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     1.7 -    <brwsr.startpage>pages/index.html</brwsr.startpage>
     1.8      <project.mainclass>org.apidesign.demo.minesweeper.Main</project.mainclass>
     1.9      <netbeans.compile.on.save>none</netbeans.compile.on.save>
    1.10 +    <bck2brwsr.obfuscationlevel>FULL</bck2brwsr.obfuscationlevel>
    1.11    </properties>
    1.12    <build>
    1.13        <plugins>
    1.14 @@ -163,8 +163,8 @@
    1.15            <id>bck2brwsr</id>
    1.16            <activation>
    1.17                <property>
    1.18 -                  <name>brwsr</name>
    1.19                    <value>bck2brwsr</value>
    1.20 +                  <name>show</name>
    1.21                </property>
    1.22            </activation>
    1.23            <build>
    1.24 @@ -191,12 +191,19 @@
    1.25                            <execution>
    1.26                                <goals>
    1.27                                    <goal>brwsr</goal>
    1.28 +                                  <goal>aot</goal>
    1.29                                </goals>
    1.30                            </execution>
    1.31                        </executions>
    1.32                        <configuration>
    1.33 -                          <directory>${basedir}/src/main/webapp/</directory>
    1.34 -                          <startpage>${brwsr.startpage}</startpage>
    1.35 +                          <obfuscation>${bck2brwsr.obfuscationlevel}</obfuscation>
    1.36 +                          <directory>${project.build.directory}/${project.build.finalName}-bck2brwsr/public_html/</directory>
    1.37 +                          <startpage>index.html</startpage>
    1.38 +                          <classPathPrefix>lib</classPathPrefix>
    1.39 +                          <mainJavaScript>${project.build.directory}/minesweeper.js</mainJavaScript>
    1.40 +                          <exports>
    1.41 +                              <export>org.apidesign.demo.minesweeper.MinesModel</export>
    1.42 +                          </exports>
    1.43                        </configuration>
    1.44                    </plugin>
    1.45                    <plugin>
    1.46 @@ -236,6 +243,17 @@
    1.47                    <classifier>rt</classifier>
    1.48                </dependency>
    1.49                <dependency>
    1.50 +                  <groupId>org.netbeans.html</groupId>
    1.51 +                  <artifactId>net.java.html.boot</artifactId>
    1.52 +                  <version>${net.java.html.version}</version>
    1.53 +                  <exclusions>
    1.54 +                      <exclusion>
    1.55 +                          <artifactId>asm</artifactId>
    1.56 +                          <groupId>org.ow2.asm</groupId>
    1.57 +                      </exclusion>
    1.58 +                  </exclusions>
    1.59 +              </dependency>
    1.60 +              <dependency>
    1.61                    <groupId>org.apidesign.bck2brwsr</groupId>
    1.62                    <artifactId>ko-bck2brwsr</artifactId>
    1.63                    <version>${bck2brwsr.version}</version>