Skip to content

geckoprojects-org/org.geckoprojects.vaadin

Repository files navigation

CI BuildLicenseSonarBugsCode SmellsCoverageMaintainability RatingQuality Gate StatusReliability RatingSecurity RatingTechnical DebtVulnerabilities

Vaadin OSGi Whiteboard

This project uses bndtools to build the OSGi compliant artifacts. It is the same tool that Vaadin uses internally to make their JAR's OSGi compatible.

We use the gradle support for bndtools.

Demo Application

There is a demo application that can be tested. It illustrates the use of Vaadin Components in OSGi together with the Whiteboard:

org.gecko.vaadin.whiteboard.demo

There is a bundle fragment, for the frontend:

org.gecko.vaadin.whiteboard.demo.frontend

It contains the configuration for the Vaadin frontend generator. It is contained in the bnd.bnd file. The generator is executed at each full build or on any modification in the test.txt file.

we want to improve this process to run it as a bnd-exporter instead of an generator. this is also because the generation process takes a while.

Try it out

You need to build the whole project using the gradle wrapper:

./gradlew clean build

The Vaadin frontend is also generated within this step.

If you want to run the application using gradle, just call after the build:

./gradlew run.launch_whiteboard_demo_osgi

Then goto http://localhost:8080/twenty in your browser and you will see the demo application.

To create an executable jar in gradle call:

./gradlew export.launch_whiteboard_demo_osgi

The executable jar can be found in org.gecko.vaadin.whiteboard.demo/generated/distributions/executable. You can run the jar as usual:

java -jar launch_whiteboard_demo_osgi.jar

As a bndtools user, you can run the launch_whiteboard_demo_osgi.bndrun in the org.gecko.vaadin.whiteboard.demo project.

Artifacts

Currently the SNAPSHOT artifacts are available here:

https://oss.sonatype.org/content/repositories/snapshots/

The generator needs this dependency:

<dependency>
  <groupId>org.geckoprojects.vaadin</groupId>
  <artifactId>org.gecko.vaadin.generator</artifactId>
  <version>0.0.1-SNAPSHOT</version>
</dependency>

To use the whiteboard you will need:

<dependency>
  <groupId>org.geckoprojects.vaadin</groupId>
  <artifactId>org.gecko.vaadin.whiteboard</artifactId>
  <version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
  <groupId>org.geckoprojects.vaadin</groupId>
  <artifactId>org.gecko.vaadin.whiteboard.push</artifactId>
  <version>7.0.0-SNAPSHOT</version>
</dependency>

Links

Developers

Licenses

Eclipse Public License 2.0

Copyright

Data In Motion Consuling GmbH - All rights reserved


Data In Motion Consuling GmbH - info@data-in-motion.biz

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages