NPanday unusable under linux
----------------------------
Key: NPANDAY-337
URL: https://issues.apache.org/jira/browse/NPANDAY-337
Project: NPanday
Issue Type: Bug
Components: Maven Plugins
Affects Versions: 1.2.1
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"
Reporter: Vladimir Tsanev
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.