You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Vincent Massol (JIRA)" <ji...@codehaus.org> on 2005/12/20 16:02:35 UTC
[jira] Moved: (MRESOURCES-2) "No such file or directory" when
resource targetdirectory contains "../" and target/classes does not exist.
[ http://jira.codehaus.org/browse/MRESOURCES-2?page=all ]
Vincent Massol moved MNG-1345 to MRESOURCES-2:
----------------------------------------------
Version: (was: 2.0)
Fix Version: (was: 2.0.1)
Component: (was: maven-resources-plugin)
Workflow: jira (was: Maven)
Key: MRESOURCES-2 (was: MNG-1345)
Project: Maven 2.x Resources Plugin (was: Maven 2)
> "No such file or directory" when resource targetdirectory contains "../" and target/classes does not exist.
> -----------------------------------------------------------------------------------------------------------
>
> Key: MRESOURCES-2
> URL: http://jira.codehaus.org/browse/MRESOURCES-2
> Project: Maven 2.x Resources Plugin
> Type: Bug
> Environment: Linux fails, Windows is fine.
> Reporter: Mark Donszelmann
> Assignee: John Casey
> Priority: Minor
> Attachments: MNG-1345-maven-resources-plugin.patch
>
> Original Estimate: 10 minutes
> Time Spent: 10 minutes
> Remaining: 0 minutes
>
> "No such file or directory" when resource targetdirectory contains "../" and target/classes does not exist.
> example:
> <resource>
> <targetPath>../generated-sources/filter</targetPath>
> <filtering>true</filtering>
> <directory>${basedir}/src/main/java</directory>
> <includes>
> <include>**/*</include>
> </includes>
> </resource>
> since the targetdirectory is relative to "target/classes" (or whatever the setting is to put the class files)
> the plugin fails with a
> "No such file or directory: ....target/classes/../generated-sources/filter/....."
> if target/classes does not exist.
> On Windows it works fine, on Unix it fails.
> Workaround: copy some resources to target/classes first, so that target/classes exists.
--
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org