[SOLVED] Relative Repository
zis
New Altair Community Member
Hi,
I have a question. Is any way how to get a Repository by relative path?
For example:
I have a project PR1 and a want to create repository here - PR1/Repo, I will create a Process with Store operator and I want to store data to the repository.
If I use GUI, it wants a absolute path. So is any way how I can change this absolute path to relative in code (or through RapidMiner class)?
(Idea is, using process with Store operator in my Project without creating new repository through GUI. Project using only rapidminer.jar)
Thanks for ideas,
Regards
John
I have a question. Is any way how to get a Repository by relative path?
For example:
I have a project PR1 and a want to create repository here - PR1/Repo, I will create a Process with Store operator and I want to store data to the repository.
If I use GUI, it wants a absolute path. So is any way how I can change this absolute path to relative in code (or through RapidMiner class)?
(Idea is, using process with Store operator in my Project without creating new repository through GUI. Project using only rapidminer.jar)
Thanks for ideas,
Regards
John
0
Answers
-
Ok,
I found a solution RepositoryManager.getInstance(null).addRepository(new LocalRepository("MyRepo", new File("path")));
Regards,
John0