[
https://issues.jboss.org/browse/JBIDE-21915?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-21915 at 3/18/16 5:03 PM:
-------------------------------------------------------------------
So yes it's pretty obvioius that our filefilter is wrong. We have the extension for
the binary set to "*exe*":
{code:title=org.jboss.tools.openshift.internal.core.preferences.OCBinary}
WINDOWS("oc.exe", new String[] { "exe" }),
{code}
The preferences page is using this to set the file filter:
{code:title=org.jboss.tools.openshift.internal.ui.preferences.OpenShiftPreferencePage#createFieldEditors}
cliLocationEditor.setFileExtensions(ocBinary.getExtensions());
{code}
The WizardArchiveFileResourceImportPage1 of the ZipFileImportWizard in Eclipse is using
"\**.exe*" as extension:
{code:title=WizardArchiveFileResourceImportPage1}
private static final String[] FILE_IMPORT_MASK = {
"*.jar;*.zip;*.tar;*.tar.gz;*.tgz", "*.*" };
...
dialog.setFilterExtensions(this.fileImportMask);
{code}
was (Author: adietish):
So yes it's pretty clear that our filefilter is wrong. we have the extension for the
binary set to "*exe*":
{code:title=org.jboss.tools.openshift.internal.core.preferences.OCBinary}
WINDOWS("oc.exe", new String[] { "exe" }),
{code}
The preferences page is using this to set the file filter:
{code:title=org.jboss.tools.openshift.internal.ui.preferences.OpenShiftPreferencePage#createFieldEditors}
cliLocationEditor.setFileExtensions(ocBinary.getExtensions());
{code}
The WizardArchiveFileResourceImportPage1 of the ZipFileImportWizard in Eclipse is using
"\**.exe*" as extension:
{code:title=WizardArchiveFileResourceImportPage1}
private static final String[] FILE_IMPORT_MASK = {
"*.jar;*.zip;*.tar;*.tar.gz;*.tgz", "*.*" };
...
dialog.setFilterExtensions(this.fileImportMask);
{code}
Preferences: Cannot browse and choose the oc binary
---------------------------------------------------
Key: JBIDE-21915
URL:
https://issues.jboss.org/browse/JBIDE-21915
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Environment: Windows
Reporter: Andre Dietisheim
Priority: Blocker
Fix For: 4.3.1.CR1
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)