'. '

Bck2Brwsr 0.12

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
-DarchetypeGroupId=org.apidesign.html \
-DarchetypeGroupId=org.apidesign.html \
-DarchetypeArtifactId=knockout4j-archetype \
-DarchetypeArtifactId=knockout4j-archetype \
-
-DarchetypeVersion=1.1.2
+
-DarchetypeVersion=1.1.2 \
 +
-Dbck2brwsr=true
 +
# answer few questions...
$ cd nameofyourproject
$ cd nameofyourproject
# run on desktop
# run on desktop

Revision as of 21:54, 1 January 2015

Libraries can be pre-compiled and published as Maven artefacts (see Bck2BrwsrLibraries how to). The Knockout4Java Maven archetype has been modified to use the precompiled version of Bck2Brwsr rt. jar emulation library and HTML/Java APIs:

$ mvn archetype:generate \
  -DarchetypeGroupId=org.apidesign.html \
  -DarchetypeArtifactId=knockout4j-archetype \
  -DarchetypeVersion=1.1.2 \
  -Dbck2brwsr=true
# answer few questions...
$ cd nameofyourproject
# run on desktop
$ mvn process-classes exec:java
# run in a browser
$ mvn -Pbck2brwsr clean package bck2brwsr:show

Supporting Bck2BrwsrBlobURLs so one can display images available as in JAR resources.

Personal tools
buy