Package net.sf.robocode.repository

Examples of net.sf.robocode.repository.IRepositoryManager


    deleteFile(FileUtil.getRobotsDataDir().getPath());
    deleteFile(FileUtil.getRobotDatabaseFile().getPath());

    FileUtil.createDir(roborumbleTempFile);

    final IRepositoryManager repositoryManager = Container.getComponent(IRepositoryManager.class);

    repositoryManager.reload(true);

    Logger.logMessage("Cleaning done.");
  }
View Full Code Here


    // TODO load URLs from new repository roots, don't forget about all robot .jar files
    // TODO or check it directly against repository ?
    try {
      final List<String> robots = new ArrayList<String>();
      IRepositoryManager repositoryManager = Container.getComponent(IRepositoryManager.class);

      if (repositoryManager != null) {
        robots.add(repositoryManager.getRobotsDirectory().toURI().toString());
        for (File devel : repositoryManager.getDevelDirectories()) {
          robots.add(devel.toURI().toString());
        }
      }

      while (tokenizer.hasMoreTokens()) {
View Full Code Here

TOP

Related Classes of net.sf.robocode.repository.IRepositoryManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.