Bck2Brwsr 0.12

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Current revision (04:42, 1 October 2021) (edit) (undo)
 
(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 [[netbeans:Html4Java|HTML/Java]] [[API]]s:
+
[[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.

Personal tools
buy