Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.2.1
-
None
-
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"
-
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
Attachments
Issue Links
- is related to
-
NPANDAY-341 command execution fails if paths with space
- Resolved