Hi,

I appreciate your helping me.

i will import the felix source code according to what you said, and hope
i can begin my studying.


i imported some projects into eclipse last night,and ran the
example/servicebased... with felix 1.2


the way i used as following:

1)  check out the source code from SCM
2) execute "mvn -Dpackaging=bundle clean intall " and "mvn
-Dpackaging=bundle eclipse:eclipse" under the working copy fold

3) import eclipse projects into workspace

then, i ran the examples/servicebased.host successfully, but it depends
on felix 1.2.

i removed the old dependency and replaced it with felix 1.4, and
compiler error occurred.

there is no such constructor in felix 1.4:
        
        Felix felix = new Felix(configMap, list);

so, i want to know when to update the example code in repository.



João,richard

thank you all again



在 2009-03-14六的 19:44 +0000,João Ferreira写道:
> Hi
> 
> The development environment i have in eclipse is the following:
> 1) a maven/java project of the felix trunk. i imported this project 
> using import->maven->checkout maven projects from SCM. The sub modules 
> of trunk aren't java projects in the eclipse environment.
> 2) a maven/java project of the "framework" module that uses the folder 
> of the previous project. i imported it using import->general->maven project.
> 3) a maven/java project similar to project 2) but of the "main" module.
> 
> To run the felix framework have to build the felix project (im using the 
> ant script and install target) that will create a jar in the main/bin 
> folder, then u have to add that jar to build path as described in [1] so 
> u can run it. Now u can modify the framework code for example and 
> rebuild it and run.
> 
> Hope it helps.
> João
> 
> [1]http://felix.apache.org/site/integrating-felix-with-eclipse.html
> 
> Richard S. Hall wrote:
> > Not sure how up to date this is, but maybe it can help:
> >
> >     http://felix.apache.org/site/integrating-felix-with-eclipse.html
> >
> > -> richard
> >
> > On 3/14/09 3:32 AM, Joshua Yan wrote:
> >> hi,all
> >>
> >>
> >> I am studying OSGI and reading felix source code
> >>
> >> I want to build felix in eclipse,but  failed.
> >>
> >>
> >> i use maven plugin to import felix source code into eclipse,but not all
> >> projects work
> >>
> >>
> >>
> >> who can tell me how to generate eclipse project with felix source code?
> >>
> >>
> >>
> >> thanks in advance
> >>
> >>
> >> Joshua Yan
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>    
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to