Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How-to install RAP 1.4.1 as target platform
How-to install RAP 1.4.1 as target platform [message #761969] Wed, 07 December 2011 11:06 Go to next message
Tai Truong is currently offline Tai TruongFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I am new to Eclipse RAP. I have a sample RAP project based on 1.4.0. Now I try to upgrade to RAP 1.4.1

What I did is:


1. Install "Eclipse for RCP and RAP Developers"
Version: Indigo Service Release 1
Build id: 20110916-0149[/code]

2. Install target platform via the welcome page
Via Welcome page > Overview > Rich Ajax Platform (RAP) > Install Target Platform

3. Download RAP 1.4.1
I downloaded the zip from here the rap download page. On the page I see this note:
Quote:
> 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?

=============================
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?


=============================
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.
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 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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/
Re: How-to install RAP 1.4.1 as target platform [message #761985 is a reply to message #761969] Wed, 07 December 2011 11:46 Go to previous messageGo to next message
Francis Delsinnes is currently offline Francis DelsinnesFriend
Messages: 49
Registered: November 2011
Member
Choose the Menu: Window > Preferences

Into the Preferences Wizard:
Go to "Plug-in Development" > "Target Platform"

1. Add a new Target (RAP 1.4)
1.1 click to button "add"
1.2 in the new wizard
1.2.1 select "default..."
1.2.2 click to button "next"
1.2.3 Locations Tab: select the folder of your RAP 1.4 Target
1.2.4 click to button "finish"

2. Select your new target (RAP 1.4)
Re: How-to install RAP 1.4.1 as target platform [message #761989 is a reply to message #761969] Wed, 07 December 2011 11:46 Go to previous message
Francis Delsinnes is currently offline Francis DelsinnesFriend
Messages: 49
Registered: November 2011
Member
Choose the Menu: Window > Preferences

Into the Preferences Wizard:
Go to "Plug-in Development" > "Target Platform"

1. Add a new Target (RAP 1.4)
1.1 click to button "add"
1.2 in the new wizard
1.2.1 select "default..."
1.2.2 click to button "next"
1.2.3 Locations Tab: select the folder of your RAP 1.4 Target
1.2.4 click to button "finish"

2. Select your new target (RAP 1.4)
Previous Topic:How-to install RAP 1.4.1 as target platform
Next Topic:Avoid Composite Background Image from Tiling
Goto Forum:
  


Current Time: Thu Mar 28 17:25:54 GMT 2024

Powered by FUDForum. Page generated in 0.02286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top