self.toolcontext.info("*** PARSE ***", 1)
var mmodules = new ArraySet[MModule]
for a in names do
self.toolcontext.info("*** PARSE ***", 1)
var mmodules = new ArraySet[MModule]
for a in names do
var mp = identify_file((dirname/"{name}.nit").simplify_path)
if mp != null then res.add mp
# Try the default module of a group
var mp = identify_file((dirname/"{name}.nit").simplify_path)
if mp != null then res.add mp
# Try the default module of a group
var res = new ArraySet[MGroup]
for dirname in lookpaths do
# try a single group directory
var res = new ArraySet[MGroup]
for dirname in lookpaths do
# try a single group directory
if mgroup != null then
var owner_path = mgroup.filepath.join_path(mgroup.name + ".nit")
if owner_path.file_exists then candidate = owner_path
if mgroup != null then
var owner_path = mgroup.filepath.join_path(mgroup.name + ".nit")
if owner_path.file_exists then candidate = owner_path
var stopper = parentpath / "packages.ini"
if not stopper.file_exists then
# Recursively get the parent group
var stopper = parentpath / "packages.ini"
if not stopper.file_exists then
# Recursively get the parent group