logic: Implemented usage of PCH for indexing EmptyCxx Source Groups
* further change: initialize all llvm targets before indexing * further change: remove configurable dependencies directory from gradle and maven sourcegroups
This commit is contained in:
@@ -53,10 +53,10 @@ std::vector<FilePath> SourceGroupJavaGradle::doGetClassPath() const
|
||||
{
|
||||
std::vector<FilePath> classPath = utility::getClassPath({}, true, getAllSourceFilePaths());
|
||||
|
||||
if (m_settings->getGradleDependenciesDirectoryExpandedAndAbsolute().exists())
|
||||
if (m_settings->getGradleDependenciesDirectoryPath().exists())
|
||||
{
|
||||
std::vector<FilePath> gradleJarPaths = FileSystem::getFilePathsFromDirectory(
|
||||
m_settings->getGradleDependenciesDirectoryExpandedAndAbsolute(),
|
||||
m_settings->getGradleDependenciesDirectoryPath(),
|
||||
{ L".jar" }
|
||||
);
|
||||
|
||||
@@ -97,7 +97,7 @@ bool SourceGroupJavaGradle::prepareGradleData()
|
||||
|
||||
bool success = utility::gradleCopyDependencies(
|
||||
projectRootPath,
|
||||
m_settings->getGradleDependenciesDirectoryExpandedAndAbsolute(),
|
||||
m_settings->getGradleDependenciesDirectoryPath(),
|
||||
m_settings->getShouldIndexGradleTests()
|
||||
);
|
||||
|
||||
|
||||
@@ -52,10 +52,10 @@ std::vector<FilePath> SourceGroupJavaMaven::doGetClassPath() const
|
||||
{
|
||||
std::vector<FilePath> classPath = utility::getClassPath({}, true, getAllSourceFilePaths());
|
||||
|
||||
if (m_settings && m_settings->getMavenDependenciesDirectoryExpandedAndAbsolute().exists())
|
||||
if (m_settings && m_settings->getMavenDependenciesDirectoryPath().exists())
|
||||
{
|
||||
std::vector<FilePath> mavenJarPaths = FileSystem::getFilePathsFromDirectory(
|
||||
m_settings->getMavenDependenciesDirectoryExpandedAndAbsolute(),
|
||||
m_settings->getMavenDependenciesDirectoryPath(),
|
||||
{ L".jar" }
|
||||
);
|
||||
|
||||
@@ -105,7 +105,7 @@ bool SourceGroupJavaMaven::prepareMavenData()
|
||||
dialogView->showUnknownProgressDialog(L"Preparing Project", L"Maven\nExporting Dependencies");
|
||||
|
||||
bool success = utility::mavenCopyDependencies(
|
||||
mavenPath, projectRootPath, m_settings->getMavenDependenciesDirectoryExpandedAndAbsolute()
|
||||
mavenPath, projectRootPath, m_settings->getMavenDependenciesDirectoryPath()
|
||||
);
|
||||
|
||||
return success;
|
||||
|
||||
Reference in New Issue
Block a user