build: renaming to sourcetrail

This commit is contained in:
Andreas Stallinger
2017-04-07 13:19:09 +02:00
parent 8391a6da57
commit 045a259b2e
224 changed files with 885 additions and 4271 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ JavaParser::JavaParser(std::shared_ptr<ParserClient> client)
methods.push_back({"recordComment", "(IIIII)V", (void*)&JavaParser::RecordComment});
methods.push_back({"recordError", "(ILjava/lang/String;IIIIII)V", (void*)&JavaParser::RecordError});
m_javaEnvironment->registerNativeMethods("io/coati/JavaIndexer", methods);
m_javaEnvironment->registerNativeMethods("com/sourcetrail/JavaIndexer", methods);
}
{
std::lock_guard<std::mutex> lock(s_parsersMutex);
@@ -79,7 +79,7 @@ void JavaParser::buildIndex(const FilePath& sourceFilePath, const std::string& c
ApplicationSettings::getInstance()->getVerboseIndexerLoggingEnabled() ? 1 : 0;
m_javaEnvironment->callStaticVoidMethod(
"io/coati/JavaIndexer",
"com/sourcetrail/JavaIndexer",
"processFile",
m_id,
m_currentFilePath,
+3 -3
View File
@@ -141,7 +141,7 @@ bool SourceGroupJava::prepareJavaEnvironment()
if (!JavaEnvironmentFactory::getInstance())
{
std::string dialogMessage =
"Coati was unable to locate Java on this machine.\n"
"Sourcetrail was unable to locate Java on this machine.\n"
"Please make sure to provide the correct Java Path in the preferences.";
if (errorString.size() > 0)
@@ -178,7 +178,7 @@ bool SourceGroupJava::prepareMavenData()
if (!success)
{
const std::string dialogMessage =
"Coati was unable to locate Maven on this machine.\n"
"Sourcetrail was unable to locate Maven on this machine.\n"
"Please make sure to provide the correct Maven Path in the preferences.";
MessageStatus(dialogMessage, true, false).dispatch();
@@ -248,7 +248,7 @@ std::set<FilePath> SourceGroupJava::fetchRootDirectories()
std::shared_ptr<TextAccess> textAccess = TextAccess::createFromFile(filePath.str());
std::string packageName = "";
javaEnvironment->callStaticMethod("io/coati/JavaIndexer", "getPackageName", packageName, textAccess->getText());
javaEnvironment->callStaticMethod("com/sourcetrail/JavaIndexer", "getPackageName", packageName, textAccess->getText());
if (packageName.empty())
{