-Changed to java 7 -the sources are from http://svn.apache.org/repos/asf/felix/trunk/dependencymanager -did not know gradlew (first contact) after making gradlew available and setting the proxies I could compile -- even on windows ;-)
Thank you!! It seams that the latest release is DM 4.1.1 But this is not available in http://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.dependencymanager The latest release there is 4.1.0 If 4.1.1 is released, could somebody please make 4.1.1 available on mavenrepository? Hubert >>> Pierre De Rop <pierre.de...@gmail.com> 16.09.2015 23:29 >>> It looks like you are building DM with java 8, but java 7 is required. Now, using java7, can you try gradlew instead of gradle: ./gradlew org.apache.felix.dependencymanager.annotation:jar Can you also confirm me that you are building the felix-trunk version ? or are you building the latest released sources from http://apache.websitebeheerjd.nl//felix/org.apache.felix.dependencymanager-r5-src.zip ? it seems that you are building under windows. I'm working under linux, but will try to build under windows in order to see if I'm able to reproduce the same issue, and I will let you know. Also, are you using an http proxy ? if yes, then can you verify that you are using the GRADLE_OPTS environment variable and that this variable is set to the proper http proxy (it is used by gradle in order to download dependencies). For example, under linux: export GRADLE_OPTS="-Dhttps.proxyHost=<your proxy ip addr> -Dhttps.proxyPort=<your proxy port>" let me know ! cheers; /Pierre On Wed, Sep 16, 2015 at 10:47 PM, Hubert Felber <hubert.fel...@abacus.ch> wrote: > Pierre, > Thank you > > gradle org.apache.felix.dependencymanager.annotation:jar > > gives me a lot of errors, it seams I miss some dependencies > > do you have me a hint? > > p.s. > I try to compile this, because the code in current > ComponentImpl#calculateNewState is hard to read, and I noticed that it > was rewritten on trunk. > > Hubert > > E:\dependencymanager>gradle > org.apache.felix.dependencymanager.annotation:jar > :org.apache.felix.dependencymanager.annotation:compileJava > warning: [options] bootstrap class path not set in conjunction with > -source 1.7 > > E:\dependencymanager\org.apache.felix.dependencymanager.annotation\src\org\apache\felix\dm\annotation\plugin\bnd\AnnotationCollector.java:52: > error: package aQute.bnd.osgi does not exist > import aQute.bnd.osgi.Annotation; > ^ > > E:\dependencymanager\org.apache.felix.dependencymanager.annotation\src\org\apache\felix\dm\annotation\plugin\bnd\AnnotationCollector.java:53: > error: package aQute.bnd.osgi does not exist > import aQute.bnd.osgi.ClassDataCollector; > ^ > > E:\dependencymanager\org.apache.felix.dependencymanager.annotation\src\org\apache\felix\dm\annotation\plugin\bnd\AnnotationCollector.java:54: > error: package aQute.bnd.osgi does not exist > import aQute.bnd.osgi.Clazz; > ^ > > E:\dependencymanager\org.apache.felix.dependencymanager.annotation\src\org\apache\felix\dm\annotation\plugin\bnd\AnnotationCollector.java:55: > error: package aQute.bnd.osgi.Descriptors does not exist > import aQute.bnd.osgi.Descriptors.TypeRef; > > > > >>> Pierre De Rop <pierre.de...@gmail.com> 16.09.2015 21:10 >>> > Hello Hubert, > > This is an old documentation. We are now using BndTools and Gradle and > the > latest documentation is located at [1]. More specifically, how to build > DM > is described at [2] > > Don't hesitate to ping here if you need more helps. > > cheers; > /Pierre > > [1] > > http://felix.apache.org/documentation/subprojects/apache-felix-dependency-manager.html > > [2] > > http://felix.apache.org/documentation/subprojects/apache-felix-dependency-manager/guides/development.html > > > > > On Wed, Sep 16, 2015 at 8:54 PM, Hubert Felber > <hubert.fel...@abacus.ch> > wrote: > > > Hi, > > > > How can I build "Felix Dependency Manager" ? > > > > I followed these instructions, checked out trunk and tried to build > > > > > > > > https://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Dependency+Manager+-+How+To+Build > > > > > but there is no pom.xml. > > > > I then installed gradle and did a "gradle build" which gives me 98 > > errors > > > > 98 errors > > 4 warnings > > :org.apache.felix.dependencymanager:compileJava FAILED > > > > So how can I build DM ? > > > > Thank you > > Hubert > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > > For additional commands, e-mail: users-h...@felix.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org