code: public static void main(String[] args)
      {
          if ((args == null) || (args.length < 1))
              System.exit(0);
          String strDirIn = args[0];
          Map<String, Object> properties = new HashMap<String, Object>();
          properties.put(ConvertCode.SOURCE_DIR, strDirIn);
          properties.put(DBParams.TABLE, DBParams.JDBC);
          properties.put(DBParams.LOCAL, DBParams.JDBC);
          properties.put(DBParams.REMOTE, DBParams.JDBC);
          Environment env = new Environment(properties);
          MainApplication app = new MainApplication(env, properties, null);
          ProcessRunnerTask task = new ProcessRunnerTask(app, null, properties);
          ConvertCode convert = new ConvertCode(task, null, properties);
          convert.setScanListener(new ImportXMLScanListener(convert, null));
          convert.run();
      }
docs: Main Method.