try
{
ThreadContextHolder.setContext(m_machine.getContext());
m_helper.loadSystemResource("scheme.scm",
"Library", "library", new CharacterStreamHandler()
{
public void handleCharacterStream(Reader reader, String sName) throws IOException
{
loadLibrary(reader, sName, true);
}
});
// Load the Dynamic Object System
m_helper.loadSystemResource("object.scm",
"Library", "library", new CharacterStreamHandler()
{
public void handleCharacterStream(Reader reader, String sName) throws IOException
{
loadLibrary(reader, sName, true);
}
});
// Load the Services Oriented Architecture functionality
m_helper.loadSystemResource("soa.scm",
"Library", "library", new CharacterStreamHandler()
{
public void handleCharacterStream(Reader reader, String sName) throws IOException
{
loadLibrary(reader, sName, true);
}
});
m_helper.loadSystemResource("server.scm",
"Library", "library", new CharacterStreamHandler()
{
public void handleCharacterStream(Reader reader, String sName) throws IOException
{
loadLibrary(reader, sName, true);
}
});
m_helper.loadSystemResource(Metadata.ROOT_CLASS_NAME + ".meta",
"Class", "class", new ResourceHandler()
{
public void handleResource(Element rootElement, String sName)
{
loadClass(rootElement, sName);
}
});
loadExtendedSystemMetadata();
progressProxy.shiftRange(0.16);
m_helper.loadResources(".scm", "Library", "library", new CharacterStreamHandler()
{
public void handleCharacterStream(Reader reader, String sName) throws IOException
{
loadLibrary(reader, sName, false);
}