Implementing RAP from RCP - best practice? [message #56688] |
Wed, 31 October 2007 19:12  |
Eclipse User |
|
|
|
Hi,
i have an RCP Application. Now we have a new UseCase and some Logic from
the RCP CLient must be exposed to the Web.
RAP is perfect.
So what would be a best practice to work on this?
It would be important to change as few code as possible.
I thought about that. I think the best way would
be to create 2 workspaces. One for the RCP and the RAP - Application.
Every Plugin in the RCP-APplication has 2 Source-Folders, one for the RCP
dependant Code and one for the Common Code. The RAP Client has also 2
Folders, a RAP-Folder and a Source-Folder which links to the Common Code
of the RCP Application.
A Problem is, that the RCP CLient, which is already developed must be
refactored, so that RCP-dependent code is separated from the Domaincode.
Also there are several sourcefolders to be managed, and another problem
is, that the linked folders link to targets relative to the workspace, so
that every time one of my colleagues checks out the projects, the paths
have to be updated.
What are your thoughts about this? is there a better way to do that? or
how do you do that?
Thank in advance
Greetings
Martin
|
|
|
|
|
|
|
|
|
|
|
Re: Implementing RAP from RCP - best practice? [message #60150 is a reply to message #58254] |
Thu, 15 November 2007 20:08  |
Eclipse User |
|
|
|
Originally posted by: xinqiang_wang.yahoo.com
very gooood news
I have setup my project which for telecommunication SMS web-app
they need both RCP and RAP
I got most of developers work on RCP branch
so they are easy to develop and test
no need wait the browser to startup to play the RAP
the RAP and RCP can reuse all of the VIEWs code and some perspective's
that 's very excellent
----------------------------
I will pay bill too
once anybody trip to my town even my country
I will pay the beer and the dinner
|
|
|
Powered by
FUDForum. Page generated in 0.13279 seconds