Copying directories fails if the directory contains files with embedded spaces 
in the name.
-------------------------------------------------------------------------------------------

                 Key: MUNIX-7
                 URL: http://jira.codehaus.org/browse/MUNIX-7
             Project: Maven 2.x Unix Plugin
          Issue Type: Bug
    Affects Versions:  1.0-alpha-3
         Environment: java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Maven version: 2.0.10
OS name: "linux" version: "2.6.27.19-78.2.30.fc9.i686.pae" arch: "i386" Family: 
"unix"

            Reporter: Tron Hvaring


The following snippet from pom.xml

          <assembly>
            <copy-directory>
              <from>src/main/unix/files</from>
              <to>${rpm.path}/</to>
            </copy-directory>

produces the following output:

....

error: Installed (but unpackaged) file(s) found:
   /usr/local/cb/docs/CB Release Notes.pdf
   /usr/local/cb/docs/CB and LD Operation and Deployment Guide.pdf
    Two files on one line: /usr/local/cb/docs/CB
    File must begin with "/": Release


RPM build errors:
    Two files on one line: /usr/local/cb/docs/CB
    File must begin with "/": Notes.pdf
    Two files on one line: /usr/local/cb/docs/CB
    File must begin with "/": and
    Two files on one line: /usr/local/cb/docs/CB
    File must begin with "/": LD
    Two files on one line: /usr/local/cb/docs/CB
    File must begin with "/": Operation
    Two files on one line: /usr/local/cb/docs/CB
    File must begin with "/": and
    Two files on one line: /usr/local/cb/docs/CB
    File must begin with "/": Deployment
    Two files on one line: /usr/local/cb/docs/CB
    File must begin with "/": Guide.pdf
    Installed (but unpackaged) file(s) found:
   /usr/local/cb/docs/CB Release Notes.pdf
   /usr/local/cb/docs/CB and LD Operation and Deployment Guide.pdf

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to create package.

Embedded error: Command 'rpmbuild' returned a non-null exit code: 1


-- 
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