spotbugs / discuss

SpotBugs mailing list
6 stars 1 forks source link

Plugin For BlueJ IDE #25

Closed aloomis85419 closed 6 years ago

aloomis85419 commented 6 years ago

Hello all,

I am working with a team of students and we want to bring SpotBugs as a plugin to BlueJ. In order to do this the plugin must be contained in a single Jar file. Is this currently possible with the current version of SpotBugs?

Aaron C. Loomis

KengoTODA commented 6 years ago

No, BlueJ support is removed to make project easy to maintain.

https://github.com/spotbugs/spotbugs/blob/be024fea25b26cecdd2688598b8117ecf3c4a120/CHANGELOG.md#removed-3

mkienenb commented 6 years ago

Aaron, Could you repackage multiple jars into a single jar? Or is there more to it than that?

On Fri, Nov 24, 2017 at 4:47 PM, Aaron Loomis notifications@github.com wrote:

Hello all,

I am working with a team of students and we want to bring SpotBugs as a plugin to BlueJ. In order to do this the plugin must be contained in a single Jar file. Is this currently possible with the current version of SpotBugs?

Aaron C. Loomis

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/spotbugs/discuss/issues/25, or mute the thread https://github.com/notifications/unsubscribe-auth/AF8fQccbJPPG68kGah_bX_zRf4bDiWc1ks5s5zlYgaJpZM4QqM6c .

KengoTODA commented 6 years ago

Sorry I misunderstood context.

It's technically possible, search about "fatjar" or "repackage". However when you redistribute SpotBugs you need to follow its License (LGPL), please be careful.

aloomis85419 commented 6 years ago

Hello,

I guess what I meant to ask is there a version of Spotbugs that I could run/build a jar using Ant? I read the instructions in the manual for the ant task and it says there should already be a Jar available. The anttask Jar or something like that. Maybe you guys could explain the ant task to me so I can explain it to my team later, if you don't mind ?

Thanks!

Aaron C. Loomis

On Nov 26, 2017 6:01 AM, "Kengo TODA" notifications@github.com wrote:

Sorry I misunderstood context.

It's technically possible, search about "fatjar" or "repackage". However when you redistribute SpotBugs you need to follow it's License (LGPL), please be careful.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spotbugs/discuss/issues/25#issuecomment-347007096, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ9q3rbm6t-r0J5ywRZOxmHFLdUu_kaHks5s6WEWgaJpZM4QqM6c .

KengoTODA commented 6 years ago

Here is document regarding how to run SpotBugs by Ant. http://spotbugs.readthedocs.io/en/stable/ant.html

KengoTODA commented 6 years ago

Recently no discussion on this issue, I'll close.