Seems simple enough, but is this the right way to find the
das.properties file in an instance? This code is being run in the
gms-adapter module:
@Inject
ServerEnvironment env;
if (server.isInstance()) {
try {
ServerDirs sDirs = new ServerDirs(env.getInstanceRoot());
File dasProps = sDirs.getDasPropertiesFile();
// do stuff
} catch (IOException ioe) {
// cry
}
}
It works, but that doesn't guarantee it's right, knowwhatimean?
Thanks,
Bobby