You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (JIRA)" <ji...@apache.org> on 2015/03/01 18:03:04 UTC

[jira] [Created] (FELIX-4816) bndtools-ify Dependency Manager

Pierre De Rop created FELIX-4816:
------------------------------------

             Summary: bndtools-ify Dependency Manager
                 Key: FELIX-4816
                 URL: https://issues.apache.org/jira/browse/FELIX-4816
             Project: Felix
          Issue Type: Wish
          Components: Dependency Manager, Dependency Manager Annotations, Dependency Manager Runtime, Dependency Manager Samples, Dependency Manager Shell
            Reporter: Pierre De Rop
            Assignee: Pierre De Rop


For the new dependency manager version, we have made the choice the use bndtools and gradle for building the dependency manager.

To build DM using gradle:
* If necessary, configure your https proxy settings: 
export GRADLE_OPTS="-Dhttps.proxyHost=www.somehost.org -Dhttps.proxyPort=8080"
* Install java7
* Compile Dependendency Manager (you must compile annotations first):
** ./gradlew org.apache.felix.dependencymanager.annotation:jar
** ./gradlew jar
** ./gradle test           (to run junit tests)
** ./gradle check       (to run integration tests)

Here is the instructions for building DM within Eclipse/bndTools:
* Install Jdk7 and Jdk8 (Java8 is only required to compile and run the DM benchmark tool)
* In Eclipse, configure two JREs for both java7 and java8:
** go to Windows -> Preferences -> Java -> Installed JREs
** Then add two JREs: one for java7, and the other for java8
** Declare the java7 JRE as the default one
* Install BndTools 2.4.1, and a subversion plugin for Eclipse
* Open BndTools perspective
* Import Dependency Manager into Eclipse, and compile everything. if it's the first time you import the project into eclipse, it may happen that some modules that requires the Dependency Manager Annotations bnd plugin don't compile: It's a know issue. To work around, restart eclipse and 
rebuild every modules. 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)