Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 398068

Summary: [Tools] RWT-Style hello world template
Product: [RT] RAP Reporter: Elias Volanakis <elias>
Component: ToolsAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 RC1   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch fixing this issue (and 398073)
none
Updated patch for this issue none

Description Elias Volanakis CLA 2013-01-14 06:54:25 EST
The tooling should provide a minimal Hello World template, using only RWT (no Workbench). I believe using RWT-only is a best practice for RAP applications, when no single-sourcing is required. And also easier to use for people that are new to RAP (i.e. no RCP knowledge).

What we want at this stage:

- Use RWT only
- Do not use extension points (empty or no plugin.xml)
- Use ApplicationConfiguration (via DS or Activator, DS preffered).
- Create a Shell with minimal content.
- This template will replace the existing 'RAP Hello World' template
Comment 1 Elias Volanakis CLA 2013-01-14 10:53:29 EST
Created attachment 225572 [details]
Patch fixing this issue (and 398073)
Comment 2 Elias Volanakis CLA 2013-01-14 11:23:49 EST
Created attachment 225575 [details]
Updated patch for this issue

Added equinox.ds to launch config template.
Comment 3 Ivan Furnadjiev CLA 2013-01-15 09:12:40 EST
Fixed with commit 8d45a3540ea7fce12031b35dec7a30cab7fd4ff5. Thanks for the patch.
I did some changes to the original patch:
- Service component xml is located at OSGI_INF folder
- Changed the dependency from org.eclipse.rap.ui to org.eclipse.rap.rwt
- Remove workbench related bundles from basic application launch configuration (split launch template to basic and workbench)
- Some additional code cleanup and formatting
Comment 4 Elias Volanakis CLA 2013-01-16 04:32:05 EST
Some additional work is needed. Patch is coming late today.
Comment 5 Ivan Furnadjiev CLA 2013-01-16 07:05:54 EST
The problems with "Generate activator" option checked are fixed with commit ed4b35c0825dade4ab837ec9f45e19986ce7ee9d. Thanks, Elias.