Bck2Brwsr 0.12

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Current revision (04:42, 1 October 2021) (edit) (undo)
 
(6 intermediate revisions not shown.)
Line 1: Line 1:
-
[[Bck2BrwsrLibraries|Libraries]] can be pre-compiled and published as [[Maven]] artefacts (see [[Bck2BrwsrLibraries]] how to). Supporting [[Bck2BrwsrBlobURLs]] so one can display images available as resources.
+
[[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">
 +
$ 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
 +
</source>
 +
 
 +
Supporting [[Bck2BrwsrBlobURLs]] so one can display images available as in [[JAR]] resources.

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.

Personal tools
buy