3 #include <cpPlugins/Interface/Workspace.h>
5 #include <tinyxml/tinyxml.h>
7 int main( int argc, char* argv[] )
12 << "Usage: " << argv[ 0 ] << " filename" << std::endl;
15 std::string filename = argv[ 1 ];
18 cpPlugins::Interface::Workspace ws;
19 std::string err = ws.LoadWorkspace( filename );
22 << "Errors caught while loading workspace: "
23 << std::endl << err << std::endl;
28 std::cerr << "Error caught: " << std::endl << err << std::endl;