30 #include <boost/tokenizer.hpp>
32 #include "WPathHelper.h"
148 boost::filesystem::path resRel =
getPathHelper()->m_moduleResourcePathRelative / packageName;
151 return moduleLibPath / resRel;
157 std::vector< boost::filesystem::path > paths;
163 std::string additionalPaths( getenv(
"OW_MODULE_PATH" ) ? getenv(
"OW_MODULE_PATH" ) :
"" );
166 typedef boost::tokenizer< boost::char_separator< char > > tokenizer;
167 boost::char_separator< char > sep(
";" );
168 tokenizer tok( additionalPaths, sep );
169 for( tokenizer::iterator it = tok.begin(); it != tok.end(); ++it )
171 paths.push_back( boost::filesystem::path( *it ) );
179 if( !std::count( paths.begin(), paths.end(), *it ) )
181 paths.push_back( *it );