text
stringlengths 0
2.2M
|
---|
iobjs += "./"+file+".o \\\n"+"./"+file+"_Remote.o \\\n";
|
ideps += "./"+file+".d \\\n"+"./"+file+"_Remote.d \\\n";
|
ConfigurationData::getInstance()->componentNames.push_back(file);
|
}
|
catch(const std::exception& ex)
|
{
|
logger << ("Exception occurred during component code generation : ") << ex << std::endl;
|
}
|
}
|
logger << "done generating component code" <<std::endl;
|
#endif
|
for (unsigned int cntn = 0; cntn < handoffVec.size(); cntn++)
|
{
|
StringUtil::replaceFirst(libs, handoffVec.at(cntn), "");
|
}
|
logger << "started generating reflection/serialization code" <<std::endl;
|
std::string ret = ref.generateClassDefinitionsAll(clsstrucMaps,includeRef,webdirs1);
|
std::string objs, ajaxret, headers,typerefs;
|
AfcUtil::writeTofile(rtdcfpath+"ReflectorInterface.cpp",ret,true);
|
#ifdef BUILD_AUTOCONF
|
confsrcFiles += "../ReflectorInterface.cpp ";
|
#else
|
confsrcFiles += "ReflectorInterface.cpp ";
|
#endif
|
ret = ref.generateSerDefinitionAll(clsstrucMaps,includeRef, true, objs, ajaxret, headers,typerefs,webdirs1);
|
AfcUtil::writeTofile(rtdcfpath+"SerializeInterface.cpp",ret,true);
|
#ifdef BUILD_AUTOCONF
|
confsrcFiles += "../SerializeInterface.cpp ";
|
#else
|
confsrcFiles += "SerializeInterface.cpp ";
|
#endif
|
logger << "done generating reflection/serialization code" <<std::endl;
|
cntxt["RUNTIME_LIBRARIES"] = libs;
|
//ret = TemplateEngine::evaluate(rtdcfpath+"objects.mk.template",cntxt);
|
//AfcUtil::writeTofile(rtdcfpath+"objects.mk",ret,true);
|
cntxt.clear();
|
cntxt["USER_DEFINED_INC"] = ilibs;
|
//cntxt["RUNTIME_COMP_SRCS"] = isrcs;
|
//cntxt["RUNTIME_COMP_OBJS"] = iobjs;
|
//cntxt["RUNTIME_COMP_DEPS"] = ideps;
|
ipdobjs = "";
|
//Process all markers
|
std::vector<WsDetails> allwsdets;
|
handleMarkerConfigurations(clsstrucMaps, allwsdets, stat, vecvp, pathvec, ajintpthMap, tpes, serverRootDirectory, afcd, ajrt, ref);
|
#ifdef INC_DCP
|
ConfigurationData::getInstance()->dynamicCppPagesMap = dcps;
|
logger << "started generating dcp code" <<std::endl;
|
ret = DCPGenerator::generateDCPAll();
|
AfcUtil::writeTofile(rtdcfpath+"DCPInterface.cpp",ret,true);
|
#ifdef BUILD_AUTOCONF
|
confsrcFilesDinter += "../DCPInterface.cpp ";
|
#else
|
confsrcFilesDinter += "DCPInterface.cpp ";
|
#endif
|
logger << "done generating dcp code" <<std::endl;
|
ipdobjs += "./DCPInterface.o \\\n";
|
#endif
|
ConfigurationData::getInstance()->templateFilesMap = tpes;
|
#ifdef INC_TPE
|
logger << "started generating template code" <<std::endl;
|
ret = TemplateGenerator::generateTempCdAll(serverRootDirectory);
|
//logger << ret << std::endl;
|
AfcUtil::writeTofile(rtdcfpath+"TemplateInterface.cpp",ret,true);
|
#ifdef BUILD_AUTOCONF
|
confsrcFilesDinter += "../TemplateInterface.cpp ";
|
#else
|
confsrcFilesDinter += "TemplateInterface.cpp ";
|
#endif
|
logger << "done generating template code" <<std::endl;
|
ipdobjs += "./TemplateInterface.o \\\n";
|
#endif
|
std::string infjs;
|
logger << std::endl<< "started generating ajax code" <<std::endl;
|
std::string ajaxHeaders;
|
//ret = AfcUtil::generateJsObjectsAll(vecvp,afcd,infjs,pathvec,ajintpthMap);
|
ret = ajaxret + ajrt + "\n}\n";
|
AfcUtil::writeTofile(rtdcfpath+"AjaxInterface.cpp",ret,true);
|
#ifdef BUILD_AUTOCONF
|
confsrcFiles += "../AjaxInterface.cpp ";
|
#else
|
confsrcFiles += "AjaxInterface.cpp ";
|
#endif
|
//AfcUtil::writeTofile(pubpath+"_afc_Objects.js",objs,true);
|
//AfcUtil::writeTofile(pubpath+"_afc_Interfaces.js",infjs,true);
|
AfcUtil::writeTofile(incpath+"AfcInclude.h",(ajaxHeaders+headers),true);
|
logger << "done generating ajax code" <<std::endl;
|
webdirs.clear();
|
#ifdef INC_APPFLOW
|
ApplicationUtil apputil;
|
logger << "started generating application code" <<std::endl;
|
ret = apputil.buildAllApplications(appf,webdirs1);
|
AfcUtil::writeTofile(rtdcfpath+"ApplicationInterface.cpp",ret,true);
|
#ifdef BUILD_AUTOCONF
|
confsrcFiles += "../ApplicationInterface.cpp ";
|
#else
|
confsrcFiles += "ApplicationInterface.cpp ";
|
#endif
|
logger << "done generating application code" <<std::endl;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.