Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » deploying RAP: new tutorial?
deploying RAP: new tutorial? [message #138673] Mon, 29 June 2009 20:02 Go to next message
Hans K. is currently offline Hans K.Friend
Messages: 10
Registered: July 2009
Junior Member
This blog has been very useful for my first steps with eclipse 3.3:
http://eclipsesource.com/blogs/2007/11/28/rap-deployment-par t-1-deploying-your-application-with-jetty/

Now I want to update to eclipse 3.4 or 3.5, but I cannot deploy RAP
applications anymore. The blog says:
"Update 2008/8/11: note that this instructions are NOT accurate for
deploying RAP 1.1 with Eclipse 3.4. According to the mailing list there
are at least two changes: These projects should not be opened in your
workspace: javax.servlet, org.apache.commons.logging,
org.eclipse.equinox.http.jetty, org.eclipse.equinox.http.registry,
org.eclipse.equinox.http.servlet, org.mortbay.jetty. And you now *have* to
use the ConfigIniCreator to create a valid config.ini file. I will
schedule some time to do an fully updated re-post of this tutorial in
August."

I don't know if August means August 2008, 2009 or 2010. But has somebody
written an update recently, how to deploy RAP with eclipse >= 3.4?

regards
Hans
Re: deploying RAP: new tutorial? [message #138685 is a reply to message #138673] Mon, 29 June 2009 20:15 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Hans,

the WAR deployment tutorial from the RAP help describes how to
accomplish this task. It can either be viewed online [1] but is also
included in the developer guide that comes with the RAP Tooling.

HTH
Rüdiger

[1]
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .rap.help/help/html/advanced/deployment.html

Hans K. wrote:
> This blog has been very useful for my first steps with eclipse 3.3:
> http://eclipsesource.com/blogs/2007/11/28/rap-deployment-par t-1-deploying-your-application-with-jetty/
>
>
> Now I want to update to eclipse 3.4 or 3.5, but I cannot deploy RAP
> applications anymore. The blog says:
> "Update 2008/8/11: note that this instructions are NOT accurate for
> deploying RAP 1.1 with Eclipse 3.4. According to the mailing list there
> are at least two changes: These projects should not be opened in your
> workspace: javax.servlet, org.apache.commons.logging,
> org.eclipse.equinox.http.jetty, org.eclipse.equinox.http.registry,
> org.eclipse.equinox.http.servlet, org.mortbay.jetty. And you now *have*
> to use the ConfigIniCreator to create a valid config.ini file. I will
> schedule some time to do an fully updated re-post of this tutorial in
> August."
> I don't know if August means August 2008, 2009 or 2010. But has somebody
> written an update recently, how to deploy RAP with eclipse >= 3.4?
>
> regards
> Hans
>
Re: deploying RAP: new tutorial? [message #138696 is a reply to message #138685] Mon, 29 June 2009 20:26 Go to previous messageGo to next message
Hans K. is currently offline Hans K.Friend
Messages: 10
Registered: July 2009
Junior Member
Is it no longer possible to deploy using the jetty server? I found that
description much easier to understand and have not been able to deploy
using WAR, when I tried long time ago.

Hans
Re: deploying RAP: new tutorial? [message #138707 is a reply to message #138673] Tue, 30 June 2009 06:39 Go to previous messageGo to next message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
Hans K. wrote:
> has somebody written an update recently, how to deploy RAP with
eclipse >= 3.4?

This document prepared for our project should help. It uses Eclipse
Ganymede (a.k.a 3.4).

1. Check out the KMS.Fronend project.
a.
b.
c. Also in the Project/Preferences/Java Build Path/Libraries/Add
Library choose Plug-in dependencies and the library
org.eclipse.rap.rwt_[version-build].jar.
d. If there is problem with the RAP resources set the target platform
to ${your eclipse home}\configuration\org.eclipse.rap.target-1.2\eclipse.
Access through Window/Preferences/Plug-in development/Target
Platform/Location.

2. Create a feature project
a. Checkout the the rap feature demo from the eclipse CVS at
„:pserver:dev.eclipse.org:/cvsroot/rt“ and then project „org.eclipse.rap
/releng/org.eclipse.rap.demo.feature“. The username requred is ‚
anonymous ‘ and there is no password required.

3. Obtain the servlet bridge.
Checkout the the Equinox projects from the eclipse CVS at
„:pserver:dev.eclipse.org:/cvsroot/rt“ and then folder
„org.eclipse.equinox/server-side/bundles/“. In it you need:
1. org.eclipse.equinox.http.servletbridge
2. org.eclipse.equinox.servletbridge
Check these project out.

4. Import the org.eclipse.update.configurator plug-in from your eclipse
installation (not the target!).Choose File > Import > Plug-ins and
Fragments. In the “Import From” group uncheck the option “The target
platform (as specified in the Preferences”). Under “Plug-in Location”
enter the path to your plugins directory (for example:
c:temp/eclipse/plugins). Next. Select „org.eclipse.update.configurator“.
Add it. Finish.

5. Make a copy of the org.eclipse.rap.demo.feature and name it
KMS.Admin.feature.

6. Adjust the copied feature.xml.Change the id to “KMS.Admin.feature“.
Change the fields Version, Name and Provider to your liking. Then modify
the list of Plug-ins and Fragments: remove org.eclipse.rap.demo; add
KMS.Fronend. Save. Then add the org.eclipse.equinox.http.servlet and
org.eclipse.equinox.http.servletbridge. At the end you should have 27
plugins in the feature. Namely:
1. org.eclipse.core.commands
2. org.eclipse.core.contenttype
3. org.eclipse.core.jobs
4. org.eclipse.core.runtime
5. org.eclipse.equinox.common
6. org.eclipse.equinox.http.registry
7. org.eclipse.equinox.http.servlet
8. org.eclipse.equinox.http.servletbridge
9. org.eclipse.equinox.preferences
10. org.eclipse.equinox.registry
11. org.eclipse.osgi
12. org.eclipse.osgi.services
13. org.eclipse.rap.jface
14. org.eclipse.rap.rwt
15. org.eclipse.rap.ui.workbench
16. org.eclipse.core.expressions
17. org.eclipse.equinox.app
18. org.eclipse.rap.ui
19. org.eclipse.rap.rwt.q07
20. org.eclipse.rap.jface.databinding
21. org.eclipse.core.databinding
22. org.eclipse.core.databinding.observable
23. org.eclipse.core.databinding.property
24. com.ibm.icu.base
25. org.eclipse.rap.ui.views
26. KMS.Frontend
27. org.eclipse.update.configurator

7. Adjust the copied ant script under scriptwebappBuilder.xml.
• Change the servletbridge.dir property to point to the absolute
location of the org.eclipse.equinox.servletbridge plugin on your
machine. Remember to use ‘/’ as the path delimiter.
• Change the webapp.name to KMS.Admin.
• Change the features property to “KMS.Admin.feature “. This determines
which feature the script will export.
• Save.

8. Check the contents of the file
“/KMS.Admin.feature/templates/WEB-INF/eclipse/configuratio n/config.ini”.
Make sure it contains the following:

#Eclipse Runtime Configuration File
osgi.bundles=org.eclipse.equinox.common@2:start,
org.eclipse.update.configurator@start,
org.eclipse.equinox.http.servletbridge@start,
org.eclipse.equinox.http.registry@start
osgi.bundles.defaultStartLevel=4


9. Configure and run the ant task.
• Select webappBuilder.xml and open the External Tools Dialog (Run >
External Tools > Open External Tools Dialog).
• Double click on “Ant Build”.
• Select the new entry (KMS.Admin.feature webappBuilder.xml).
• In the JRE Tab adjust “Runtime JRE” to “Run in the same JRE as the
workspace” (otherwise the script will not be able to use the PDE Ant
Task for exporting our feature).
• Run.
• You should see a “BUILD SUCCESSFUL” message on the console. Notice
that the PDE Export task is still running in the background (progress
indicator). Wait until it finishes.

10. Select the calc.ui.war.feature and hit Refresh (F5).You should now
have a build directory in that project with the following content:
• Build/ KMS.Admin/WEB-INF/eclipse/configuration
• Build/ KMS.Admin/WEB-INF/eclipse/features
• Build/ KMS.Admin/WEB-INF/eclipse/plugins
• Build/ KMS.Admin/WEB-INF/eclipse/.eclipseproduct
• Build/ KMS.Admin/WEB-INF/eclipse/launch.ini
• Build/ KMS.Admin/WEB-INF/lib/servletbridge.jar
• Build/ KMS.Admin/WEB-INF/web.xml

11. Zip the KMS.Admin to a *.war archieve. One may use the
buildWarDeploy.xml ant build file for ease of the deployment process.

12. Keep in mind that the application servlet is set to ‘kms’ so in the
browser you need some-thing like: http://yourserver:yourport/KMS.Admin/kms

13. Additionally one should check the target project settings.
Setup the plugin.xml in the target (main) project (e.g. the
KMS.Frontend). That means the build tab in the plugin.xml editor and the
binary build section. Select the META-INF, ${our_project_name}.launch,
bin, lib, plugin.xml, resources and the theme1 check boxes.


[1]
http://www.screencast.com/users/eclipsenuggets/folders/eclip se/media/9c9f07f6-4b0a-4efa-844c-83e3d7e6ea4b
[2]
http://eclipsesource.com/blogs/2007/12/07/rap-deployment-par t-2-deploying-your-application-as-a-war-file/
[3]
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. rap.help/help/html/advanced/deployment.html
Re: deploying RAP: new tutorial? [message #138788 is a reply to message #138696] Tue, 30 June 2009 21:11 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Hans,

I overlooked that you want to deploy RAP standalone, sorry for that.
It is still possible to deploy RAP that way. The blog is outdated
and (at least the list of required bundles has changed) but there is
no updated version so far.
This post [1] might help and if you can describe what exactly
doesn't work we will help to solve the problem.

Cheers,
Rüdiger

[1]
http://eclipse.org/newsportal/article.php?id=6878&group= eclipse.technology.rap#6878

Hans K. wrote:
> Is it no longer possible to deploy using the jetty server? I found that
> description much easier to understand and have not been able to deploy
> using WAR, when I tried long time ago.
>
> Hans
>
Re: deploying RAP: new tutorial? [message #138825 is a reply to message #138788] Wed, 01 July 2009 10:15 Go to previous messageGo to next message
Hans K. is currently offline Hans K.Friend
Messages: 10
Registered: July 2009
Junior Member
Thank you, Rüdiger.

I created a simple RAP application from the "Hello World" template, which
launches with no problems inside eclipse. Operating system is linux.

I followed all steps from
http://eclipsesource.com/blogs/2007/11/28/rap-deployment-par t-1-deploying-your-application-with-jetty/

Eclipse is listening on port 7070:
$lsof|grep 7070
"eclipse 6502 hans 46u IPv6 308003 TCP
*:7070 (LISTEN)"

But the terminal (where ./eclipse -console was started) shows only>
osgi>
and none of the jetty INFO messages from the screencast (in the link
above).

Typing "ss" in the console:
osgi> ss

Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.5.0.v20090520
1 ACTIVE org.eclipse.equinox.common_3.5.0.v20090520-1800
2 ACTIVE org.eclipse.update.configurator_3.3.0.v20090312
3 ACTIVE org.eclipse.rap.ui_1.2.0.20090616-1425
4 ACTIVE org.eclipse.equinox.http.jetty_2.0.0.v20090520-1800
5 ACTIVE org.eclipse.equinox.launcher_1.0.200.v20090520
Fragments=27
6 ACTIVE org.eclipse.equinox.registry_3.4.100.v20090520-1800
7 ACTIVE org.eclipse.rap.ui.workbench_1.2.0.20090616-1425
9 ACTIVE org.mortbay.jetty.util_6.1.15.v200905182336
10 RESOLVED org.apache.commons.logging_1.0.4.v200904062259
12 <<LAZY>> org.eclipse.core.contenttype_3.4.0.v20090429-1800
13 RESOLVED org.eclipse.equinox.http.registry_1.0.200.v20090520-1800
14 <<LAZY>> org.eclipse.core.databinding_1.2.0.I20090604-2000
15 <<LAZY>> org.eclipse.core.databinding.property_1.2.0.I20090526-2000
16 <<LAZY>> org.eclipse.core.expressions_3.4.100.v20090429-1800
17 RESOLVED org.eclipse.rap.jface.databinding_1.2.0.20090616-1425
18 ACTIVE org.eclipse.equinox.http.servlet_1.0.200.v20090520-1800
19 RESOLVED org.eclipse.rap.rwt_1.2.0.20090616-1425
Fragments=21
20 ACTIVE org.eclipse.equinox.app_1.2.0.v20090520-1800
21 RESOLVED org.eclipse.rap.rwt.q07_1.2.0.20090616-1425
Master=19
22 ACTIVE org.eclipse.core.runtime_3.5.0.v20090525
23 RESOLVED org.eclipse.core.commands_3.5.0.I20090525-2000
26 ACTIVE org.eclipse.rap.jface_1.2.0.20090616-1425
27 RESOLVED org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
Master=5
28 <<LAZY>> org.eclipse.core.databinding.observable_1.2.0.I20090604-2000
29 RESOLVED javax.servlet_2.5.0.v200806031605
30 <<LAZY>> com.ibm.icu.base_4.0.1.v20090415
32 ACTIVE org.eclipse.equinox.preferences_3.2.300.v20090520-1800
33 RESOLVED org.mortbay.jetty.server_6.1.15.v200905151201
34 RESOLVED org.eclipse.osgi.services_3.2.0.v20090520-1800
36 ACTIVE org.eclipse.core.jobs_3.4.100.v20090429-1800
45 <<LAZY>> raphello_1.0.0.200907011154


Checking configuration/*.log shows:
$ cat configuration/1246442144336.log
!SESSION 2009-07-01 11:55:43.884
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86 -console
!ENTRY org.eclipse.update.configurator 4 0 2009-07-01 11:55:45.348
!MESSAGE Unable to find feature.xml in directory:
/home/hans/workspace/deploydir/features/raphello.feature_1.0 .0.200907011154.jar

But feature.xml IS in the jar file:
$ jar xf
/home/hans/workspace/deploydir/features/raphello.feature_1.0 .0.200907011154.jar;
cat feature.xml
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="raphello.feature"
label="Feature"
version="1.0.0.200907011154">

<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>

<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>

<license url="http://www.example.com/license">
[Enter License Description here.]
</license>

<requires>
<import plugin="org.eclipse.equinox.common" version="3.2.0"
match="compatible"/>
<import plugin="org.eclipse.equinox.preferences" version="3.2.0"
match="compatible"/>
<import plugin="org.eclipse.equinox.registry" version="3.2.0"
match="compatible"/>
<import plugin="org.eclipse.core.databinding.observable"
version="1.2.0" match="compatible"/>
<import plugin="org.eclipse.core.databinding.property"
version="1.2.0" match="compatible"/>
<import plugin="org.eclipse.core.runtime" version="3.3.0"
match="compatible"/>
<import plugin="org.eclipse.osgi" version="3.5.0"
match="compatible"/>
<import plugin="org.eclipse.equinox.common" version="3.5.0"
match="compatible"/>
<import plugin="org.eclipse.core.jobs" version="3.2.0"
match="compatible"/>
<import plugin="org.eclipse.equinox.registry" version="3.4.0"
match="compatible"/>
<import plugin="org.eclipse.core.contenttype" version="3.3.0"
match="compatible"/>
<import plugin="org.eclipse.equinox.app" version="1.0.0"
match="compatible"/>
<import plugin="org.eclipse.rap.rwt" version="1.2.0"
match="compatible"/>
<import plugin="org.eclipse.core.commands" version="3.4.0"
match="compatible"/>
<import plugin="org.eclipse.rap.jface" version="1.2.0"
match="compatible"/>
<import plugin="org.eclipse.core.databinding" version="1.2.0"
match="compatible"/>
<import plugin="org.eclipse.core.runtime" version="3.2.0"
match="compatible"/>
<import plugin="org.eclipse.rap.ui.workbench" version="1.2.0"
match="compatible"/>
<import plugin="org.eclipse.core.expressions" version="3.4.0"
match="compatible"/>
<import plugin="org.eclipse.core.runtime" version="3.4.0"
match="compatible"/>
<import plugin="org.eclipse.core.expressions" version="3.2.0"
match="compatible"/>
<import plugin="org.eclipse.rap.jface.databinding" version="1.2.0"
match="compatible"/>
<import plugin="org.eclipse.core.databinding" version="1.1.0"
match="compatible"/>
<import plugin="org.mortbay.jetty.util"/>
</requires>

<plugin
id="com.ibm.icu.base"
download-size="0"
install-size="0"
version="4.0.1.v20090415"
unpack="false"/>
...

Any clue, what is wrong?
Hans
Re: deploying RAP: new tutorial? [message #138837 is a reply to message #138825] Wed, 01 July 2009 12:31 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
to deploy a standalone RAP application you have to follow almost the
same steps as if you would deploy the application as a WAR. Only the
servletbgridge stuff must be left aside and packaging result as a
war file, of course.

In your case, don't use the update.configurator but create a
config.ini that lists all the necessary bundles.

You can follow the WAR deployment instructions [1] and leave out the
unneeded parts. Additional hints for trouble shooting can be found
in the FAQ [2].

HTH
Rüdiger

[1]
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .rap.help/help/html/advanced/deployment.html
[2] http://wiki.eclipse.org/RAP/FAQ

Hans K. wrote:
> Thank you, Rüdiger.
>
> I created a simple RAP application from the "Hello World" template,
> which launches with no problems inside eclipse. Operating system is linux.
>
> I followed all steps from
> http://eclipsesource.com/blogs/2007/11/28/rap-deployment-par t-1-deploying-your-application-with-jetty/
>
>
> Eclipse is listening on port 7070:
> $lsof|grep 7070
> "eclipse 6502 hans 46u IPv6 308003 TCP
> *:7070 (LISTEN)"
>
> But the terminal (where ./eclipse -console was started) shows only>
> osgi>
> and none of the jetty INFO messages from the screencast (in the link
> above).
>
> Typing "ss" in the console:
> osgi> ss
>
> Framework is launched.
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.5.0.v20090520
> 1 ACTIVE org.eclipse.equinox.common_3.5.0.v20090520-1800
> 2 ACTIVE org.eclipse.update.configurator_3.3.0.v20090312
> 3 ACTIVE org.eclipse.rap.ui_1.2.0.20090616-1425
> 4 ACTIVE org.eclipse.equinox.http.jetty_2.0.0.v20090520-1800
> 5 ACTIVE org.eclipse.equinox.launcher_1.0.200.v20090520
> Fragments=27
> 6 ACTIVE org.eclipse.equinox.registry_3.4.100.v20090520-1800
> 7 ACTIVE org.eclipse.rap.ui.workbench_1.2.0.20090616-1425
> 9 ACTIVE org.mortbay.jetty.util_6.1.15.v200905182336
> 10 RESOLVED org.apache.commons.logging_1.0.4.v200904062259
> 12 <<LAZY>> org.eclipse.core.contenttype_3.4.0.v20090429-1800
> 13 RESOLVED org.eclipse.equinox.http.registry_1.0.200.v20090520-1800
> 14 <<LAZY>> org.eclipse.core.databinding_1.2.0.I20090604-2000
> 15 <<LAZY>>
> org.eclipse.core.databinding.property_1.2.0.I20090526-2000
> 16 <<LAZY>> org.eclipse.core.expressions_3.4.100.v20090429-1800
> 17 RESOLVED org.eclipse.rap.jface.databinding_1.2.0.20090616-1425
> 18 ACTIVE org.eclipse.equinox.http.servlet_1.0.200.v20090520-1800
> 19 RESOLVED org.eclipse.rap.rwt_1.2.0.20090616-1425
> Fragments=21
> 20 ACTIVE org.eclipse.equinox.app_1.2.0.v20090520-1800
> 21 RESOLVED org.eclipse.rap.rwt.q07_1.2.0.20090616-1425
> Master=19
> 22 ACTIVE org.eclipse.core.runtime_3.5.0.v20090525
> 23 RESOLVED org.eclipse.core.commands_3.5.0.I20090525-2000
> 26 ACTIVE org.eclipse.rap.jface_1.2.0.20090616-1425
> 27 RESOLVED
> org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
> Master=5
> 28 <<LAZY>>
> org.eclipse.core.databinding.observable_1.2.0.I20090604-2000
> 29 RESOLVED javax.servlet_2.5.0.v200806031605
> 30 <<LAZY>> com.ibm.icu.base_4.0.1.v20090415
> 32 ACTIVE org.eclipse.equinox.preferences_3.2.300.v20090520-1800
> 33 RESOLVED org.mortbay.jetty.server_6.1.15.v200905151201
> 34 RESOLVED org.eclipse.osgi.services_3.2.0.v20090520-1800
> 36 ACTIVE org.eclipse.core.jobs_3.4.100.v20090429-1800
> 45 <<LAZY>> raphello_1.0.0.200907011154
>
>
> Checking configuration/*.log shows:
> $ cat configuration/1246442144336.log !SESSION 2009-07-01 11:55:43.884
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_07
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86 -console
> !ENTRY org.eclipse.update.configurator 4 0 2009-07-01 11:55:45.348
> !MESSAGE Unable to find feature.xml in directory:
> /home/hans/workspace/deploydir/features/raphello.feature_1.0 .0.200907011154.jar
>
>
> But feature.xml IS in the jar file:
> $ jar xf
> /home/hans/workspace/deploydir/features/raphello.feature_1.0 .0.200907011154.jar;
> cat feature.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <feature
> id="raphello.feature"
> label="Feature"
> version="1.0.0.200907011154">
>
> <description url="http://www.example.com/description">
> [Enter Feature Description here.]
> </description>
>
> <copyright url="http://www.example.com/copyright">
> [Enter Copyright Description here.]
> </copyright>
>
> <license url="http://www.example.com/license">
> [Enter License Description here.]
> </license>
>
> <requires>
> <import plugin="org.eclipse.equinox.common" version="3.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.equinox.preferences" version="3.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.equinox.registry" version="3.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.core.databinding.observable"
> version="1.2.0" match="compatible"/>
> <import plugin="org.eclipse.core.databinding.property"
> version="1.2.0" match="compatible"/>
> <import plugin="org.eclipse.core.runtime" version="3.3.0"
> match="compatible"/>
> <import plugin="org.eclipse.osgi" version="3.5.0" match="compatible"/>
> <import plugin="org.eclipse.equinox.common" version="3.5.0"
> match="compatible"/>
> <import plugin="org.eclipse.core.jobs" version="3.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.equinox.registry" version="3.4.0"
> match="compatible"/>
> <import plugin="org.eclipse.core.contenttype" version="3.3.0"
> match="compatible"/>
> <import plugin="org.eclipse.equinox.app" version="1.0.0"
> match="compatible"/>
> <import plugin="org.eclipse.rap.rwt" version="1.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.core.commands" version="3.4.0"
> match="compatible"/>
> <import plugin="org.eclipse.rap.jface" version="1.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.core.databinding" version="1.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.core.runtime" version="3.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.rap.ui.workbench" version="1.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.core.expressions" version="3.4.0"
> match="compatible"/>
> <import plugin="org.eclipse.core.runtime" version="3.4.0"
> match="compatible"/>
> <import plugin="org.eclipse.core.expressions" version="3.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.rap.jface.databinding" version="1.2.0"
> match="compatible"/>
> <import plugin="org.eclipse.core.databinding" version="1.1.0"
> match="compatible"/>
> <import plugin="org.mortbay.jetty.util"/>
> </requires>
>
> <plugin
> id="com.ibm.icu.base"
> download-size="0"
> install-size="0"
> version="4.0.1.v20090415"
> unpack="false"/>
> ...
>
> Any clue, what is wrong?
> Hans
>
Re: deploying RAP: new tutorial? [message #138878 is a reply to message #138837] Wed, 01 July 2009 14:21 Go to previous messageGo to next message
Hans K. is currently offline Hans K.Friend
Messages: 10
Registered: July 2009
Junior Member
Unfortunately I still don't know which parts of your link [1] to follow
and which to leave out.

And if I am to follow the following parts, I don't know
1) What is meant by "We also assume that you have a checkout of the
servlet bridge and demo feature bundles in your workspace." The link
"servlet bridge and demo feature bundles" points to a file
"servletbridge-anon.psf" with the contents
<?xml version="1.0" encoding="UTF-8"?>
<psf version="2.0">
<provider id="org.eclipse.team.cvs.core.cvsnature">
<project
reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/rt,org.eclipse.equinox/server-side/bundles/org.ecl ipse.equinox.http.servletbridge,org.eclipse.equinox.http.ser vletbridge "/>
<project
reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/rt,org.eclipse.equinox/server-side/bundles/org.ecl ipse.equinox.servletbridge,org.eclipse.equinox.servletbridge "/>
<project
reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/rt,org.eclipse.rap/releng/org.eclipse.rap.demo.fea ture,org.eclipse.rap.demo.feature "/>
</provider>
</psf>
Is this link supposed to offer a download of org.eclipse.rap.demo.feature
instead?

2) where to get the org.eclipse.rap.demo.feature and the script directory
therein (section "Prepare your build script")

3) How to "Run the ConfigIniCreator as java application". I find no
documentation on the ConfigIniCreator class and don't have this class
anywhere in my type hierarchy.

Maybe I don't need to know 1) and 2). But please tell me where to find the
ConfigIniCreator class or application or whatever. And could I have found
this class/application by using the eclipse help or google? How?

I am not so experienced that sentences like
"Open the script/webappBuilder.xml of the org.eclipse.rap.demo.feature
with the Ant editor." are of any use to me if the help describes nowhere
how to get the files that I am supposed to open.

I am using Eclipse Version: 3.5.0 Build id: I20090611-1540.

regards,
Hans
Re: deploying RAP: new tutorial? [message #138913 is a reply to message #138878] Wed, 01 July 2009 14:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

hi,

please see

http://www.eclipse.org/newsportal/article.php?id=6924&gr oup=eclipse.technology.rap#6924

for my comments.


greetings,
ben



Hans K. schrieb:
> Unfortunately I still don't know which parts of your link [1] to follow
> and which to leave out.
>
> And if I am to follow the following parts, I don't know
> 1) What is meant by "We also assume that you have a checkout of the
> servlet bridge and demo feature bundles in your workspace." The link
> "servlet bridge and demo feature bundles" points to a file
> "servletbridge-anon.psf" with the contents
> <?xml version="1.0" encoding="UTF-8"?>
> <psf version="2.0">
> <provider id="org.eclipse.team.cvs.core.cvsnature">
> <project
> reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/rt,org.eclipse.equinox/server-side/bundles/org.ecl ipse.equinox.http.servletbridge,org.eclipse.equinox.http.ser vletbridge "/>
>
> <project
> reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/rt,org.eclipse.equinox/server-side/bundles/org.ecl ipse.equinox.servletbridge,org.eclipse.equinox.servletbridge "/>
>
> <project
> reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/rt,org.eclipse.rap/releng/org.eclipse.rap.demo.fea ture,org.eclipse.rap.demo.feature "/>
>
> </provider>
> </psf>
> Is this link supposed to offer a download of
> org.eclipse.rap.demo.feature instead?
>
> 2) where to get the org.eclipse.rap.demo.feature and the script
> directory therein (section "Prepare your build script")
>
> 3) How to "Run the ConfigIniCreator as java application". I find no
> documentation on the ConfigIniCreator class and don't have this class
> anywhere in my type hierarchy.
>
> Maybe I don't need to know 1) and 2). But please tell me where to find
> the ConfigIniCreator class or application or whatever. And could I have
> found this class/application by using the eclipse help or google? How?
>
> I am not so experienced that sentences like
> "Open the script/webappBuilder.xml of the org.eclipse.rap.demo.feature
> with the Ant editor." are of any use to me if the help describes nowhere
> how to get the files that I am supposed to open.
>
> I am using Eclipse Version: 3.5.0 Build id: I20090611-1540.
>
> regards,
> Hans
>
Re: deploying RAP: new tutorial? [message #138936 is a reply to message #138837] Thu, 02 July 2009 08:12 Go to previous messageGo to next message
Hans K. is currently offline Hans K.Friend
Messages: 10
Registered: July 2009
Junior Member
Following Bens hint I checked out the plugins in
http://help.eclipse.org/galileo/topic/org.eclipse.rap.help/h elp/html/advanced/servletbridge-anon.psf,
now being able to run ConfigIniCreator.

But when I "Run Ant" on the script/webappBuilder.xml as described in the
help ("Create the build content") I get this error:
PDE Export encountered a problem:
Unable to find plug-in: org.eclipse.rap.examples_0.0.0. Please check the
error log for more details.

I have imported http://www.eclipse.org/rap/resources/rap.psf, but don't
find a plugin org.eclipse.rap.examples anywhere. Neither with google.
Please help once again.

Hans
Re: deploying RAP: new tutorial? [message #138948 is a reply to message #138936] Thu, 02 July 2009 08:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

Hi,

you need to copy the rap demo feature and adjust it to your needs, meaning to clean the feature.xml (through the PDE editor) from all unnecessary plug-ins and fragment.
there you need to list ALL plug-ins (except the ones described in the deployment guide) that are needed for your application to run, take the launch config from the IDE
into consideration.


hth,
ben



Hans K. schrieb:
> Following Bens hint I checked out the plugins in
> http://help.eclipse.org/galileo/topic/org.eclipse.rap.help/h elp/html/advanced/servletbridge-anon.psf,
> now being able to run ConfigIniCreator.
>
> But when I "Run Ant" on the script/webappBuilder.xml as described in the
> help ("Create the build content") I get this error:
> PDE Export encountered a problem:
> Unable to find plug-in: org.eclipse.rap.examples_0.0.0. Please check the
> error log for more details.
>
> I have imported http://www.eclipse.org/rap/resources/rap.psf, but don't
> find a plugin org.eclipse.rap.examples anywhere. Neither with google.
> Please help once again.
>
> Hans
>
Re: deploying RAP: new tutorial? [message #138960 is a reply to message #138948] Thu, 02 July 2009 09:52 Go to previous messageGo to next message
Hans K. is currently offline Hans K.Friend
Messages: 10
Registered: July 2009
Junior Member
Thanks. After removing the references to org.eclipse.rap.examples, I have
finally been able to deploy my application.

It seems that these references to org.eclipse.rap.examples are not
consistent with the current rap demo in cvs, so that these references
should be removed in the feature.xml. But I may be wrong.

regards,
Hans
Re: deploying RAP: new tutorial? [message #138984 is a reply to message #138960] Thu, 02 July 2009 11:28 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Hans K. wrote:
> Thanks. After removing the references to org.eclipse.rap.examples, I
> have finally been able to deploy my application.
>
> It seems that these references to org.eclipse.rap.examples are not
> consistent with the current rap demo in cvs, so that these references
> should be removed in the feature.xml. But I may be wrong.
You are right, the feature.xml accidentally references the example
plug-ins. Sorry for that.
We will remove the reference.

>
> regards,
> Hans
>
Previous Topic:Deployement of RAP with BIRT
Next Topic:Images in Tomcat
Goto Forum:
  


Current Time: Thu Mar 28 10:27:18 GMT 2024

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

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

Back to the top