Uploaded image for project: 'River (Retired)'
  1. River (Retired)
  2. RIVER-302

ClassDep -newdirbehaviour option does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • River_2.1.1
    • River_2.1.2
    • com_sun_jini_tool
    • None
    • All

    Description

      While trying to experiment with the -newdirbehaviour and -inroot options I found a bug in the original ClassDep that prevents these options from executing via the command line options:

      notice the if (args.equals("-newdirbehavior") it should be if (arg.equals(...

      public void setupOptions(String[] args) {
      for (int i = 0; i < args.length ; i++ ) {
      String arg = args[i];
      if (args.equals("-newdirbehavior"))

      { newRootDirBehavior = true; }

      else if (arg.equals("-cp"))

      { i++; setClassPath(args[i]); }

      else if (arg.equals("-files"))

      { setFiles(true); }

      else if ....

      See Also River-272

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            pfirmst Peter Firmstone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified