How can I rename a file or directory as a part of my installation?

asked 12 Sep '11, 08:06

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%


You can rename a file or directory as part of the installation process by using a <renameFile> action, as shown in the following example:

 <renameFile>
   <origin>${installdir}/conf/myfile.template</origin>
   <destination>${installdir}/conf/myfile.conf</destination>
 </renameFile>
link

answered 12 Sep '11, 08:07

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×40
×4

Asked: 12 Sep '11, 08:06

Seen: 1,579 times

Last updated: 12 Sep '11, 08:07