update context to scan system commands

This commit is contained in:
Jarred Li
2012-04-09 12:33:18 +08:00
parent ce64cfad34
commit c5e646d25f
2 changed files with 3 additions and 4 deletions

View File

@@ -157,7 +157,8 @@ public class Bootstrap {
}
}
}
//annctx.scan("org.springframework.shell");
annctx.scan("org.springframework.shell.commands");
annctx.scan("org.springframework.shell.converters");
annctx.refresh();
ctx = annctx;
}