Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "RAP/WAR Deployment with products"

< RAP
m (Export the product)
(Replaced content with "This page was obsolete and has been deleted. Please see the history if you need to access the content.")
 
Line 1: Line 1:
===THIS IS EXPERIMENTAL! IT IS NOT OFFICIALLY SUPPORTED NEITHER BY RAP NOR BY PDE===
+
This page was obsolete and has been deleted. Please see the history if you need to access the content.
 
+
With some small tricks you're able to export a .war file with the help of product definitions.
+
 
+
==Get the war product template==
+
Get [[Media:Wardeploy projects.zip|this]] archive and import it into your workspace with "Import existing project".
+
You'll end up with two projects:
+
* org.eclipse.equinox.servletbridge.extensionbundle
+
* org.eclipse.rap.demo.product
+
 
+
Select and contained bridge.psf and import it as Team project set.
+
Your workspace should look like this after the last steps:
+
 
+
[[Image:Wardeploy_workspace.png]]
+
 
+
==Export the product==
+
 
+
Open the "rap-demo.product" file and export the product:
+
 
+
[[Image:Wardeploy export.png]]
+
 
+
The only thing you need to adjust when exporting is to set the root directory to WEB-INF and export the whole product as archive.
+
Due to a bug in PDE you need to rename the exported file from <filename>.war.zip to <filename>.war
+
 
+
[[Image:Wardeploy wizard.png]]
+
 
+
You're now able to use this war file to deploy it to an existing application server.
+
 
+
'''Note 10/15/2009''': I had to uncheck 'Synchronize before exporting', otherwise I did get an error message before the export. (Elias)
+
 
+
==Customize the feature==
+
In order to build your own application, you just need to open the feature.xml of the project, remove the org.eclipse.rap.demo plugins and add your own plugins to the feature.
+
 
+
[[Category:RAP]]
+

Latest revision as of 13:41, 17 November 2013

This page was obsolete and has been deleted. Please see the history if you need to access the content.

Back to the top