Skip to content

Commit

Permalink
Merge pull request apache#7542 from mbien/nbi-remove-downloader
Browse files Browse the repository at this point in the history
Remove downloader from NBI
  • Loading branch information
mbien authored Jul 8, 2024
2 parents 417654c + ed247c4 commit 76e1f35
Show file tree
Hide file tree
Showing 48 changed files with 8 additions and 5,108 deletions.
12 changes: 0 additions & 12 deletions nbi/engine/src/org/netbeans/installer/Installer.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import java.util.MissingResourceException;
import java.util.ResourceBundle;
import java.util.TreeSet;
import org.netbeans.installer.downloader.DownloadManager;
import org.netbeans.installer.product.Registry;
import org.netbeans.installer.utils.DateUtils;
import org.netbeans.installer.utils.EngineUtils;
Expand Down Expand Up @@ -106,7 +105,6 @@ private Installer(String[] arguments) {
// once we have set the local directory (and therefore devised the log
// file path) we can start logging safely
initializeLogManager();
initializeDownloadManager();
initializeRegistry();
initializeWizard();
createLockFile();
Expand Down Expand Up @@ -213,15 +211,6 @@ private void initializeLogManager() {
LogManager.start();
}

private void initializeDownloadManager() {
LogManager.logEntry("... initializing DownloadManager");
final DownloadManager downloadManager = DownloadManager.getInstance();
downloadManager.setLocalDirectory(getLocalDirectory());
downloadManager.setFinishHandler(this);
downloadManager.init();
LogManager.logExit("... end of initializing DownloadManager");
}

private void initializeRegistry() {
LogManager.logEntry("... initializing Registry");
final Registry registry = Registry.getInstance();
Expand All @@ -241,7 +230,6 @@ private void initializeWizard() {
// private //////////////////////////////////////////////////////////////////////
private void exitNormally(int errorCode) {
Wizard.getInstance().close();
DownloadManager.getInstance().terminate();
LogManager.stop();

exitImmediately(errorCode);
Expand Down
24 changes: 0 additions & 24 deletions nbi/engine/src/org/netbeans/installer/downloader/Bundle.properties

This file was deleted.

This file was deleted.

This file was deleted.

119 changes: 0 additions & 119 deletions nbi/engine/src/org/netbeans/installer/downloader/DownloadManager.java

This file was deleted.

29 changes: 0 additions & 29 deletions nbi/engine/src/org/netbeans/installer/downloader/DownloadMode.java

This file was deleted.

Loading

0 comments on commit 76e1f35

Please sign in to comment.