return Arrays.asList(repos);
} else {
- String[] repos = {getSDKImageOrigin()};
-// String[] repos = {localRepository};
- return Arrays.asList(repos);
+ if (localRepository.isEmpty()) {
+ String[] repos = {getSDKImageOrigin()};
+ return Arrays.asList(repos);
+ } else {
+ String[] repos = {localRepository};
+ return Arrays.asList(repos);
+ }
}
}
latestVersionCheckBox.setEnabled(true);
latestVersionCheckBox.pack();
- if(this.snapshotPath.isEmpty()) {
- latestVersionCheckBox.setSelection(true);
- } else {
- latestVersionCheckBox.setSelection(false);
- }
+ latestVersionCheckBox.setSelection(true);
+
+// if(this.snapshotPath.isEmpty()) {
+// latestVersionCheckBox.setSelection(true);
+// } else {
+// latestVersionCheckBox.setSelection(false);
+// }
latestVersionCheckBox.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {