Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-337

NPanday unusable under linux

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.4-incubating
    • Component/s: Maven Plugins
    • Labels:
      None
    • Environment:

      Apache Maven 2.2.1 (rdebian-4)
      Java version: 1.6.0_22
      OS name: "linux" version: "2.6.35-22-generic" arch: "amd64" Family: "unix"

    • Codeplex ID:
      14542

      Description

      Hi, I want integrate npanday in our build process but I have problems using it under linux. The problems seems to be in the dotneet-executable component which tries to do some strange escaping and finally fails since the Runtime implementation parses the command using StringTokenizer which does not repects any escaping when splititng arguments. so
      /bin/sh -c "gmcs @/path/to/my/reposnsefile.rsp"

      is actuallly splitted into this four parameters:

      /bin/sh
      -c
      "gmcs
      @/path/to/my/reposnsefile.rsp"

      Which cannot be interpreted by the shell.

      Probably you should leave the plexus commandline shell to take care of escapeing.

      I did not tried this on windows yet, but for linux I provide a patch that works for me, at least to compile my modules.

        Attachments

        1. dotnet-executable.patch
          2 kB
          Vladimir Tsanev

          Issue Links

            Activity

              People

              • Assignee:
                apadilla Adelita Padilla
                Reporter:
                tsachev Vladimir Tsanev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: