New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RC6 spotbugs.jar manifest is incorrect #405

Closed
richardfearn opened this Issue Sep 25, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@richardfearn
Contributor

richardfearn commented Sep 25, 2017

In the RC6 download, lib contains:

  • asm-6.0.jar
  • asm-analysis-6.0.jar
  • asm-commons-6.0.jar
  • asm-tree-6.0.jar
  • asm-util-6.0.jar
  • asm-xml-6.0.jar
  • bcel-6.1.jar

but the spotbugs.jar manifest contains:

Class-Path: spotbugs-annotations.jar dom4j-1.6.1.jar jaxen-1.1.6.jar asm-debug-all-6.0_BETA.jar jsr305-3.0.1.jar jFormatString-3.0.0.jar commons-lang-2.6.jar

i.e. no entry for BCEL, and an incorrect (single) entry for ASM.

This results in the following error:

$ bin/spotbugs
One or more required BCEL classes were missing. Ensure that bcel.jar is placed at the same directory with spotbugs.jar
@richardfearn

This comment has been minimized.

Show comment
Hide comment
@richardfearn

richardfearn Sep 25, 2017

Contributor

I think the Class-Path comes from this line in spotbugs/build.gradle.

Contributor

richardfearn commented Sep 25, 2017

I think the Class-Path comes from this line in spotbugs/build.gradle.

@richardfearn

This comment has been minimized.

Show comment
Hide comment
@richardfearn

richardfearn Sep 25, 2017

Contributor

Seems to work fine if it's changed to

Class-Path: spotbugs-annotations.jar dom4j-1.6.1.jar jaxen-1.1.6.jar jsr305-3.0.1.jar jFormatString-3.0.0.jar commons-lang-2.6.jar bcel-6.1.jar asm-6.0.jar asm-analysis-6.0.jar asm-commons-6.0.jar asm-tree-6.0.jar asm-util-6.0.jar asm-xml-6.0.jar
Contributor

richardfearn commented Sep 25, 2017

Seems to work fine if it's changed to

Class-Path: spotbugs-annotations.jar dom4j-1.6.1.jar jaxen-1.1.6.jar jsr305-3.0.1.jar jFormatString-3.0.0.jar commons-lang-2.6.jar bcel-6.1.jar asm-6.0.jar asm-analysis-6.0.jar asm-commons-6.0.jar asm-tree-6.0.jar asm-util-6.0.jar asm-xml-6.0.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment