When using a Mapping.Source.Destination for a Mapping.directory that does not 
yet exists, get IO Exception
----------------------------------------------------------------------------------------------------------

                 Key: MOJO-1385
                 URL: http://jira.codehaus.org/browse/MOJO-1385
             Project: Mojo
          Issue Type: Bug
          Components: rpm
            Reporter: Brett Okken



An entry in the pom such as:
                      ...
                        <mapping>
                            <directory>/usr/local/apache2/libexec</directory>
                                <sources>
                                    <source>
                                        
<location>${project.build.directory}/work/connector/x86_64/mod_jk-1.2.28-linux-x86_64.so</location>
                                        
<targetArchitecture>x86_64</targetArchitecture>
                                        
<destination>mod_jk-1.2.28.so</destination>
                                    </source>
                       ...

Will fail if the <directory> was not previously defined. It should create the 
directory if needed.

The exception is: No such file or directory

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