Bck2Brwsr 0.12
From APIDesign
(Difference between revisions)
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 [[netbeans:Html4Java|HTML/Java]] [[API]]s: |
+ | |||
+ | <source lang="bash"> | ||
+ | $ mvn archetype:generate \ | ||
+ | -DarchetypeGroupId=org.apidesign.html \ | ||
+ | -DarchetypeArtifactId=knockout4j-archetype \ | ||
+ | -DarchetypeVersion=1.1.2 | ||
+ | $ 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. | Supporting [[Bck2BrwsrBlobURLs]] so one can display images available as in [[JAR]] resources. |
Revision as of 21:50, 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 $ 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.