Coder Social home page Coder Social logo

Comments (6)

bjhargrave avatar bjhargrave commented on June 24, 2024

Try -pedantic: true to get information regarding this.

from bndtools.

jpchristen avatar jpchristen commented on June 24, 2024

I added -pedantic: true to the build.bnd file, but the only information I got out of this are warnings concerning name duplicates: "Duplicate name osgi.service used in header: ...". There is no information, error or warning concerning unused entries, am I doing something wrong here?

from bndtools.

pkriens avatar pkriens commented on June 24, 2024

you are sure you have unused entries?

from bndtools.

jpchristen avatar jpchristen commented on June 24, 2024

I added a bundle to the buildpath of another one that was not in there while not changing any code. Therefore my addition should be definitely unused, shouldn't it be?

from bndtools.

pkriens avatar pkriens commented on June 24, 2024

Well, I guess this is why it was not documented. The code is calculating something but requires testing. The following code is relevant:

https://github.com/bndtools/bnd/blob/master/biz.aQute.bndlib/src/aQute/bnd/build/Project.java#L1851
https://github.com/bndtools/bnd/blob/master/biz.aQute.bndlib/src/aQute/bnd/build/ProjectBuilder.java#L665-L666
So if you want to make a PR

from bndtools.

pkriens avatar pkriens commented on June 24, 2024

I actually got them in the gradle build:

 warning: Imports that lack version ranges: [javax.xml.namespace, javax.xml.parsers, javax.xml.xpath, junit.framework, org.apache.tools.ant, org.apache.tools.ant.types, org.easymock, org.jmock.core, org.w3c.dom, org.xml.sax, org.xml.sax.helpers]
 warning: Unreferenced class path entries [hamcrest-all-1.3]

from bndtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.