maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Gier (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MANTRUN-112) Two different kind of copy tasks lead to an error
Date Fri, 02 Jul 2010 06:12:32 GMT

    [ http://jira.codehaus.org/browse/MANTRUN-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226992#action_226992
] 

Paul Gier commented on MANTRUN-112:
-----------------------------------

I wasn't able to reproduce this, are you still having this error?  Which version of Maven
and the antrun plugin are you using?

> Two different kind of copy tasks lead to an error
> -------------------------------------------------
>
>                 Key: MANTRUN-112
>                 URL: http://jira.codehaus.org/browse/MANTRUN-112
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>         Environment: Windows Vista, Java 6
>            Reporter: Linda van der Pal
>         Attachments: ProfilesFromPOM.txt, stacktrace.txt
>
>
> If I use both a copy task that copies a file and renames it:
> <copy file="a" tofile="b" />
> AND a copy task that copies a bunch of files to another directory:
> <copy todir="c">
>   <fileset dir="d" />
> </copy>
> I get an exception that tells me I can't use both tofile and todir. Since I don't use
them both in the same task, this should not happen. I'll include both the stacktrace and the
profile that I've put in my POM to test this in attachments.

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

        

Mime
View raw message