logic: commandline indexing and configuration
This commit is contained in:
@@ -262,9 +262,9 @@ std::string ApplicationSettings::getJavaPath() const
|
||||
return getValue<std::string>("indexing/java/java_path", "");
|
||||
}
|
||||
|
||||
void ApplicationSettings::setJavaPath(const std::string path)
|
||||
void ApplicationSettings::setJavaPath(const FilePath& path)
|
||||
{
|
||||
setValue<std::string>("indexing/java/java_path", path);
|
||||
setValue<std::string>("indexing/java/java_path", path.str());
|
||||
}
|
||||
|
||||
int ApplicationSettings::getJavaMaximumMemory() const
|
||||
|
||||
@@ -79,7 +79,7 @@ public:
|
||||
void setMultiProcessIndexingEnabled(bool enabled);
|
||||
|
||||
std::string getJavaPath() const;
|
||||
void setJavaPath(const std::string path);
|
||||
void setJavaPath(const FilePath& path);
|
||||
|
||||
int getJavaMaximumMemory() const;
|
||||
void setJavaMaximumMemory(int size);
|
||||
|
||||
Reference in New Issue
Block a user