Hello World example error [message #779037] |
Sat, 14 January 2012 13:43  |
Gabriel Voiculescu Messages: 2 Registered: January 2012 |
Junior Member |
|
|
Hello ,
I just downloaded "Eclipse for RCP and RAP Developers" from downloads section on the site.
I extracted the files in a folder on my hard drive.
I opened Eclipse , the WELCOME page opened.
I clicked "Overview" and then clicked on "Rich Ajax Platform" then "Install Target Platform" and selected the last stable version.
After this i created a new project "File/New/Plug-in Project" with this default details :
name = HelloWorldExample
use default location = true
create source (src) and output folder (bin)
eclipse version = 3.7
NEXT
id , version , name
Execution Enviroment : JavaSE 1.7
Generate arhivator = true
This plugin will make contribution = true
FINISH
Now if i want to run the application by right-click on MANIFEST , run as RAP app i get this error :
org.osgi.framework.BundleException: The bundle "org.eclipse.rap.rwt.testfixture_1.5.0.20110926-1702 [37]" could not be resolved. Reason: Missing Constraint: Import-Package: javax.servlet; version="[3.0.0,4.0.0)"
Removed eclipse from the computer , new install .
Followed the same steps but this time before creating a project , i clicked INSTALL NEW SOFTWARE , and and installed RAP tooling something. It was already installed.
I searched the web for this problem and the only relevand thing i found is a bug that was resolved ( something with config.ini text ).
I have no ideea what to do.
Please help me.
Thank you ,
Gabriel Voiculescu
|
|
|
Re: Hello World example error [message #779708 is a reply to message #779037] |
Mon, 16 January 2012 11:12   |
Ivan Furnadjiev Messages: 2412 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Gabriel,
did you select the "RAP Hello World" template page in the "New Project
Wizard" (click NEXT not FINISH in "Content" page to go to "Template" page)?
HTH,
Ivan
On 1/14/2012 3:43 PM, Gabriel Voiculescu wrote:
> Hello ,
>
> I just downloaded "Eclipse for RCP and RAP Developers" from downloads
> section on the site.
>
> I extracted the files in a folder on my hard drive.
> I opened Eclipse , the WELCOME page opened.
> I clicked "Overview" and then clicked on "Rich Ajax Platform" then
> "Install Target Platform" and selected the last stable version.
>
> After this i created a new project "File/New/Plug-in Project" with
> this default details :
>
> name = HelloWorldExample
> use default location = true
> create source (src) and output folder (bin)
> eclipse version = 3.7
>
> NEXT
> id , version , name
> Execution Enviroment : JavaSE 1.7
> Generate arhivator = true
> This plugin will make contribution = true
> FINISH
>
> Now if i want to run the application by right-click on MANIFEST , run
> as RAP app i get this error :
>
> org.osgi.framework.BundleException: The bundle
> "org.eclipse.rap.rwt.testfixture_1.5.0.20110926-1702 [37]" could not
> be resolved. Reason: Missing Constraint: Import-Package:
> javax.servlet; version="[3.0.0,4.0.0)"
>
>
> Removed eclipse from the computer , new install .
>
> Followed the same steps but this time before creating a project , i
> clicked INSTALL NEW SOFTWARE , and and installed RAP tooling
> something. It was already installed.
>
>
> I searched the web for this problem and the only relevand thing i
> found is a bug that was resolved ( something with config.ini text ).
>
> I have no ideea what to do.
>
> Please help me.
>
>
> Thank you ,
>
> Gabriel Voiculescu
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
|
|
|
Re: Hello World example error [message #780756 is a reply to message #780436] |
Thu, 19 January 2012 10:07  |
|
Hi Jochen,
Normally, you never have to need to deal with the locally stored target
bundles.
When working with different targets, I can recommend using target
definition files instead the Properties dialog. I usually have a
dedicated project called targets in my workspace. This project contains
the target definitions files. Those can be created with (New > Target
Definition) and edited with the target editor. When pressing "Set as
Target" in this editor, the workspace target is switched.
HTH, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.02621 seconds