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