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

Forge does not resolve the tilde slash (~/) denoting a user home directory correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta5
    • None
    • None
    • None
    • Hide

      This is how I produced this issue:
      1. Downloaded windup source into my ~/Gitrepos/windup (/home/sgilda/Gitrepos/windup) directory.
      2. Built the windup source.
      3. Installed Windup into Forge following the steps here: https://github.com/windup/windup/wiki/Execute-Windup
      4. Started forge.
      5. Execute Windup using the following command (where 'test-files/' is relative to the path where the forge command is executed):
      windup-migrate-app --input test-files/spring-small-example.war --output ~/temp/windup-report-01 --packages org.springframework

      This results in following directory structure:
      /GitRepos/windup//temp/windup-report-01/...

      I expected to see:
      ~/temp/windup-report-01/...
      Similar Issues:
      Show 10 results

      Show
      This is how I produced this issue: 1. Downloaded windup source into my ~/Gitrepos/windup (/home/sgilda/Gitrepos/windup) directory. 2. Built the windup source. 3. Installed Windup into Forge following the steps here: https://github.com/windup/windup/wiki/Execute-Windup 4. Started forge. 5. Execute Windup using the following command (where 'test-files/' is relative to the path where the forge command is executed): windup-migrate-app --input test-files/spring-small-example.war --output ~/temp/windup-report-01 --packages org.springframework This results in following directory structure: /GitRepos/windup//temp/windup-report-01/... I expected to see: ~/temp/windup-report-01/... Similar Issues: Show 10 results

      When specifying the `~/` (tilde slash) in a path, the Linux "shortcut" to denote a user's home directory, Forge treats it as a character and creates a directory named '' relative to the directory where you run the 'forge' command.

            sgilda_jira Sande Gilda (Inactive)
            sgilda_jira Sande Gilda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: