Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to resolve the dependency on pdebuild.jar
How to resolve the dependency on pdebuild.jar [message #1845087] Wed, 06 October 2021 09:41
Kengo TODA is currently offline Kengo TODAFriend
Messages: 1
Registered: October 2021
Junior Member
Hello, I'm one of the maintainers of spotbugs plugin, and want to get help about how to resolve the dependency on org.eclipse.pde.build.

Currently, we ask developers to download Eclipse manually, to use libraries packed into it. It's not useful nor declarative so I'm trying to use artifacts on Maven central instead. Most dependencies could be resolved, but only the org.eclipse.pde.build could not be resolved.

I extracted the org.eclipse.pde:org.eclipse.pde.build artifact on Maven central, and found that it has no class file inside.
It has a (nested) jar file and it is what I really need in the CLASSPATH.

Is there any suggested way to depend on the pdebuild.jar?
I use Gradle with the com.diffplug.eclipse.mavencentral plugin, you may refer to our GitHub to check its detail:
https://github.com/spotbugs/spotbugs/blob/51c59e3/eclipsePlugin/build.gradle#L67-L88

Note that what we depend on is the PDEState class. I know it's internal and we should not depend on it, but let me handle this topic separately.
https://github.com/spotbugs/spotbugs/blob/51c59e30d/eclipsePlugin/src/de/tobject/findbugs/builder/PDEClassPathGenerator.java#L289
Previous Topic:Publishing update site with Eclipse Tycho
Next Topic:Design tab is not showing
Goto Forum:
  


Current Time: Tue Jan 18 23:36:39 GMT 2022

Powered by FUDForum. Page generated in 0.02023 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top