summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorIlia Motornyi <elmot@vaadin.com>2017-07-31 14:24:05 +0300
committerGitHub <noreply@github.com>2017-07-31 14:24:05 +0300
commita280b0fa5989c21166ee3d50787bb5c92ee1d1b5 (patch)
tree5f5a950e1cb739a49a9b209095eef8a1283c0389 /documentation
parentc3cf7a943a54af31dfa21cd2f2f058140ea1a122 (diff)
downloadvaadin-framework-a280b0fa5989c21166ee3d50787bb5c92ee1d1b5.tar.gz
vaadin-framework-a280b0fa5989c21166ee3d50787bb5c92ee1d1b5.zip
OSGi deployment manual
Diffstat (limited to 'documentation')
-rw-r--r--documentation/portal/portal-osgi.asciidoc25
1 files changed, 25 insertions, 0 deletions
diff --git a/documentation/portal/portal-osgi.asciidoc b/documentation/portal/portal-osgi.asciidoc
index ad59478783..0f31698f7e 100644
--- a/documentation/portal/portal-osgi.asciidoc
+++ b/documentation/portal/portal-osgi.asciidoc
@@ -57,5 +57,30 @@ public class MyUI extends UI {
}
----
+
+[[portal.osgi.portlet.gradle]]
+== Deployment a Portlet With OSGi (Gradle)
+Here is an example of a Liferay workspace with a portlet module and a short readme on how to deploy that to a Liferay portal.
+link:https://github.com/elmot/liferay-7-solid-portlet-example/[]
+
+[[portal.osgi.portlet]]
+== Deployment a Portlet With OSGi (Maven)
An OSGi portlet should be packaged as a JAR with a proper OSGi bundle
manifest, and deployed to a portal that has its required bundles installed.
+The maven archetype `com.vaadin:vaadin-archetype-liferay-portlet:8.1.0` is a good starting point to build an OSGi portlet application.
+The required bundles (and the application as well) can be installed using link:https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/blade-cli[blade client].
+The latest client binary can be downloaded from the link: link:https://releases.liferay.com/tools/blade-cli/latest/blade.jar[]
+
+Here is an example script for doing that:
+[source, shell]
+----
+java -jar blade.jar sh start https://repo1.maven.org/maven2/org/jsoup/jsoup/1.8.3/jsoup-1.8.3.jar
+java -jar blade.jar sh start https://repo1.maven.org/maven2/com/vaadin/external/gentyref/1.2.0.vaadin1/gentyref-1.2.0.vaadin1.jar
+java -jar blade.jar sh start https://repo1.maven.org/maven2/com/vaadin/vaadin-shared/8.1.0/vaadin-shared-8.1.0.jar
+java -jar blade.jar sh start https://repo1.maven.org/maven2/com/vaadin/vaadin-server/8.1.0/vaadin-server-8.1.0.jar
+java -jar blade.jar sh start https://repo1.maven.org/maven2/com/vaadin/vaadin-osgi-integration/8.1.0/vaadin-osgi-integration-8.1.0.jar
+java -jar blade.jar sh start https://repo1.maven.org/maven2/com/vaadin/vaadin-client-compiled/8.1.0/vaadin-client-compiled-8.1.0.jar
+java -jar blade.jar sh start https://repo1.maven.org/maven2/com/vaadin/vaadin-themes/8.1.0/vaadin-themes-8.1.0.jar
+java -jar blade.jar sh start https://repo1.maven.org/maven2/com/vaadin/vaadin-liferay-integration/8.1.0/vaadin-liferay-integration-8.1.0.jar
+java -jar blade.jar sh start file:<path_to_liferay_portlet.jar>
+----