Uploaded image for project: 'Alias Maven Plugin'
  1. Alias Maven Plugin
  2. ALIASMP-8

Escape Windows Environment Variables

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • normal
    • 0.3.3
    • 0.3.2
    • Alias-Mojo
    • Operating System: All
      Platform: All

    Description

      In a windows environment the environment variables are resolved on displaying the help. This makes (e.g. for the PATH) the help less readable.

      j7 = set JAVA_HOME="D:\java\edition\jdk1.7.0" ;; set PATH=D:\java\edition\jdk1
      .7.0\bin;C:\Windows\system32;C:\Windows; ...
      ...
      ...

      Therefore the variables have to be escaped like this:

      j7 = set JAVA_HOME="JAVA_HOME_7";; set PATH=JAVA_HOME_7\bin;PATH

      Attachments

        Activity

          People

            robert.reiner Robert Reiner
            robert.reiner Robert Reiner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: