[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [rap-dev] How to start RAP design demo in local workspace
|
Hi Christian,
follow the steps bellow:
1. Download and install "Eclipse IDE for RCP and RAP Developers" from [1].
2. Create a new workspace
3. Set RAP Runtime as target platform. Use p2 software site or zip file
[2] . Don't forget to select examples/demos.
4. Import examples bundles as source bundles from "Plug-ins" tab:
Workbench demo: "org.eclipse.rap.demo"
Controls demo: "org.eclipse.rap.demo.controls"
Examples demo: "org.eclipse.rap.examples",
"org.eclipse.rap.examples.pages",
"org.eclipse.rap.filedialog.demo.examples",
"org.eclipse.rap.nebula.widgets.grid.demo.examples",
"org.eclipse.rap.nebula.widgets.richtext.demo.examples".
5. You can find the corresponding launch configurations in "launch"
folder. For example "org.eclipse.rap.demo\launch\RAP Workbench Demo
(Business).launch". Just start the demo from there. That's it.
[1] https://www.eclipse.org/downloads/packages/
[2] https://www.eclipse.org/rap/downloads/
Best regards,
Ivan Furnadjiev
On 5/8/2019 12:23, Christian Goos wrote:
Dear all,
I am trying to get the RAP design demo started in a local workspace.
I cloned the demo repository
created a workspace
build the application to get a p2 repository
But starting org.eclipse.rap.design.example always results in
java.lang.NullPointerException
at
org.eclipse.rap.ui.internal.servlet.WorkbenchApplicationConfiguration.getOSGiProperty(WorkbenchApplicationConfiguration.java:147)
at
org.eclipse.rap.ui.internal.servlet.WorkbenchApplicationConfiguration.registerSettingStoreFactory(WorkbenchApplicationConfiguration.java:107)
at
org.eclipse.rap.ui.internal.servlet.WorkbenchApplicationConfiguration.configure(WorkbenchApplicationConfiguration.java:94)
at
org.eclipse.rap.rwt.internal.application.ApplicationContextImpl.doActivate(ApplicationContextImpl.java:371)
at
org.eclipse.rap.rwt.internal.application.ApplicationContextImpl.activate(ApplicationContextImpl.java:244)
.....
java.lang.RuntimeException:
org.eclipse.equinox.http.servlet.internal.error.PatternInUseException:
Pattern already in use: /
at
org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.registerServlet(ApplicationReferenceImpl.java:194)
at
org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.registerServlets(ApplicationReferenceImpl.java:91)
at
org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.startRWTApplication(ApplicationReferenceImpl.java:80)
How do I have to create my local workspace to get the demo application
running?
thanks
-
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/rap-dev