Bck2Brwsr 0.12
From APIDesign
(Difference between revisions)
(One intermediate revision not shown.) | |||
Line 1: | Line 1: | ||
- | [[Bck2BrwsrLibraries|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 [[ | + | [[Bck2BrwsrLibraries|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 [[Html4Java|HTML/Java]] [[API]]s: |
<source lang="bash"> | <source lang="bash"> | ||
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 |
Current revision
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.