[Issue 2628] New - Hudson stripping slashes from Maven goals

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 2628] New - Hudson stripping slashes from Maven goals

fjgilroy
https://hudson.dev.java.net/issues/show_bug.cgi?id=2628
                 Issue #|2628
                 Summary|Hudson stripping slashes from Maven goals
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P1
            Subcomponent|maven2
             Assigned to|issues@hudson
             Reported by|fjgilroy






------- Additional comments from [hidden email] Mon Nov 17 19:36:08 +0000 2008 -------
After upgrading from 1.180 to 1.262 we've noticed that the goals under "Build ->
Invoke Top Level Maven Targets" in the job configuration screen are being
stripped of un-escaped slashes.  For example, prior to the upgrade this was
acceptable:

-Djboss.home=C:\jboss-4.2.1.GA clean install cargo:deploy

After the upgrade this was passed to maven like the following: (notice no slash)

-Djboss.home=C:jboss-4.2.1.GA clean install cargo:deploy

This caused jboss to hang for us during the deploy.  After some trial and error
we discovered that the following resolved the issue:

-Djboss.home=C:\\jboss-4.2.1.GA clean install

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 2628] Unix shell escape handling is confusing for Windows users

Kohsuke Kawaguchi
Administrator
https://hudson.dev.java.net/issues/show_bug.cgi?id=2628



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                 Summary|Hudson stripping slashes f|Unix shell escape handling
                        |rom Maven goals           | is confusing for Windows
                        |                          |users
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Sun Jan 11 18:47:43 +0000 2009 -------
This is because Hudson does the same escape handling like Unix shell does, which
is necessary for handling whitespace and other things correctly, yet this is
certainly confusing for Windows users who are not used to this.

We don't want to change the handling based on what the current OS is (and given
Hudson's distributed nature, such a notion is not well-defined anyway.)

So I'm just wondering how best to proceed.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 2628] Unix shell escape handling is confusing for Windows users

Kohsuke Kawaguchi
Administrator
In reply to this post by fjgilroy
https://hudson.dev.java.net/issues/show_bug.cgi?id=2628



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
                Priority|P1                        |P3
--------------------------------------------------------------------------------
              Resolution|                          |WONTFIX
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Thu Jul  9 20:43:13 +0000 2009 -------
Tentatively closing as WONTFIX.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]