Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-809

Bootstrap doesn't process arguments properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.5.0.Final
    • None
    • None
    • None

    Description

      Try e.g. windup.sh --target eap --keepWorkDirs
      This will end up with "keepWorkDirs" == null and "target" == [eap, --keepWorkDirs].

      It used to work but now there's this buggy code:

              for (int i = 0; i < arguments.size(); i++)
              {
                  final String arg = arguments.get(i);
                  if (unknownArgs.contains(arg))
                      arguments.remove(i);
              }
      

      Attachments

        Activity

          People

            ozizka_jira Ondrej Zizka (Inactive)
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: