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

Toggle OSGi and Eclipse plugin creation options appropriately #800

Closed
wants to merge 1 commit into from

Conversation

alshamams
Copy link
Contributor

If one creates plugins using the automatic manifest generation feature,
subsequent plugin projects created with Eclipse as the target is throwing errors, due to the 'Generate OSGi metadata automatically' button not being unchecked. This commit tries to resolve this issue by unchecking the feature whwnever an Eclipse plugin project using templates is created.

Fixes: #798

 If one creates plugins using the automatic manifest generation feature,
subsequent plugin projects created with Eclipse as the target is
throwing errors, due to the 'Generate OSGi metadata automatically'
button not being unchecked. This commit tries to resolve this issue by
unchecking the feature whwnever an Eclipse plugin project using
templates is created.
@github-actions
Copy link

Test Results

  30 files   -    237    30 suites   - 237   0s ⏱️ - 48m 21s
  22 tests  - 3 319    22 ✔️  - 3 288  0 💤  - 30  0  - 1 
132 runs   - 7 464  132 ✔️  - 7 397  0 💤  - 66  0  - 1 

Results for commit fd68e09. ± Comparison against base commit 27cf508.

This pull request removes 3319 tests.
AllPDETests org.eclipse.pde.core.tests.internal.AllPDECoreTests org.eclipse.pde.core.tests.internal.DependencyManagerTest ‑ testFindRequirementsClosure_importPackage
AllPDETests org.eclipse.pde.core.tests.internal.AllPDECoreTests org.eclipse.pde.core.tests.internal.DependencyManagerTest ‑ testFindRequirementsClosure_includeFragments
AllPDETests org.eclipse.pde.core.tests.internal.AllPDECoreTests org.eclipse.pde.core.tests.internal.DependencyManagerTest ‑ testFindRequirementsClosure_includeFragmentsProvidingPackages
AllPDETests org.eclipse.pde.core.tests.internal.AllPDECoreTests org.eclipse.pde.core.tests.internal.DependencyManagerTest ‑ testFindRequirementsClosure_includeNonTestFragments
AllPDETests org.eclipse.pde.core.tests.internal.AllPDECoreTests org.eclipse.pde.core.tests.internal.DependencyManagerTest ‑ testFindRequirementsClosure_includeOptional
AllPDETests org.eclipse.pde.core.tests.internal.AllPDECoreTests org.eclipse.pde.core.tests.internal.DependencyManagerTest ‑ testFindRequirementsClosure_requireBundle
AllPDETests org.eclipse.pde.core.tests.internal.AllPDECoreTests org.eclipse.pde.core.tests.internal.DependencyManagerTest ‑ testFindRequirementsClosure_requireBundle2
AllPDETests org.eclipse.pde.core.tests.internal.AllPDECoreTests org.eclipse.pde.core.tests.internal.DependencyManagerTest ‑ testFindRequirementsClosure_requireDifferentVersions
AllPDETests org.eclipse.pde.core.tests.internal.AllPDECoreTests org.eclipse.pde.core.tests.internal.DependencyManagerTest ‑ testFindRequirementsClosure_requiredCapability
AllPDETests org.eclipse.pde.core.tests.internal.AllPDECoreTests org.eclipse.pde.core.tests.internal.PDEXmlProcessorFactoryTest testParseXmlWithExternalEntity ‑ Unknown test
…

@gireeshpunathil
Copy link
Contributor

change looks good, build is failing due to issue mentioned in #782

@laeubi
Copy link
Contributor

laeubi commented Oct 27, 2023

I think this is better fixed with:

@@ -167,6 +167,7 @@ private void updateAutomatic() {
private void updateRuntimeDependency() {
boolean depends = fEclipseButton.getSelection();
fOSGiCombo.setEnabled(!depends);
useAutomaticMetadata.setSelection(!depends);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems not very useful as we actually save this so it can be reused afterwards, it would be better to fix the place where having this option active causes trouble.

@laeubi
Copy link
Contributor

laeubi commented Oct 27, 2023

@alshamams I just merged a fix for this can you verify if it solves your problem? In the meanwhile I'll close this PR.

@laeubi laeubi closed this Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants