{exec.args} should support embedded spaces in ExecMojo
------------------------------------------------------

                 Key: MEXEC-37
                 URL: http://jira.codehaus.org/browse/MEXEC-37
             Project: Maven 2.x Exec Plugin
          Issue Type: Improvement
    Affects Versions: 1.1-beta-1
            Reporter: Robert Egan


>From the source code of the execute() method

            getLog().debug( "got arguments from system properties: " + argsProp 
);

            StringTokenizer strtok = new StringTokenizer( argsProp, " " );
            while ( strtok.hasMoreTokens() )
            {
                commandArguments.add( strtok.nextToken() );
            }

It's not an issue for my project because I can define the input so that spaces 
are not allowed. But that may not be the case for all users.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to