[SOLVED] Relative Repository

User: "zis"
New Altair Community Member
Updated by Jocelyn
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

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "zis"
    New Altair Community Member
    OP
    Ok,

    I found a solution RepositoryManager.getInstance(null).addRepository(new LocalRepository("MyRepo", new File("path")));

    Regards,
    John