[ 
http://jira.codehaus.org/browse/MRESOURCES-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann updated MRESOURCES-32:
----------------------------------------

    Attachment: resource-directory.patch

Attached patch to fix.

> calls to DirectoryScanner.setBasedir(String) fail in embedded environment
> -------------------------------------------------------------------------
>
>                 Key: MRESOURCES-32
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-32
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: maven embedded (2.1-SNAPSHOT) in mevenide/netbeans 2.2
>            Reporter: Milos Kleint
>            Priority: Critical
>         Attachments: resource-directory.patch
>
>
> when the user declares a resource with relative path, eg. "src/myresources2", 
> then the build fails to process the resource correctly. I've traced that back 
> to the DirectoryScanner.setBasedir(String) method which will not construct a 
> path relative to the pom file, but to the directory where the IDE was started.

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

        

Reply via email to