Isaak-
copy
<plugin> <artifactId>maven-antrun-plugin</artifactId>
<executions> <execution> <configuration>
<tasks> <copy todir="${new.folder}">
<fileset dir="${old.folder}"> <exclude name="**/*.java"/>
</fileset> </copy> </tasks>
</configuration> </execution> </executions> </plugin>and
then delete the old.folder <plugin>
<artifactId>maven-antrun-plugin</artifactId> <executions>
<execution> <phase> <!-- a lifecycle phase --> </phase>
<configuration> <tasks> <delete
dir="${old.folder}"/> </tasks> </configuration>
</execution> </executions> </plugin>
http://maven.apache.org/plugins/maven-antrun-plugin/usage.html
(more more work but it will accomplish the objective..)
Anyone else?Martin______________________________________________ Disclaimer and
confidentiality note Everything in this e-mail and any attachments relates to
the official business of Sender. This transmission is of a confidential nature
and Sender does not endorse distribution to any party other than intended
recipient. Sender does not necessarily endorse content contained within this
transmission. > Date: Mon, 4 Aug 2008 07:27:21 -0700> From: [EMAIL PROTECTED]>
To: [email protected]> Subject: rename files in directory and
subdirectory> > > Hello,> > I have a directory with some subdirectories (and
they have also> subdirectories). They contain about 260 files. I need to rename
some of the> files. I don't want to rename every file separate. Is there a ant
way to do> this?> > I looked up at ant move, but I think its not possible with
the move task.> Could you please help me?> > regards Isaac> -- > View this
message in context:
http://www.nabble.com/rename-files-in-directory-and-subdirectory-tp18812315p18812315.html>
Sent from the Maven - Users mailing list archive at Nabble.com.> > >
---------------------------------------------------------------------> To
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL
PROTECTED]>
_________________________________________________________________
Reveal your inner athlete and share it with friends on Windows Live.
http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us