Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
aqute-bnd
0001-Disable-removed-commands.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Disable-removed-commands.patch of Package aqute-bnd
From 07018362979d754c0f169fab529b3dffef8a5846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fridrich=20=C5=A0trba?= <fridrich.strba@bluewin.ch> Date: Mon, 9 Sep 2024 09:45:16 +0200 Subject: [PATCH 1/5] Disable removed commands --- biz.aQute.bnd/src/aQute/bnd/main/bnd.java | 76 ----------------------- 1 file changed, 76 deletions(-) diff --git a/biz.aQute.bnd/src/aQute/bnd/main/bnd.java b/biz.aQute.bnd/src/aQute/bnd/main/bnd.java index 17530921d..513aed5a3 100644 --- a/biz.aQute.bnd/src/aQute/bnd/main/bnd.java +++ b/biz.aQute.bnd/src/aQute/bnd/main/bnd.java @@ -108,7 +108,6 @@ import aQute.bnd.osgi.Resource; import aQute.bnd.osgi.Verifier; import aQute.bnd.osgi.eclipse.EclipseClasspath; import aQute.bnd.print.JarPrinter; -import aQute.bnd.repository.maven.provider.NexusCommand; import aQute.bnd.result.Result; import aQute.bnd.service.Actionable; import aQute.bnd.service.RepositoryPlugin; @@ -3909,54 +3908,6 @@ public class bnd extends Processor { getInfo(profiles); } - /** - * Resolve command - * - * @throws Exception - */ - - public void _resolve(ResolveCommand.ResolveOptions options) throws Exception { - ResolveCommand rc = new ResolveCommand(this); - String help = options._command() - .subCmd(options, rc); - if (help != null) - out.println(help); - getInfo(rc); - rc.close(); - } - - /** - * Remote command - * - * @throws Exception - */ - - public void _remote(RemoteCommand.RemoteOptions options) throws Exception { - RemoteCommand rc = new RemoteCommand(this, options); - String help = options._command() - .subCmd(options, rc); - if (help != null) - out.println(help); - getInfo(rc); - rc.close(); - } - - /** - * Nexus commands - * - * @throws Exception - */ - - public void _nexus(NexusCommand.NexusOptions options) throws Exception { - NexusCommand rc = new NexusCommand(this, options); - String help = options._command() - .subCmd(options, rc); - if (help != null) - out.println(help); - getInfo(rc); - rc.close(); - } - /** * Export a bndrun file */ @@ -4412,15 +4363,6 @@ public class bnd extends Processor { } } - @Description("Start an interactive shell") - public void _shell(Shell.ShellOptions options) throws Exception { - try (Shell shell = new Shell(this, options)) { - shell.loop(); - } finally { - out.println("done"); - } - } - public Workspace getWorkspace() { return workspace; } @@ -4467,24 +4409,6 @@ public class bnd extends Processor { } - @Description("Generate and export reports of a workspace, a project or of a jar.") - public void _exportreport(ExportReportCommand.ReporterOptions options) throws Exception { - ExportReportCommand mc = new ExportReportCommand(this); - mc.run(options); - getInfo(mc); - } - - @Description("Maintain Maven Bnd Repository GAV files") - public void _mbr(MbrCommand.MrOptions options) throws Exception { - MbrCommand c = new MbrCommand(this, options); - CommandLine cl = new CommandLine(this); - String s = cl.subCmd(options, c); - if (s != null) { - out.println(s); - } - getInfo(c); - } - @Description("Shows the differences between two XML resource repositories") public void _xmlrepodiff(XmlRepoDiffOptions options) throws Exception { try (XmlRepoDiffCommand cmd = new XmlRepoDiffCommand(this)) { -- 2.46.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor