try {
Connection connection =
ContainerDelegate.getInstance().getFactoryLocator().getConnectionFactory()
.getConnection(getProjectModel().getForceProject());
LoadSObjectsJob loadSObjectsJob =
new LoadSObjectsJob(ContainerDelegate.getInstance().getFactoryLocator().getConnectionFactory()
.getDescribeObjectRegistry(), connection, getProjectModel().getProject().getName());
loadSObjectsJob.setSystem(true);
loadSObjectsJob.schedule();
} catch (Exception e) {
// this is fine because we may load later
logger.warn("Unable to load custom object cache: " + e.getMessage());
}
}