SampleBPjsProject
January 31, 2021 ยท View on GitHub
ifndef::env-github[:icons: font] ifdef::env-github[] :status: :outfilesuffix: .adoc :caution-caption: :fire: :important-caption: :exclamation: :note-caption: :page_with_curl: :tip-caption: :bulb: :warning-caption: :warning: endif::[]
SampleBPjsProject
A sample maven project using BPjs. Clone or fork this project to easily start your own prject using BPjs. This project has two files:
- link:src/main/resources/HelloBPjsWorld.js[BPjs "hello world" program].
- link:src/main/java/il/ac/bgu/cs/bp/samplebpjsproject/HelloWorld.java[Simple "main" class for running
HelloBPjsWorld.jsand emitting its events to stdout].
Run the application by typing:
mvn exec:java
Please keep these:
- This project uses https://github.com/bThink-BGU/BPjs[BPjs].
- BPjs uses the Mozilla Rhino Javascript engine. See https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino[project page and source code].