Blame SOURCES/0002-Disable-removed-commands.patch

a67099
From fbc8e82303b4168ff9fcd7bc6cabd5e65a5b7495 Mon Sep 17 00:00:00 2001
a67099
From: Michael Simacek <msimacek@redhat.com>
a67099
Date: Tue, 4 Oct 2016 18:02:26 +0200
a67099
Subject: [PATCH 2/2] Disable removed commands
a67099
a67099
---
a67099
 biz.aQute.bnd/src/aQute/bnd/main/bnd.java | 45 -------------------------------
a67099
 1 file changed, 45 deletions(-)
a67099
a67099
diff --git a/biz.aQute.bnd/src/aQute/bnd/main/bnd.java b/biz.aQute.bnd/src/aQute/bnd/main/bnd.java
a67099
index 8cd120d..1ceb4c6 100644
a67099
--- a/biz.aQute.bnd/src/aQute/bnd/main/bnd.java
a67099
+++ b/biz.aQute.bnd/src/aQute/bnd/main/bnd.java
a67099
@@ -100,7 +100,6 @@ import aQute.bnd.osgi.Processor;
a67099
 import aQute.bnd.osgi.Resource;
a67099
 import aQute.bnd.osgi.Verifier;
a67099
 import aQute.bnd.osgi.eclipse.EclipseClasspath;
a67099
-import aQute.bnd.repository.maven.provider.NexusCommand;
a67099
 import aQute.bnd.service.Actionable;
a67099
 import aQute.bnd.service.RepositoryPlugin;
a67099
 import aQute.bnd.service.action.Action;
a67099
@@ -4136,50 +4135,6 @@ public class bnd extends Processor {
a67099
 	}
a67099
 
a67099
 	/**
a67099
-	 * Resolve command
a67099
-	 * 
a67099
-	 * @throws Exception
a67099
-	 */
a67099
-
a67099
-	public void _resolve(ResolveCommand.ResolveOptions options) throws Exception {
a67099
-		ResolveCommand rc = new ResolveCommand(this);
a67099
-		String help = options._command().subCmd(options, rc);
a67099
-		if (help != null)
a67099
-			out.println(help);
a67099
-		getInfo(rc);
a67099
-		rc.close();
a67099
-	}
a67099
-
a67099
-	/**
a67099
-	 * Remote command
a67099
-	 * 
a67099
-	 * @throws Exception
a67099
-	 */
a67099
-
a67099
-	public void _remote(RemoteCommand.RemoteOptions options) throws Exception {
a67099
-		RemoteCommand rc = new RemoteCommand(this, options);
a67099
-		String help = options._command().subCmd(options, rc);
a67099
-		if (help != null)
a67099
-			out.println(help);
a67099
-		getInfo(rc);
a67099
-		rc.close();
a67099
-	}
a67099
-
a67099
-	/**
a67099
-	 * Nexus commands
a67099
-	 * 
a67099
-	 * @throws Exception
a67099
-	 */
a67099
-
a67099
-	public void _nexus(NexusCommand.NexusOptions options) throws Exception {
a67099
-		NexusCommand rc = new NexusCommand(this, options);
a67099
-		String help = options._command().subCmd(options, rc);
a67099
-		if (help != null)
a67099
-			out.println(help);
a67099
-		getInfo(rc);
a67099
-		rc.close();
a67099
-	}
a67099
-	/**
a67099
 	 * Export a bndrun file
a67099
 	 */
a67099
 
a67099
-- 
a67099
2.7.4
a67099