Package com.uic.ase.proj.xbn.programs

Examples of com.uic.ase.proj.xbn.programs.UtilCommandLine


      opts.addOption(optOutputFile);
      opts.addOption(optSubDirLvls);
      opts.addOption(optPkgPrefxs);
      opts.addOption(optDbgFile);

      UtilCommandLine ucl = new UtilCommandLine(opts, 80,
        "xbn.programs.ReportPackageDependencies",
        null,
        "\nFor documentation on many of these parameters, see the documentation for Utility.getPackageDependencies().",
        true);

      CommandLine cl = ucl.getCommandLine(as_cmdLineParams);

      Outputter optrDbg = ucl.getOSDOOrOSDOAndFile("dbgfile", false);
      String sOutputFile = cl.getOptionValue("outfile");
      String sDirToAnalyze = cl.getOptionValue("dir2nlz");
      int iSubDirLevels = ucl.getInt("subdirlvls", -1);
      String sTmplDir = cl.getOptionValue("tmpldir");
      String sPkgPrefixes = cl.getOptionValue("pkgprfxs");
    //Prepare for testing and get command line parameters...END

    if(iSubDirLevels == 0)  {
View Full Code Here


      opts.addOption(optXMsgOTF);
      opts.addOption(optVrfLnkTrgt);
      opts.addOption(optPkgPrefx);
      opts.addOption(optOutputFile);

      UtilCommandLine ucl = new UtilCommandLine(opts, 80,
        "xbn.programs.ReportBadJDLinkCodes",
        null,
        "\nFor documentation on these parameters, see the documentation for UtilJDLCode.reportJDLinkCodeErrors().",
        true);

      CommandLine cl = ucl.getCommandLine(as_cmdLineParams);

      String sDocletClassMap = cl.getOptionValue("dcm");
      boolean bAnalyzeJDLCs = cl.hasOption("nlzjdlcs");
      boolean bReportAllSCLs = cl.hasOption("scl");
      String sSourceCodeBaseDir = cl.getOptionValue("srcbase", null);
      String sRelUrlJDToSourceBases = cl.getOptionValue("rujd2sib");
      boolean bPrintXOnTheFly = cl.hasOption("xotf");
      boolean bVerifyLinkTargetsExist = cl.hasOption("vltx");
      Outputter optr = ucl.getOSDOOrOSDOAndFile("outfile", false);
      String sDirToAnalyze = cl.getOptionValue("dir2nlz");
      String sPkgPrefix = cl.getOptionValue("pkgpref", null);
    //Prepare, set and get command line parameters...END

    (new UtilJDLCode()).reportJDLinkCodeErrors(sDocletClassMap, sDirToAnalyze, bAnalyzeJDLCs, sSourceCodeBaseDir, sRelUrlJDToSourceBases, bReportAllSCLs, bVerifyLinkTargetsExist, bPrintXOnTheFly, sPkgPrefix, optr.getOWriter());
View Full Code Here

TOP

Related Classes of com.uic.ase.proj.xbn.programs.UtilCommandLine

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.