Saturday 15 June 2013

osgi - How to run Vaadin 7 applications in Karaf? -



osgi - How to run Vaadin 7 applications in Karaf? -

i have been looking days now, lots of experiments, reply question. need able run applications, using version 7 of vaadin web framework, within karaf?

there info none of solutions read worked. related question found on (how integrate vaadin 7 osgi?) not have valid answer, @ to the lowest degree question. every time follow solution found googling lots of missing dependencies , found myself indefinitely searching , installing bundles in order satisfy imports.

this cannot hard achieve. there can give me guidelines or indicate source reply question?

this working features.xml:

<?xml version="1.0" encoding="utf-8"?> <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://karaf.apache.org/xmlns/features/v1.0.0 http://karaf.apache.org/xmlns/features/v1.0.0" name="vaadin7-feature"> <feature install="true" name="vaadin7-feature" version="1.0.0-snapshot"> <feature>vaadin7-common</feature> <bundle>mvn:com.vaadin/vaadin-themes/7.3.0</bundle> <bundle>mvn:com.vaadin/vaadin-shared/7.3.0</bundle> <bundle>mvn:com.vaadin/vaadin-server/7.3.0</bundle> <bundle>mvn:com.vaadin/vaadin-client/7.3.0</bundle> <bundle>mvn:com.vaadin/vaadin-client-compiled/7.3.0</bundle> <bundle>mvn:com.vaadin/vaadin-push/7.3.0</bundle> <bundle>mvn:com.vaadin/vaadin-sass-compiler/0.9.2</bundle> </feature> <feature name="vaadin7-common" version="1.0.0-snapshot"> <bundle>mvn:com.vaadin.external.google/android-json/0.0.20131108.vaadin1</bundle> <bundle>mvn:org.jbundle.util.osgi.wrapped/org.jbundle.util.osgi.wrapped.c3p0/0.9.1.2</bundle> <bundle>mvn:org.quartz-scheduler/quartz/2.2.1</bundle> <bundle>mvn:joda-time/joda-time/2.4</bundle> <bundle>wrap:mvn:org.springframework/spring-core/3.2.6.release$bundle-symbolicname=spring-framework&amp;bundle-version=3.2.6.release</bundle> <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_7</bundle> <bundle>mvn:com.google.guava/guava/16.0.1</bundle> <bundle>mvn:io.netty/netty/3.9.0.final</bundle> <bundle>mvn:org.apache.commons/commons-lang3/3.3.2</bundle> <bundle>mvn:com.vaadin.external.flute/flute/1.3.0.gg2</bundle> <bundle>mvn:com.vaadin.external.streamhtmlparser/streamhtmlparser-jsilver/0.0.10.vaadin1</bundle> <bundle>mvn:com.vaadin.external.google/guava/16.0.1.vaadin1</bundle> <bundle>mvn:org.eclipse.jetty.orbit/javax.servlet/3.0.0.v201112011016</bundle> <bundle>wrap:mvn:org.w3c.css/sac/1.3$bundle-symbolicname=org-w3c-css-sac&amp;bundle-version=1.3</bundle> <bundle>mvn:org.jsoup/jsoup/1.6.3</bundle> <bundle>mvn:com.vaadin.external.slf4j/vaadin-slf4j-jdk14/1.6.1</bundle> <bundle>mvn:com.vaadin.external.atmosphere/atmosphere-runtime/2.1.2.vaadin3</bundle> <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.gwt-dev/2.4.0_1</bundle> <bundle>mvn:org.apache.commons/commons-jexl/2.1.1</bundle> <bundle>mvn:com.vaadin.external.json/json/0.0.20080701</bundle> <bundle>wrap:mvn:javax.validation/validation-api/1.0.0.ga$bundle-symbolicname=validation-api&amp;bundle-version=1.0.0.ga</bundle> <bundle>wrap:mvn:net.sourceforge.cssparser/cssparser/0.9.11$bundle-symbolicname=cssparser&amp;bundle-version=0.9.11</bundle> </feature> </features>

let me know if helps you.

osgi vaadin7 apache-karaf

No comments:

Post a Comment