Search in sources :

Example 1 with ResourceAgent

use of org.metaborg.spoofax.core.stratego.ResourceAgent in project spoofax by metaborg.

the class SpoofaxContext method newResourceTracker.

public ResourceAgentTracker newResourceTracker(String... excludePatterns) {
    final ResourceAgentTracker tracker = new ResourceAgentTracker(resourceService, base, excludePatterns);
    final ResourceAgent agent = tracker.agent();
    agent.setAbsoluteWorkingDir(base);
    agent.setAbsoluteDefinitionDir(base);
    return tracker;
}
Also used : ResourceAgent(org.metaborg.spoofax.core.stratego.ResourceAgent) ResourceAgentTracker(org.metaborg.spoofax.meta.core.pluto.util.ResourceAgentTracker)

Aggregations

ResourceAgent (org.metaborg.spoofax.core.stratego.ResourceAgent)1 ResourceAgentTracker (org.metaborg.spoofax.meta.core.pluto.util.ResourceAgentTracker)1