spring-projects / eclipse-integration-tcserver

Eclipse Integration for vFabric tc Server
Eclipse Public License 1.0
15 stars 22 forks source link

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

Closed lak-proddev closed 6 years ago

lak-proddev commented 6 years ago

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 commented 6 years ago

Should be fixed now. Please try http://dist.springsource.com/snapshot/TOOLS/eclipse-integration-tcserver/nightly