|
Re: How-to install RAP 1.4.1 as target platform [message #761979 is a reply to message #761969] |
Wed, 07 December 2011 11:30 |
|
Hi and welcome to RAP!
>> This is a target platform, do not try to install it into the Eclipse IDE
>
> =============================
> Q1: What does that mean?
>
> In the zip file I see the folders eclipse/plugins and eclipse/features.
> Which means it is intended to be installed into my Eclipse IDE, isn't it?
No, it's not! It's intended to go into your target platform, not the IDE
itself.
> =============================
> Q2: How to upgrade to 1.4.1?
>
> In my sample RAP project I see there is target file "myproject.target"
> containing a folder to the RAP jars:
>
> <location path="${project_loc}/target/rap-platform" type="Directory"/>
>
> In this folder I see all the 29 rap jars (org.eclipse.rap.XXX) and also
> other jars. Looking into your zip these has change among other jars.
>
> I guess I just remove all jars in this rap folder and replace them by
> the jars provided in the zip?
Yes, that will work. I'd recommend to extract the zip to a folder, name
it rap-runtime-1.4.1, create a new target definition (New ... > Target
Definition), and add this directory to it. There are other ways to do
it, but this one is the easiest.
> =============================
> Q3: Which configurations changes are needed?
>
> In the sample project I see in the MANIFEST.MF file this entry:
>
> Require-Bundle: org.eclipse.rap.ui;bundle-version="1.4.1"
>
> I changed the version from 1.4.0 to 1.4.1.
>
> But after that I get an error from eclipse: "Unsatisfied version
> constraint". Also I get compile errors.
>
If your application works with 1.4.0 as well, there's no need to change
the version range. Just install the new target platform, that's it.
Hope this helps, 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.02286 seconds