New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tc server 4.x] Existing server instances combo is always empty #6

Closed
lak-proddev opened this Issue Jun 22, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@lak-proddev
Contributor

lak-proddev commented Jun 22, 2018

tc server 4.0 server wizard is not showing any existing instances.It showing empty list.

tc_empty_list

I think, new directory structure for tc server 4.x is causing the issue.

TcServer21WizardFragment.java at lines 295-306
// add all directories that have a server configuration
File file = path.toFile();
if (file.exists()) {
File[] serverDirectories = file.listFiles();
if (serverDirectories != null) {
for (File directory : serverDirectories) {
if (directory.isDirectory() && new File(directory, ".tc-runtime-instance").exists()) {
serverNameCombo.add(directory.getName());
}
}

}
}

@BoykoAlex

This comment has been minimized.

Contributor

BoykoAlex commented Jun 22, 2018

@BoykoAlex BoykoAlex closed this Jun 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment