Hi,

why subprojects of felix depends on old felix?

there still  is no stable felix release except felix 1.0.4?


following is the snapshot:

<project>
  <parent>
    <groupId>org.apache.felix</groupId>
    <artifactId>felix</artifactId>
    <version>1.0.2</version>
    <relativePath>../../pom/pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <packaging>bundle</packaging>
  <name>Apache Felix Service-Based Host</name>
  <description>A simple application that embeds Felix and uses the service 
model for extensibility.</description>
  <groupId>org.apache.felix.example</groupId>
  <artifactId>servicebased.host</artifactId>
  <version>1.0.0</version>
  <dependencies>
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.apache.felix.main</artifactId>
      <version>1.0.4</version>
    </dependency>
  </dependencies>
..........






2009-03-16 



cumtyjh 



发件人: Joshua Yan 
发送时间: 2009-03-15  09:52:48 
收件人: users 
抄送: 
主题: Re: build felix 
 
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