Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Current Web Demo Source Code
Current Web Demo Source Code [message #714192] Wed, 10 August 2011 03:04 Go to next message
TGAllen  is currently offline TGAllen Friend
Messages: 1
Registered: August 2011
Junior Member
Can someone point me to the source code for the current RAP demo shown at rap.eclipsesource.com/rapdemo/examples? This is not the same as the demo included in org.eclipse.rap.demo (1.4.0.20110614-2335).

I've used RCP in several projects, but I'm new to RAP.

Thanks in advance.

Tom
Re: Current Web Demo Source Code [message #714228 is a reply to message #714192] Wed, 10 August 2011 05:34 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1853
Registered: July 2009
Senior Member
Hi Tom,
you need two bundles from CVS [1]:
org.eclipse.rap.examples
org.eclipse.rap.examples.pages

[1] http://www.eclipse.org/rap/source/
HTH,
Ivan

On 8/10/2011 6:04 AM, TGAllen wrote:
> Can someone point me to the source code for the current RAP demo shown
> at rap.eclipsesource.com/rapdemo/examples? This is not the same as the
> demo included in org.eclipse.rap.demo (1.4.0.20110614-2335).
>
> I've used RCP in several projects, but I'm new to RAP.
>
> Thanks in advance.
>
> Tom
Re: Current Web Demo Source Code [message #721349 is a reply to message #714228] Thu, 01 September 2011 14:34 Go to previous messageGo to next message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
Hi all,

Probably is not the right place where I have to say this ... but I was trying to perform the same task Tom was trying to achieve: running the simple rap demo.

I have been spending all day trying to figure out how to run it:

- Missing libraries
- Plugins that you have download from different places (and you don't know where)
- Examples that talk about indingo and rap 1.4 and when you try to run it you just end up in "frustration".

All the example have been already built with rap 1.5 ... no line says to check this.

Again sorry to say that ... I'm trying just to get in the RAP world with no documentation using a nice, complex, example from where to start (AND THE DEMO IS PERFECT).

Rap demo ok ... but so hard to put in place Sad

Again sorry for this message and thx again for all your effort in creating such a nice framework.
Re: Current Web Demo Source Code [message #721378 is a reply to message #721349] Thu, 01 September 2011 15:39 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1853
Registered: July 2009
Senior Member
Hi Carmelo,
I understand your frustration about the missing fileupload/filedialog
bundles and their dependencies to apache fileupload and io bundles to
run the examples demo. As the demo page [1] state, we have a team
project set [2] (against nightly target platform or CVS HEAD) for the
demos. Unfortunately we forgot to update it with the including of
FileDialog in the Examples Demo. I've open a bug to do this task.
356485: [Website] Demos team project set is outdated
https://bugs.eclipse.org/bugs/show_bug.cgi?id=356485

[1] http://www.eclipse.org/rap/demos/
[2] http://www.eclipse.org/rap/resources/rap-demos.psf

Sorry for the trouble,
Ivan

On 9/1/2011 5:34 PM, Carmelo wrote:
> Hi all,
>
> Probably is not the right place where I have to say this ... but I was
> trying to perform the same task Tom was trying to achieve: running the
> simple rap demo.
>
> I have been spending all day trying to figure out how to run it:
>
> - Missing libraries
> - Plugins that you have download from different places (and you
> don't know where)
> - Examples that talk about indingo and rap 1.4 and when you try to
> run it you just end up in "frustration".
>
> All the example have been already built with rap 1.5 ... no line says
> to check this.
>
> Again sorry to say that ... I'm trying just to get in the RAP world
> with no documentation using a nice, complex, example from where to
> start (AND THE DEMO IS PERFECT).
>
> Rap demo ok ... but so hard to put in place :(
>
> Again sorry for this message and thx again for all your effort in
> creating such a nice framework.
>
Re: Current Web Demo Source Code [message #721579 is a reply to message #721378] Fri, 02 September 2011 07:42 Go to previous messageGo to next message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
thank ivan for you help ...
i have checked the project and the example part it work now fine with rap 1.4 ...

i will wait for the missing bit
- fileupload/filedialog
- apache commons

I have noticed that there is a file-dialog.psf that sort of works for the apache bit. it download the filedialog but mess up with the fileupload (that anyway right now have still dependency with rap 1.5).

really appreciate your help
ciao
carmelo
Re: Current Web Demo Source Code [message #721580 is a reply to message #721579] Fri, 02 September 2011 07:45 Go to previous messageGo to next message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
if you could merge the file-dialog.psf inside the
org.eclipse.rap/incubator/supplemental/fileupload/org.eclipse.rap.rwt.supplemental.filedialog

with the demo.psf (once the dependency have been fixed) that probably would help more

Wink
have a nice day
icon1.gif  Re: Current Web Demo Source Code [message #957484 is a reply to message #721580] Thu, 25 October 2012 08:57 Go to previous message
Cosmin DIGA is currently offline Cosmin DIGAFriend
Messages: 3
Registered: November 2011
Location: Belgium
Junior Member

Just a quick note: the RAP examples we can see on the demo page[1] have their source very easy to check:

Quote:
The second demo, referred to as the 'controls demo', shows what widgets there are and that they behave very similar to the SWT widgets.

To access and run these demo applications, please open the Plug-ins view (e.g. through the Plug-in Development perspective). Select the plug-in named org.eclipse.rap.demo which contains both demo applications, right-click on this plug-in and select Import as > Source Project. This plug-in will then appear with all source files in your workspace.


This quote comes from the Developer's Guide [2]

[1] rap.eclipsesource.com/rapdemo/examples#input
[2] www.eclipse.org/rap/developers-guide/devguide.php?topic=getting-started/examples.html

[Updated on: Thu, 25 October 2012 08:59]

Report message to a moderator

Previous Topic:[RWT Standalone] Access Application object at runtime
Next Topic:Demos
Goto Forum:
  


Current Time: Sun Nov 23 17:17:21 GMT 2014

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

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