Uploaded image for project: 'JBoss Server Migration Tool'
  1. JBoss Server Migration Tool
  2. CMTOOL-388

The bat and ps1 scripts should distinguish between java options and tool options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 36.0.0.Final
    • 35.0.1.Final
    • None
    • None

      When calling the migration tool with additional java arguments like -Djboss.server.migration.domain.skip=true, the bat and ps1 script do not correctly pass these options to the java invocation.

      The bat and ps1 scripts should replicate the sh script behavior and sort all script arguments into tool options and java options and pass them to the java invocation correctly.

      Example invocation:

      jboss-server-migration.bat --source C:\path\to\jboss_old --target C:\path\to\jboss_new --non-interactive -Djboss.server.migration.domain.skip=true 
      

      results in:

      Unrecognized option: -Djboss.server.migration.domain.skip=true
      

      while it should be accepted and passed as a java system parameter.

              thofman Tomas Hofman
              thofman Tomas Hofman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: