build: renaming to sourcetrail
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user