[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [ecf-dev] Error in compiling	the	org.eclipse.ecf.examples.remoteservice.hello | 
Hi Ali,
Ali Naddaf wrote:
Hello everyone.
I am trying to run the "hello.*" examples. I downloaded the source but 
it seems there has been some changes to the API. For one, when I was 
using ECF 3.2, it couldn't find 
org.eclipse.ecf.remoteservice.IAsyncCallBack.  I then noticed that ECF 
3.3 has that interface so I set my target platform to ECF 3.3. 
However, in there, the same type is not generic (the example code has 
it as IAsyncCallback<String>...). Other hello.* projects have related 
issues. My question si what version of ECF should I be using for these 
examples to work?
Well, to use the CVS HEAD version of these example projects, you should 
use the latest ECF code (also from HEAD)...as yes...the hello example 
code has been enhanced to use the new ECF asynchronous services stuff.
1) load the needed ECF projects into your workspace.  The needed 
projects are a subset of those available in the project set that's here:
http://www.eclipse.org/ecf/dev_resources.php
2) Use a very recent build of the ECF SDK for your target platform.  You 
can get a very recent build here (p2 repo):
http://download.eclipse.org/rt/ecf/3.3/helios/site.p2
2) Use an older (3.2-compatible) version of the hello world example 
source code.   You can get this by switching to this branch for those 
projects in your workspace:  Release_3_2.  You can switch to this branch 
by selecting the relevant project(s), right clicking to bring up the 
context menu, choosing Team->Switch to Another Branch or Version -> 
Refresh Tags -> select Release_3_2 -> OK.
I apologize that this is so difficult.  Since we're trying to add the 
final things on (e.g. asynchronous remote services support) to both the 
API and the examples we're this is a little more unstable right now 
compared to the usual.
BTW, if you want to explore the ECF code a little further, then doing 1 
might be a good idea until we get ECF 3.3 finished (it's going out with 
Helios).
Scott