Skip to content
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

PDE Javadoc issue in I20230405-1800 #565

Closed
vik-chand opened this issue Apr 6, 2023 · 8 comments · Fixed by eclipse-platform/eclipse.platform.common#137
Closed

PDE Javadoc issue in I20230405-1800 #565

vik-chand opened this issue Apr 6, 2023 · 8 comments · Fixed by eclipse-platform/eclipse.platform.common#137
Assignees
Labels
bug Something isn't working regression Regression defect
Milestone

Comments

@vik-chand
Copy link
Member

https://download.eclipse.org/eclipse/downloads/drops4/I20230405-1800/compilelogs/pde.doc.user.javadoc.txt

../../../eclipse.pde/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsClasspathContainer.java:18: error: package aQute.bnd.build does not exist
import aQute.bnd.build.Project;
^
../../../eclipse.pde/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/bnd/BndProjectManager.java:16: error: package aQute.bnd.build does not exist
import aQute.bnd.build.Container;
^
../../../eclipse.pde/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/bnd/BndProjectManager.java:17: error: package aQute.bnd.build.Container does not exist
import aQute.bnd.build.Container.TYPE;
^
../../../eclipse.pde/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/bnd/BndProjectManager.java:18: error: package aQute.bnd.build does not exist
import aQute.bnd.build.Project;
^
../../../eclipse.pde/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/bnd/BndProjectManager.java:19: error: package aQute.bnd.build does not exist
import aQute.bnd.build.Workspace;
^
../../../eclipse.pde/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/bnd/BndProjectManager.java:20: error: package aQute.bnd.osgi does not exist
import aQute.bnd.osgi.Constants;
^
../../../eclipse.pde/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/bnd/BndProjectManager.java:21: error: package aQute.bnd.osgi does not exist
import aQute.bnd.osgi.Processor;
^
../../../eclipse.pde/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/bnd/BndProjectManager.java:48: error: cannot find symbol
private static Workspace workspace;

@laeubi laeubi self-assigned this Apr 6, 2023
@laeubi
Copy link
Contributor

laeubi commented Apr 6, 2023

I'll take a look, as the javadoc build is a bit special it might be that it requires an additional requirement.

@laeubi
Copy link
Contributor

laeubi commented Apr 6, 2023

@vik-chand can you tell where the javadoc build is located?

@iloveeclipse
Copy link
Member

See https://github.com/eclipse-platform/.github/wiki/Javadoc-validation#expected-flow - I've tried to reverse engineer the build in context of eclipse-jdt/eclipse.jdt.ui#484

Here the bnd library should be added to build classpath in bundles/org.eclipse.pde.doc.user/pdeOptions.txt

@laeubi
Copy link
Contributor

laeubi commented Apr 6, 2023

Okay thanks I already feared it is related to that stuff ... I'll put this on my list of build issues that need to be reworked.

@laeubi
Copy link
Contributor

laeubi commented Apr 6, 2023

I also have now requested the github checks plugin so we can get javadoc issues reported with Github PRs as well:

https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/2920

@HannesWell
Copy link
Member

I also have now requested the github checks plugin so we can get javadoc issues reported with Github PRs as well:

Thanks for that.

If the javadoc generation can be revived and simplified, wouldn't it them make sense to move https://github.com/eclipse-platform/eclipse.platform.common/tree/master/bundles/org.eclipse.pde.doc.user into this repo? And to do the same with the other doc bundles and the correpsonding repo so that the platform.common repo can become obsolete as well?

@iloveeclipse
Copy link
Member

See eclipse-platform/eclipse.platform.common#137 with the fix.

iloveeclipse added a commit to eclipse-platform/eclipse.platform.common that referenced this issue Apr 7, 2023
@iloveeclipse iloveeclipse assigned iloveeclipse and unassigned laeubi Apr 9, 2023
@iloveeclipse iloveeclipse added bug Something isn't working regression Regression defect labels Apr 9, 2023
@iloveeclipse
Copy link
Member

laeubi pushed a commit to laeubi/eclipse.pde that referenced this issue Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Regression defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants